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/GetCurrentEventsOption HTTP/1.1
Host: equipstage3.e-isg.com
Content-Type: application/xml
Content-Length: length
<GetCurrentEventsOption xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eQuipModel">
<UserID>String</UserID>
</GetCurrentEventsOption>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<GetCurrentEventsOptionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eQuipModel">
<CurrentEventsOption>0</CurrentEventsOption>
<EmailTemplateData xmlns:d2p1="http://schemas.datacontract.org/2004/07/eQuip.Domain.MaintenanceManagement">
<d2p1:MaintenanceManagementNotificationEmailTemplate>
<d2p1:EmailTemplateID>0</d2p1:EmailTemplateID>
<d2p1:LastModifiedBy>String</d2p1:LastModifiedBy>
<d2p1:LastModifiedDate>0001-01-01T00:00:00</d2p1:LastModifiedDate>
<d2p1:NotificationType>String</d2p1:NotificationType>
<d2p1:Uuid>00000000-0000-0000-0000-000000000000</d2p1:Uuid>
</d2p1:MaintenanceManagementNotificationEmailTemplate>
</EmailTemplateData>
<GenerateWorkOrderPerAsset>false</GenerateWorkOrderPerAsset>
<GenerateWorkOrderPerAssetID>String</GenerateWorkOrderPerAssetID>
</GetCurrentEventsOptionResponse>