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/FindReservations HTTP/1.1
Host: equipstage2.e-isg.com
Content-Type: application/xml
Content-Length: length
<FindReservations xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eQuipModel">
<SearchCriteriaCollection xmlns:d2p1="http://schemas.datacontract.org/2004/07/eQuip.Domain.Reservation">
<d2p1:SearchParam>
<d2p1:FieldName>String</d2p1:FieldName>
<d2p1:FieldValue />
<d2p1:Operator>String</d2p1:Operator>
</d2p1:SearchParam>
</SearchCriteriaCollection>
<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>
</FindReservations>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<DataSourceResultResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eQuipModel">
<Aggregates />
<Data xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
<IncludeLinkTotal>0</IncludeLinkTotal>
<Total>0</Total>
</DataSourceResultResponse>