New Dispatch
This API endpoint allows you to generate and attach units to a new dispatch call.
New Dispatch
Request Body
Name
Type
Description
NEW DISPATCH CREATED - ID: {CallId}INVALID REQUEST TYPE
INVALID COMMUNITY ID
API IS NOT ENABLED FOR THIS COMMUNITY
INVALID API KEY{
"id": "YOUR_COMMUNITY_ID",
"key": "YOUR_API_KEY",
"type": "NEW_DISPATCH",
"data": [
{
"serverId": 1, // Default 1 - See guide on setting up multiple servers
"origin": 0, // See ORIGIN Enum
"status": 0, // See STATUS Enum
"priority": 1, // 1, 2, or 3
"block": "123",
"address": "4234 E. Example Ave",
"postal": "456",
"title": "Traffic Stop",
"code": "10-39 - Traffic Stop",
"primary": 123, // Primary unit identifier on the call
"trackPrimary": true, // Track the primary unit in-game with the Dispatch Notify plugin
"description": "Traffic Stop - Blue Sedan - XP123BS",
"notes": [], // Array of call note objects
"metaData": {
"someKey": "someValue" // OPTIONAL: metaData for API custom storage
},
"units": ["STEAM:1234"], // Array of API IDs
"deleteAfterMinutes": 30 // OPTIONAL: Delete record after X minutes (temporary record)
},
]
}Enumeration Values
Note Object
Last updated
Was this helpful?

