HTTP + SOAP12
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /soap12 HTTP/1.1
Host: api.kidkare.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<LoginRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KidKare.Api.Requests.Login">
<provider xmlns="http://schemas.servicestack.net/types">String</provider>
<State xmlns="http://schemas.servicestack.net/types">String</State>
<oauth_token xmlns="http://schemas.servicestack.net/types">String</oauth_token>
<oauth_verifier xmlns="http://schemas.servicestack.net/types">String</oauth_verifier>
<UserName xmlns="http://schemas.servicestack.net/types">String</UserName>
<Password xmlns="http://schemas.servicestack.net/types">String</Password>
<RememberMe xmlns="http://schemas.servicestack.net/types">false</RememberMe>
<Continue xmlns="http://schemas.servicestack.net/types">String</Continue>
<nonce xmlns="http://schemas.servicestack.net/types">String</nonce>
<uri xmlns="http://schemas.servicestack.net/types">String</uri>
<response xmlns="http://schemas.servicestack.net/types">String</response>
<qop xmlns="http://schemas.servicestack.net/types">String</qop>
<nc xmlns="http://schemas.servicestack.net/types">String</nc>
<cnonce xmlns="http://schemas.servicestack.net/types">String</cnonce>
<BasicAuthToken>String</BasicAuthToken>
<IsApim>false</IsApim>
<LoginType>String</LoginType>
<Token>String</Token>
<VerifyEmail>String</VerifyEmail>
</LoginRequest>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<AuthResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
<SessionId>String</SessionId>
<UserName>String</UserName>
<ReferrerUrl>String</ReferrerUrl>
<ResponseStatus>
<ErrorCode>String</ErrorCode>
<Message>String</Message>
<StackTrace>String</StackTrace>
<Errors>
<ResponseError>
<ErrorCode>String</ErrorCode>
<FieldName>String</FieldName>
<Message>String</Message>
</ResponseError>
</Errors>
</ResponseStatus>
</AuthResponse>
</soap12:Body>
</soap12:Envelope>