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_tenant_notificationList HTTP/1.1
Host: sdk.lovettcommercial.com
Content-Type: application/xml
Content-Length: length
<post_tenant_notificationList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TenantSDK.post.admin.storage">
<email>String</email>
<token>String</token>
<tokensecret>String</tokensecret>
</post_tenant_notificationList>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<post_tenant_notificationListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TenantSDK.post.admin.storage">
<list xmlns:d2p1="http://schemas.datacontract.org/2004/07/TenantSDK.post">
<d2p1:post_notifications2>
<d2p1:alias>String</d2p1:alias>
<d2p1:creaby>String</d2p1:creaby>
<d2p1:creadate>0001-01-01T00:00:00</d2p1:creadate>
<d2p1:files>
<d2p1:post_notifications2_files>
<d2p1:creaby>String</d2p1:creaby>
<d2p1:creadate>String</d2p1:creadate>
<d2p1:filename>String</d2p1:filename>
<d2p1:filesize>0</d2p1:filesize>
<d2p1:filetype>String</d2p1:filetype>
<d2p1:fileurl>String</d2p1:fileurl>
<d2p1:idnumber>0</d2p1:idnumber>
<d2p1:idpost_notifications2>0</d2p1:idpost_notifications2>
</d2p1:post_notifications2_files>
</d2p1:files>
<d2p1:fileyn>false</d2p1:fileyn>
<d2p1:full_message>String</d2p1:full_message>
<d2p1:idcia>String</d2p1:idcia>
<d2p1:idnumber>0</d2p1:idnumber>
<d2p1:importantyn>false</d2p1:importantyn>
<d2p1:list>
<d2p1:post_notifications2_list>
<d2p1:idnumber>0</d2p1:idnumber>
<d2p1:idpost_notifications2>0</d2p1:idpost_notifications2>
<d2p1:idtenant1>0</d2p1:idtenant1>
<d2p1:read_by>String</d2p1:read_by>
<d2p1:read_date>0001-01-01T00:00:00</d2p1:read_date>
<d2p1:read_yn>false</d2p1:read_yn>
<d2p1:sendto>String</d2p1:sendto>
<d2p1:tenantName>String</d2p1:tenantName>
</d2p1:post_notifications2_list>
</d2p1:list>
<d2p1:message>String</d2p1:message>
<d2p1:sendto>String</d2p1:sendto>
</d2p1:post_notifications2>
</list>
<message>String</message>
<result>0</result>
</post_tenant_notificationListResponse>