BNN Api

<back to all web services

GetCategoryIncidents

Gets Category Incidents

The following routes are available for this service:
GET, POST/GetCategoryIncidents

To override the Content-type in your clients HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsv/reply/GetCategoryIncidents HTTP/1.1 
Host: api.dev.bnn.us 
Content-Type: text/jsv
Content-Length: length

{
	Category: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Data: 
	[
		{
			Id: 0,
			RistId: String,
			Type: 0,
			Description: String,
			IncidentName: String,
			IncidentNameFixed: String,
			IncidentCode: String,
			EscalationLevel: 0,
			FireHazmat: 0,
			RescueTrauma: 0,
			PoliceCrime: 0,
			Traffic: 0,
			SmokeWater: 0,
			Weather: 0,
			ThirdAlarm: 0,
			National: 0,
			International: 0
		}
	],
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String
			}
		]
	}
}