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/Audit_Asset_Last_Audit_Date HTTP/1.1
Host: equipstage2.e-isg.com
Content-Type: application/xml
Content-Length: length
<Audit_Asset_Last_Audit_Date xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eQuipModel">
<Asset_ID_Internal>String</Asset_ID_Internal>
<UserID>String</UserID>
</Audit_Asset_Last_Audit_Date>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<GetAuditDateReturnResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eQuipModel">
<Audit_Date>0001-01-01T00:00:00</Audit_Date>
<ErrorCode>String</ErrorCode>
</GetAuditDateReturnResponse>