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 /ticketHold/release HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<TicketHoldReleaseRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<RequestUnixUTCTimeStamp>0</RequestUnixUTCTimeStamp>
<ReservationTokenId>String</ReservationTokenId>
<Signature>
<Signature>String</Signature>
<SystemId>String</SystemId>
<SystemSecret>String</SystemSecret>
</Signature>
</TicketHoldReleaseRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<TicketHoldResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<ExpiresUtc>0001-01-01T00:00:00</ExpiresUtc>
<Lines>
<CategoryHoldLine>
<EventSeriesOwnerTicketType>0</EventSeriesOwnerTicketType>
<EventSeriesTicketType>0</EventSeriesTicketType>
<Quantity>0</Quantity>
</CategoryHoldLine>
</Lines>
<Message>String</Message>
<PerCategory>
<CategoryAvailability>
<EventSeriesOwnerTicketType>0</EventSeriesOwnerTicketType>
<EventSeriesTicketType>0</EventSeriesTicketType>
<MaxTickets>0</MaxTickets>
<Remaining>0</Remaining>
</CategoryAvailability>
</PerCategory>
<ReservationTokenId>String</ReservationTokenId>
<Scarcity>false</Scarcity>
<StatusCode>0</StatusCode>
</TicketHoldResult>