BNN Api

<back to all web services

SearchJobsRequest

Searches jobs with more options.

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

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

HTTP + XML

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

POST /xml/reply/SearchJobsRequest HTTP/1.1 
Host: api.dev.bnn.us 
Content-Type: application/xml
Content-Length: length

<SearchJobsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bnn.Api.Entities.Requests">
  <Address>String</Address>
  <Box>String</Box>
  <City>String</City>
  <Count>0</Count>
  <County>String</County>
  <Incident>String</Incident>
  <JobID>0</JobID>
  <MyTZ>0</MyTZ>
  <Reporters>String</Reporters>
  <Start>0</Start>
  <State>String</State>
  <Story>String</Story>
  <UD>false</UD>
  <ZIP>String</ZIP>
</SearchJobsRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<JobsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bnn.Api.Entities.Responses">
  <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:ErrorCode>String</d2p1:ErrorCode>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:StackTrace>String</d2p1:StackTrace>
    <d2p1:Errors>
      <d2p1:ResponseError>
        <d2p1:ErrorCode>String</d2p1:ErrorCode>
        <d2p1:FieldName>String</d2p1:FieldName>
        <d2p1:Message>String</d2p1:Message>
      </d2p1:ResponseError>
    </d2p1:Errors>
  </ResponseStatus>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Bnn.Api.Entities.Dto">
    <d2p1:JobDto>
      <d2p1:Address>String</d2p1:Address>
      <d2p1:Box>String</d2p1:Box>
      <d2p1:City>String</d2p1:City>
      <d2p1:County>String</d2p1:County>
      <d2p1:Deleted>false</d2p1:Deleted>
      <d2p1:Entrapment>false</d2p1:Entrapment>
      <d2p1:Escalation>0</d2p1:Escalation>
      <d2p1:Fatality>false</d2p1:Fatality>
      <d2p1:Filter>0</d2p1:Filter>
      <d2p1:FireHazmat>0</d2p1:FireHazmat>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:Incident>String</d2p1:Incident>
      <d2p1:IncidentID>0</d2p1:IncidentID>
      <d2p1:IncidentType>0</d2p1:IncidentType>
      <d2p1:International>false</d2p1:International>
      <d2p1:JobDate>String</d2p1:JobDate>
      <d2p1:JobID>0</d2p1:JobID>
      <d2p1:JobType>0</d2p1:JobType>
      <d2p1:Lat>String</d2p1:Lat>
      <d2p1:LocalTime>String</d2p1:LocalTime>
      <d2p1:Lon>String</d2p1:Lon>
      <d2p1:MCI>false</d2p1:MCI>
      <d2p1:Media>false</d2p1:Media>
      <d2p1:Medivac>false</d2p1:Medivac>
      <d2p1:National>false</d2p1:National>
      <d2p1:Next>
        <d2p1:JobDto>
          <d2p1:Address>String</d2p1:Address>
          <d2p1:Box>String</d2p1:Box>
          <d2p1:City>String</d2p1:City>
          <d2p1:County>String</d2p1:County>
          <d2p1:Deleted>false</d2p1:Deleted>
          <d2p1:Entrapment>false</d2p1:Entrapment>
          <d2p1:Escalation>0</d2p1:Escalation>
          <d2p1:Fatality>false</d2p1:Fatality>
          <d2p1:Filter>0</d2p1:Filter>
          <d2p1:FireHazmat>0</d2p1:FireHazmat>
          <d2p1:Id>0</d2p1:Id>
          <d2p1:Incident>String</d2p1:Incident>
          <d2p1:IncidentID>0</d2p1:IncidentID>
          <d2p1:IncidentType>0</d2p1:IncidentType>
          <d2p1:International>false</d2p1:International>
          <d2p1:JobDate>String</d2p1:JobDate>
          <d2p1:JobID>0</d2p1:JobID>
          <d2p1:JobType>0</d2p1:JobType>
          <d2p1:Lat>String</d2p1:Lat>
          <d2p1:LocalTime>String</d2p1:LocalTime>
          <d2p1:Lon>String</d2p1:Lon>
          <d2p1:MCI>false</d2p1:MCI>
          <d2p1:Media>false</d2p1:Media>
          <d2p1:Medivac>false</d2p1:Medivac>
          <d2p1:National>false</d2p1:National>
          <d2p1:Next>
            <d2p1:JobDto>
              <d2p1:Address>String</d2p1:Address>
              <d2p1:Box>String</d2p1:Box>
              <d2p1:City>String</d2p1:City>
              <d2p1:County>String</d2p1:County>
              <d2p1:Deleted>false</d2p1:Deleted>
              <d2p1:Entrapment>false</d2p1:Entrapment>
              <d2p1:Escalation>0</d2p1:Escalation>
              <d2p1:Fatality>false</d2p1:Fatality>
              <d2p1:Filter>0</d2p1:Filter>
              <d2p1:FireHazmat>0</d2p1:FireHazmat>
              <d2p1:Id>0</d2p1:Id>
              <d2p1:Incident>String</d2p1:Incident>
              <d2p1:IncidentID>0</d2p1:IncidentID>
              <d2p1:IncidentType>0</d2p1:IncidentType>
              <d2p1:International>false</d2p1:International>
              <d2p1:JobDate>String</d2p1:JobDate>
              <d2p1:JobID>0</d2p1:JobID>
              <d2p1:JobType>0</d2p1:JobType>
              <d2p1:Lat>String</d2p1:Lat>
              <d2p1:LocalTime>String</d2p1:LocalTime>
              <d2p1:Lon>String</d2p1:Lon>
              <d2p1:MCI>false</d2p1:MCI>
              <d2p1:Media>false</d2p1:Media>
              <d2p1:Medivac>false</d2p1:Medivac>
              <d2p1:National>false</d2p1:National>
              <d2p1:Next i:nil="true" />
              <d2p1:Nominated>false</d2p1:Nominated>
              <d2p1:Owner>String</d2p1:Owner>
              <d2p1:PoliceCrime>0</d2p1:PoliceCrime>
              <d2p1:Rating>
                <d2p1:Error>String</d2p1:Error>
                <d2p1:Id>0</d2p1:Id>
                <d2p1:Score>0</d2p1:Score>
                <d2p1:Votes>0</d2p1:Votes>
              </d2p1:Rating>
              <d2p1:Reporters>String</d2p1:Reporters>
              <d2p1:RescueTrauma>0</d2p1:RescueTrauma>
              <d2p1:SeriousInjuries>false</d2p1:SeriousInjuries>
              <d2p1:SmokeWater>0</d2p1:SmokeWater>
              <d2p1:State>String</d2p1:State>
              <d2p1:Story>String</d2p1:Story>
              <d2p1:TZ>0</d2p1:TZ>
              <d2p1:Text>String</d2p1:Text>
              <d2p1:ThirdAlarm>0</d2p1:ThirdAlarm>
              <d2p1:Traffic>0</d2p1:Traffic>
              <d2p1:UD>false</d2p1:UD>
              <d2p1:UniqueID>0</d2p1:UniqueID>
              <d2p1:Weather>0</d2p1:Weather>
              <d2p1:ZIP>String</d2p1:ZIP>
            </d2p1:JobDto>
          </d2p1:Next>
          <d2p1:Nominated>false</d2p1:Nominated>
          <d2p1:Owner>String</d2p1:Owner>
          <d2p1:PoliceCrime>0</d2p1:PoliceCrime>
          <d2p1:Rating>
            <d2p1:Error>String</d2p1:Error>
            <d2p1:Id>0</d2p1:Id>
            <d2p1:Score>0</d2p1:Score>
            <d2p1:Votes>0</d2p1:Votes>
          </d2p1:Rating>
          <d2p1:Reporters>String</d2p1:Reporters>
          <d2p1:RescueTrauma>0</d2p1:RescueTrauma>
          <d2p1:SeriousInjuries>false</d2p1:SeriousInjuries>
          <d2p1:SmokeWater>0</d2p1:SmokeWater>
          <d2p1:State>String</d2p1:State>
          <d2p1:Story>String</d2p1:Story>
          <d2p1:TZ>0</d2p1:TZ>
          <d2p1:Text>String</d2p1:Text>
          <d2p1:ThirdAlarm>0</d2p1:ThirdAlarm>
          <d2p1:Traffic>0</d2p1:Traffic>
          <d2p1:UD>false</d2p1:UD>
          <d2p1:UniqueID>0</d2p1:UniqueID>
          <d2p1:Weather>0</d2p1:Weather>
          <d2p1:ZIP>String</d2p1:ZIP>
        </d2p1:JobDto>
      </d2p1:Next>
      <d2p1:Nominated>false</d2p1:Nominated>
      <d2p1:Owner>String</d2p1:Owner>
      <d2p1:PoliceCrime>0</d2p1:PoliceCrime>
      <d2p1:Rating>
        <d2p1:Error>String</d2p1:Error>
        <d2p1:Id>0</d2p1:Id>
        <d2p1:Score>0</d2p1:Score>
        <d2p1:Votes>0</d2p1:Votes>
      </d2p1:Rating>
      <d2p1:Reporters>String</d2p1:Reporters>
      <d2p1:RescueTrauma>0</d2p1:RescueTrauma>
      <d2p1:SeriousInjuries>false</d2p1:SeriousInjuries>
      <d2p1:SmokeWater>0</d2p1:SmokeWater>
      <d2p1:State>String</d2p1:State>
      <d2p1:Story>String</d2p1:Story>
      <d2p1:TZ>0</d2p1:TZ>
      <d2p1:Text>String</d2p1:Text>
      <d2p1:ThirdAlarm>0</d2p1:ThirdAlarm>
      <d2p1:Traffic>0</d2p1:Traffic>
      <d2p1:UD>false</d2p1:UD>
      <d2p1:UniqueID>0</d2p1:UniqueID>
      <d2p1:Weather>0</d2p1:Weather>
      <d2p1:ZIP>String</d2p1:ZIP>
    </d2p1:JobDto>
  </Data>
</JobsResponse>