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_storageList HTTP/1.1
Host: sdk.lovettcommercial.com
Content-Type: application/xml
Content-Length: length
<post_storageList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TenantSDK.post.admin.storage">
<email>String</email>
<policy_yn>false</policy_yn>
<token>String</token>
<tokensecret>String</tokensecret>
</post_storageList>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<post_storageListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TenantSDK.post.admin.storage">
<list>
<storageInfo>
<archive_yn>false</archive_yn>
<creaby>String</creaby>
<creadate>String</creadate>
<filename>String</filename>
<filesize>0</filesize>
<filetype>String</filetype>
<fileurl>String</fileurl>
<idnumber>String</idnumber>
<modiby>String</modiby>
<modidate>String</modidate>
<policy_yn>false</policy_yn>
</storageInfo>
</list>
<message>String</message>
<result>0</result>
</post_storageListResponse>