BNN Api

<back to all web services

SendJob

Send Job

The following routes are available for this service:
POST/SendJobSendJob

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/SendJob HTTP/1.1 
Host: api.dev.bnn.us 
Content-Type: text/jsv
Content-Length: length

{
	National: False,
	Ud: False,
	State: String,
	County: String,
	AdditionalCounties: 
	[
		String
	],
	City: String,
	Box: String,
	Address: String,
	IncidentType: 0,
	Incident: String,
	Story: String,
	Reporters: String,
	Zip: String,
	Lat: 0,
	Lon: 0,
	JobId: 0,
	FireHazmat: 0,
	RescueTrauma: 0,
	PoliceCrime: 0,
	Traffic: 0,
	SmokeWater: 0,
	Weather: 0,
	ThirdAlarm: 0,
	JobType: Incidnet,
	Escalation: 0,
	Fatality: False,
	Medivac: False,
	Mci: False,
	SeriousInjuries: False,
	Entrapment: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Data: 0,
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String
			}
		]
	}
}