post
/v2/Incidents
Issues one command to the system from the body of the POST.
Request headers
prefer
String
Specify "sync" or "async" to have the server process the request synchronously or asynchronously. If the parameter is omitted, the server will process the request asynchronously.
Example:
prefer_example
Body parameters
TypeString (Enum)
Allowed values:"None""TriggerIncident""ChangeState""PlaceOnHold""ChangePriority""LinkIncidents""UnlinkIncidents""AddComment""ChangeComment""DeleteComment""ChangeDescription""ChangeExternalId""ChangeIncidentType""ChangeLocation""ClearLocation""TakeOwnership""ReleaseOwnership""AddNote""AnswerProcedureStep""TransferIncident""ForwardIncident""AttachEntities""DetachEntities""ChangeAdditionalFields"
REQUEST BODY
{
"Type": "TriggerIncident",
"IncidentTypeId": "e1d88b39-ad18-45b7-943c-acfb6d5bc14e",
"Location": {
"EntityId": "c4b99eb6-3eba-4077-8c16-1d7ed3e8c86c",
"Latitude": 45.478759,
"Longitude": -73.761054
},
"ExternalId": "",
"Comment": "",
"AdditionalFields": [
{
"Name": "Payload1",
"Value": "true"
},
{
"Name": "Payload2",
"Value": "1"
}
]
}
Responses