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/DeleteGanttTasks HTTP/1.1
Host: equipstage3.e-isg.com
Content-Type: application/xml
Content-Length: length
<DeleteGanttTasks xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eQuipModel">
<GanttChartID>0</GanttChartID>
<UserID>String</UserID>
<models>String</models>
</DeleteGanttTasks>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<GanttTask xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eQuipModel">
<ContractNo>String</ContractNo>
<End>0001-01-01T00:00:00</End>
<Expanded>false</Expanded>
<ID>0</ID>
<OrderID>0</OrderID>
<ParentID>0</ParentID>
<PercentComplete>0</PercentComplete>
<ProjectNo>String</ProjectNo>
<Start>0001-01-01T00:00:00</Start>
<Summary>false</Summary>
<Title>String</Title>
</GanttTask>