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/GetAssetReservation HTTP/1.1
Host: equipstage3.e-isg.com
Content-Type: application/xml
Content-Length: length
<GetAssetReservation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eQuipModel">
<ReservationID>String</ReservationID>
<UserID>String</UserID>
</GetAssetReservation>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ResponseForReservation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eQuipModel">
<ResponseReservation xmlns:d2p1="http://schemas.datacontract.org/2004/07/eQuip.Domain.Reservation">
<d2p1:Approver>0</d2p1:Approver>
<d2p1:CheckInOutTransactionObject>0</d2p1:CheckInOutTransactionObject>
<d2p1:CreatedBy>String</d2p1:CreatedBy>
<d2p1:CreatedDate>0001-01-01T00:00:00</d2p1:CreatedDate>
<d2p1:DepartmentID>0</d2p1:DepartmentID>
<d2p1:ModifiedBy>String</d2p1:ModifiedBy>
<d2p1:ModifiedDate>0001-01-01T00:00:00</d2p1:ModifiedDate>
<d2p1:Priority>String</d2p1:Priority>
<d2p1:ProjectNumber>0</d2p1:ProjectNumber>
<d2p1:Requestor>0</d2p1:Requestor>
<d2p1:ReservationID>00000000-0000-0000-0000-000000000000</d2p1:ReservationID>
<d2p1:ReservationNumber>String</d2p1:ReservationNumber>
<d2p1:ReservationTitle>String</d2p1:ReservationTitle>
<d2p1:Reservationstatus>0</d2p1:Reservationstatus>
<d2p1:ScheduleRequestDate>0001-01-01T00:00:00</d2p1:ScheduleRequestDate>
<d2p1:Tags>String</d2p1:Tags>
<d2p1:TestScheduleRequestDecisionNotes>String</d2p1:TestScheduleRequestDecisionNotes>
<d2p1:TestScheduleRequestEndDate>0001-01-01T00:00:00</d2p1:TestScheduleRequestEndDate>
<d2p1:TestScheduleRequestNumber>String</d2p1:TestScheduleRequestNumber>
<d2p1:TestScheduleRequestStartDate>0001-01-01T00:00:00</d2p1:TestScheduleRequestStartDate>
<d2p1:TestScheduleRequestStatus>0</d2p1:TestScheduleRequestStatus>
<d2p1:Uuid>00000000-0000-0000-0000-000000000000</d2p1:Uuid>
<d2p1:WorkOrderNumber>String</d2p1:WorkOrderNumber>
</ResponseReservation>
</ResponseForReservation>