Dispatching
Categories:
Return Map Zone Vertices
GET dispatching/mapzonevertices
This endpoint returns each Map Zone, their defined vertices, and the Departments they belong to.
For more information about defining Map Zones in EPASS, view the EPASS Enterprise online help.
Sample: Returning Map Zone Vertices
GET /dispatching/mapzonevertices
{
"Result": {
"Success": true,
"Warning": false,
"HttpStatusCode": 200,
"GeneralMessage": "Returned 4 records.",
"ExceptionMessage": null,
"Keys": [],
"Messages": [],
"Warnings": []
},
"Values": [
{
"Fields": {
"ZoneCode": "SVC1",
"VertexNo": 1,
"Latitude": 40.191856,
"Longitude": -105.08028,
"Department": "DELIVERY"
}
},
{
"Fields": {
"ZoneCode": "SVC1",
"VertexNo": 2,
"Latitude": 40.187103,
"Longitude": -105.082381,
"Department": "DELIVERY"
}
},
{
"Fields": {
"ZoneCode": "SVC1",
"VertexNo": 3,
"Latitude": 40.184111,
"Longitude": -105.078354,
"Department": "DELIVERY"
}
},
{
"Fields": {
"ZoneCode": "SVC1",
"VertexNo": 4,
"Latitude": 40.178873,
"Longitude": -105.075388,
"Department": "DELIVERY"
}
}
Item not found.
Search the Call Count Calendar
POST /dispatching/callcount
This endpoint searches and returns data from EPASS’s Call Count Calendar.
Overview
A business can realistically only make a limited amount of deliveries or service appointments per day. The number of appointments, or “calls”, that can be made on each business day, and in each geographical area (Map Zone), are maintained in the Call Count Calendar.
The endpoint searches through the call count calendar and returns data such as the amount of calls allowed on a specific day, in a specific map zone, the amount of calls already taken, and whether a day is “closed” for additional calls.
Note
See Searching, Paging, and Extended Info for instructions on building search queries.Sample: Searching the Call Count Calendar
POST /dispatching/callcount
"query": {
"callDate": "2022-01-31T00:00:00",
"mapZoneCode": "DELB"
},
"tables": {
"DispCallCount": [
"CallDate",
"CallsAllowed",
"CallsTaken",
"Closed",
"MapZoneCode"
]
}
}
{
"Results": {
"Success": true,
"Warning": false,
"HttpStatusCode": 200,
"GeneralMessage": "Returned 1 record",
"ExceptionMessage": null,
"Keys": [],
"Messages": [],
"Warnings": []
},
"Query": {
"CallDate": "2022-01-31T10:00:00",
"MapZoneCode": "DELB"
},
"DispCallCount": [
{
"Fields": {
"ID": 34871,
"CallDate": "2022-01-31T00:00:00",
"CallsAllowed": 110,
"CallsTaken": 0,
"Closed": false,
"MapZoneCode": "DELB"
}
}
]
}
Feedback
Was this page helpful?
Thank you! Have additional feedback? We would love to hear from you!
Sorry to hear that. Please tell us how we can improve.