To override the Content-type in your clients, use the 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/post_pm_login HTTP/1.1
Host: sdk.lovettcommercial.com
Content-Type: application/xml
Content-Length: length
<post_pm_login xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TenantSDK.post.login">
<appversion>String</appversion>
<appyn>false</appyn>
<devicetoken>String</devicetoken>
<email>String</email>
<iosyn>String</iosyn>
<password>String</password>
<versioncode>String</versioncode>
<webyn>String</webyn>
</post_pm_login>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<post_pm_loginResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TenantSDK.post.login">
<access_xa>String</access_xa>
<access_xd>String</access_xd>
<access_xfv>String</access_xfv>
<access_xv>String</access_xv>
<activeyn>false</activeyn>
<adminyn>String</adminyn>
<cAddress>
<cAddressDat>
<address>String</address>
<besttime>String</besttime>
<closed>String</closed>
<idcia>String</idcia>
<idcity>String</idcity>
<idproject>String</idproject>
<namecity>String</namecity>
<ownername>String</ownername>
<verified>String</verified>
</cAddressDat>
</cAddress>
<found>String</found>
<idcia>String</idcia>
<idproject>String</idproject>
<level>String</level>
<mastercompany>String</mastercompany>
<message>String</message>
<name>String</name>
<serverdate>String</serverdate>
<tenantrequest>String</tenantrequest>
<token>String</token>
<tokensecret>String</tokensecret>
<userid>String</userid>
<username>String</username>
</post_pm_loginResponse>