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/oneway/GetAuditPackageListData HTTP/1.1
Host: equipstage2.e-isg.com
Content-Type: application/xml
Content-Length: length
<GetAuditPackageListData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eQuipModel">
<AuditPackageID>String</AuditPackageID>
<UserID>String</UserID>
<filter xmlns:d2p1="http://schemas.datacontract.org/2004/07/Kendo.DynamicLinq">
<d2p1:field>String</d2p1:field>
<d2p1:filters i:nil="true" />
<d2p1:logic>String</d2p1:logic>
<d2p1:operator>String</d2p1:operator>
<d2p1:value />
</filter>
<skip>0</skip>
<sort xmlns:d2p1="http://schemas.datacontract.org/2004/07/Kendo.DynamicLinq" i:nil="true" />
<take>0</take>
</GetAuditPackageListData>