HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/AffiliatedGrantRequest HTTP/1.1
Host: api.kidkare.com
Content-Type: application/xml
Content-Length: length
<AffiliatedGrantRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KidKare.Api.Requests.Login.Impersonate">
<DataForMM xmlns="http://schemas.datacontract.org/2004/07/KidKare.Bll.Models">String</DataForMM>
<IsForMM xmlns="http://schemas.datacontract.org/2004/07/KidKare.Bll.Models">false</IsForMM>
<IsGzip xmlns="http://schemas.datacontract.org/2004/07/KidKare.Bll.Models">false</IsGzip>
<CenterIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>0</d2p1:int>
</CenterIds>
<ClientId>0</ClientId>
<UserId>0</UserId>
</AffiliatedGrantRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<AffiliatedGrantResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KidKare.Api.Requests.Login.Impersonate">
<CurrentCenterIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>0</d2p1:int>
</CurrentCenterIds>
<Granted>0</Granted>
<Revoked>0</Revoked>
<Skipped>0</Skipped>
</AffiliatedGrantResponse>