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: CustomAuth
<?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>
<CustomAuth xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bnn.Api.Entities.Requests">
<Carrier>String</Carrier>
<Continue>String</Continue>
<DeviceId>String</DeviceId>
<Model>String</Model>
<OS>String</OS>
<Password>String</Password>
<RegistrationId>String</RegistrationId>
<RememberMe>false</RememberMe>
<State>String</State>
<Token>String</Token>
<UserName>String</UserName>
<Version>String</Version>
<cnonce>String</cnonce>
<nc>String</nc>
<nonce>String</nonce>
<oauth_token>String</oauth_token>
<oauth_verifier>String</oauth_verifier>
<provider>String</provider>
<qop>String</qop>
<response>String</response>
<uri>String</uri>
</CustomAuth>
</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>
<CustomAuthResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bnn.Api.Entities.Responses">
<SessionId xmlns="http://schemas.servicestack.net/types">String</SessionId>
<UserName xmlns="http://schemas.servicestack.net/types">String</UserName>
<ReferrerUrl xmlns="http://schemas.servicestack.net/types">String</ReferrerUrl>
<ResponseStatus xmlns="http://schemas.servicestack.net/types">
<ErrorCode>String</ErrorCode>
<Message>String</Message>
<StackTrace>String</StackTrace>
<Errors>
<ResponseError>
<ErrorCode>String</ErrorCode>
<FieldName>String</FieldName>
<Message>String</Message>
</ResponseError>
</Errors>
</ResponseStatus>
<Id>0</Id>
<FirstName>String</FirstName>
<LastName>String</LastName>
<Email>String</Email>
<Roles xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</Roles>
<NextStep>String</NextStep>
</CustomAuthResponse>
</soap:Body>
</soap:Envelope>