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/CheckInAsset_V1 HTTP/1.1
Host: equipstage3.e-isg.com
Content-Type: application/xml
Content-Length: length
<CheckInAsset_V1 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eQuipModel">
<AssetCheckInOutID>String</AssetCheckInOutID>
<Asset_ID_Internal>String</Asset_ID_Internal>
<UserID>String</UserID>
<asset>
<Activity_ID>0</Activity_ID>
<AssetSerialNo>String</AssetSerialNo>
<Asset_ID>0</Asset_ID>
<Asset_ID_Internal>String</Asset_ID_Internal>
<AssignTo>String</AssignTo>
<Assigned_By>String</Assigned_By>
<CheckInDate>0001-01-01T00:00:00</CheckInDate>
<CheckOutDate>0001-01-01T00:00:00</CheckOutDate>
<DueDate>0001-01-01T00:00:00</DueDate>
<Email>String</Email>
<ModifiedOn>0001-01-01T00:00:00</ModifiedOn>
<Phone>String</Phone>
<PrimaryCustodian>String</PrimaryCustodian>
<PropertyPassID_Internal>String</PropertyPassID_Internal>
<PropertyPassItemID_Internal>String</PropertyPassItemID_Internal>
<PropertyPass_ID>0</PropertyPass_ID>
<Quantity>0</Quantity>
<ReimbursementPrice>0</ReimbursementPrice>
<Remarks>String</Remarks>
<ReserveFrom>0001-01-01T00:00:00</ReserveFrom>
<ReserveTo>0001-01-01T00:00:00</ReserveTo>
<SecondaryCustodian>String</SecondaryCustodian>
<SiteIDInternal>String</SiteIDInternal>
</asset>
</CheckInAsset_V1>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">false</boolean>