POST Incident/CreateIncident
API call to create a new incident
Request Information
URI Parameters
None.
Body Parameters
CreateIncidentRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Incident | MMIncident |
Required |
|
| VehicleInfo | MMVehicleInfo |
Required |
Request Formats
application/json, text/json
Sample:
{
"Incident": {
"IncidentType": 0,
"IncidentCategory": 0,
"ReporterName": "sample string 1",
"ReporterContactDetails": "sample string 2",
"OpeningReport": "sample string 3",
"IncidentLocation": "sample string 4",
"IncidentLatitude": 1.1,
"IncidentLongitude": 1.1
},
"VehicleInfo": {
"TargetName": "sample string 1",
"TargetContactNumber": "sample string 2",
"VehicleMake": "sample string 3",
"VehicleRegistration": "sample string 4",
"VehicleModel": "sample string 5",
"VehicleColor": "sample string 6",
"VINNumber": "sample string 7",
"EngineNumber": "sample string 8",
"TrackingDeviceID": "sample string 9"
}
}
Response Information
Resource Description
CreateIncidentResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| IncidentReference | string |
None. |
|
| Success | boolean |
None. |
|
| Messages | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IncidentReference": "sample string 1",
"Success": true,
"Messages": [
"sample string 1",
"sample string 2"
]
}