Create a new service territory
access_token OAuth 2.0 Access Token
In: query
application/json
Service Territory creation payload
Name of the service territory
Project ID associated with this service territory
Display name of the service territory
Array of attributes for this service territory (upserted on create/update)
curl -X POST "https://api-sandbox.fndev.net/api/rest/v2/service-territories" \ -H "Content-Type: application/json" \ -d '{ "name": "Southwest Territory", "project_id": 17705, "display_name": "SW Region", "attributes": [ { "name": "coverage_radius", "value": "50" } ] }'{
"id": "uuid",
"name": "Territory Name",
"service_territory_id": "1",
"project_id": 100,
"tiers": [],
"attributes": [],
"provider_count": 0
}{
"status": 500,
"message": "Operation successful."
}{
"status": 500,
"message": "Operation successful."
}application/json
application/json
application/json
Last updated on
curl -X POST "https://api-sandbox.fndev.net/api/rest/v2/service-territories" \
-H "Content-Type: application/json" \
-d '{
"name": "Southwest Territory",
"project_id": 17705,
"display_name": "SW Region",
"attributes": [
{
"name": "coverage_radius",
"value": "50"
}
]
}'