BNN Api

<back to all web services

JobsSearchAnyRequest

Searches jobs by keyword

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

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

{
	SearchText: String,
	Start: 0,
	Count: 0,
	MyTZ: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Data: 
	[
		{
			Id: 0,
			Deleted: False,
			Nominated: False,
			Filter: 0,
			National: False,
			International: False,
			JobID: 0,
			UniqueID: 0,
			UD: False,
			State: String,
			County: String,
			City: String,
			Address: String,
			IncidentType: 0,
			IncidentID: 0,
			FireHazmat: 0,
			RescueTrauma: 0,
			PoliceCrime: 0,
			Traffic: 0,
			SmokeWater: 0,
			Weather: 0,
			ThirdAlarm: 0,
			Incident: String,
			Story: String,
			Reporters: String,
			JobDate: String,
			LocalTime: String,
			TZ: 0,
			ZIP: String,
			Box: String,
			Lat: String,
			Lon: String,
			JobType: 0,
			Rating: 
			{
				Id: 0,
				Error: String,
				Votes: 0,
				Score: 0
			},
			Media: False,
			Escalation: 0,
			Fatality: False,
			Medivac: False,
			MCI: False,
			SeriousInjuries: False,
			Entrapment: False,
			Owner: String,
			Text: String,
			Next: 
			[
				{
					Id: 0,
					Deleted: False,
					Nominated: False,
					Filter: 0,
					National: False,
					International: False,
					JobID: 0,
					UniqueID: 0,
					UD: False,
					State: String,
					County: String,
					City: String,
					Address: String,
					IncidentType: 0,
					IncidentID: 0,
					FireHazmat: 0,
					RescueTrauma: 0,
					PoliceCrime: 0,
					Traffic: 0,
					SmokeWater: 0,
					Weather: 0,
					ThirdAlarm: 0,
					Incident: String,
					Story: String,
					Reporters: String,
					JobDate: String,
					LocalTime: String,
					TZ: 0,
					ZIP: String,
					Box: String,
					Lat: String,
					Lon: String,
					JobType: 0,
					Rating: 
					{
						Id: 0,
						Error: String,
						Votes: 0,
						Score: 0
					},
					Media: False,
					Escalation: 0,
					Fatality: False,
					Medivac: False,
					MCI: False,
					SeriousInjuries: False,
					Entrapment: False,
					Owner: String,
					Text: String,
					Next: 
					[
						{
							Id: 0,
							Deleted: False,
							Nominated: False,
							Filter: 0,
							National: False,
							International: False,
							JobID: 0,
							UniqueID: 0,
							UD: False,
							State: String,
							County: String,
							City: String,
							Address: String,
							IncidentType: 0,
							IncidentID: 0,
							FireHazmat: 0,
							RescueTrauma: 0,
							PoliceCrime: 0,
							Traffic: 0,
							SmokeWater: 0,
							Weather: 0,
							ThirdAlarm: 0,
							Incident: String,
							Story: String,
							Reporters: String,
							JobDate: String,
							LocalTime: String,
							TZ: 0,
							ZIP: String,
							Box: String,
							Lat: String,
							Lon: String,
							JobType: 0,
							Rating: 
							{
								Id: 0,
								Error: String,
								Votes: 0,
								Score: 0
							},
							Media: False,
							Escalation: 0,
							Fatality: False,
							Medivac: False,
							MCI: False,
							SeriousInjuries: False,
							Entrapment: False,
							Owner: String,
							Text: String
						}
					]
				}
			]
		}
	],
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String
			}
		]
	}
}