Create Service Territory

Changed on

Creates a service territory used for scheduling/dispatch and the GET /jobs filter.service_territory filter. Exactly one of territory_radius, territory_coordinates, or territory_zipcodes is expected, matching territory_type.

post/territory

Request

  • Base URL
    https://dc-region.zuperpro.com/api
  • URL
    https://dc-region.zuperpro.com/api/territory
  • Auth
    API key in header x-api-key

Request body

Response

200

typestring
messagestring

Example response

{
  "type": "success",
  "message": "New Territory Created successfully",
  "data": {
    "territory_uid": "0f4ee337-85c6-472b-a0c9-f471b67f8ea5"
  }
}

Changes