For the complete documentation index, see llms.txt. This page is also available as Markdown.

Regions

Get regions

get
/regions/

This api is used to sync regions with WorkorderApp. Each region record can contain the following data:

Parameter
Description
Required
Type (size)

reg_code

Unique code

Y

Varchar (255)

reg_name

Name of the region.

Y

Varchar (255)

reg_zip_start

Zip start of the region.

N

Integer (11)

reg_zip_end

Zip end of the region.

N

Integer (11)

reg_city

City of the region.

N

Varchar (255)

reg_country

Country of the region.

N

Varchar (255)

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
tokenstringOptionalExample: {{client_token}}
software_tokenstringOptionalExample: {{software_token}}
Responses
200

Response_200

No content

get/regions/
GET /regions/ HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Response_200

No content

Add regions

post
/regions/

This api is used to sync regions with WorkorderApp. Each region record can contain the following data:

Parameter
Description
Required
Type (size)

reg_code

Unique code

Y

Varchar (255)

reg_name

Name of the region.

Y

Varchar (255)

reg_zip_start

Zip start of the region.

N

Integer (11)

reg_zip_end

Zip end of the region.

N

Integer (11)

reg_city

City of the region.

N

Varchar (255)

reg_country

Country of the region.

N

Varchar (255)

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
tokenstringOptionalExample: {{client_token}}
software_tokenstringOptionalExample: {{software_token}}
Responses
200

Response_200

No content

post/regions/
POST /regions/ HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Response_200

No content

Last updated

Was this helpful?