HTTP + SOAP11
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /soap11 HTTP/1.1
Host: api.dev.bnn.us
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: GetMobileUserJobById
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetMobileUserJobById xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bnn.Api.Entities.Requests.Mobile">
<JobId>0</JobId>
<MyTZ>0</MyTZ>
</GetMobileUserJobById>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<MobileUserJob xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bnn.Api.Entities.Responses.Mobile">
<ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types" xmlns="http://schemas.datacontract.org/2004/07/Bnn.Api.Entities.Responses">
<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.Mongo">
<d2p1:Deleted>false</d2p1:Deleted>
<d2p1:Id>String</d2p1:Id>
<d2p1:Job>
<d2p1:AdditionalCounties>String</d2p1:AdditionalCounties>
<d2p1:Address>String</d2p1:Address>
<d2p1:Box>String</d2p1:Box>
<d2p1:City>String</d2p1:City>
<d2p1:County>String</d2p1:County>
<d2p1:DbTime>String</d2p1:DbTime>
<d2p1:Distance>0</d2p1:Distance>
<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: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>0</d2p1:Lat>
<d2p1:LocalTime>String</d2p1:LocalTime>
<d2p1:Lon>0</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:UserJob>
<d2p1:AdditionalCounties>String</d2p1:AdditionalCounties>
<d2p1:Address>String</d2p1:Address>
<d2p1:Box>String</d2p1:Box>
<d2p1:City>String</d2p1:City>
<d2p1:County>String</d2p1:County>
<d2p1:DbTime>String</d2p1:DbTime>
<d2p1:Distance>0</d2p1:Distance>
<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: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>0</d2p1:Lat>
<d2p1:LocalTime>String</d2p1:LocalTime>
<d2p1:Lon>0</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:UserJob>
<d2p1:AdditionalCounties>String</d2p1:AdditionalCounties>
<d2p1:Address>String</d2p1:Address>
<d2p1:Box>String</d2p1:Box>
<d2p1:City>String</d2p1:City>
<d2p1:County>String</d2p1:County>
<d2p1:DbTime>String</d2p1:DbTime>
<d2p1:Distance>0</d2p1:Distance>
<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: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>0</d2p1:Lat>
<d2p1:LocalTime>String</d2p1:LocalTime>
<d2p1:Lon>0</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:UserJob i:nil="true" />
</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:UserJob>
</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:UserJob>
</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:Job>
<d2p1:Unread>false</d2p1:Unread>
<d2p1:Username>String</d2p1:Username>
</Data>
</MobileUserJob>
</soap:Body>
</soap:Envelope>