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 /EventSeating/ReseatQuote HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<ReseatQuoteRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<EventId>0</EventId>
<Moves>
<ReseatMovePair>
<FromSeatId>0</FromSeatId>
<ToOwnerTicketTypeId>0</ToOwnerTicketTypeId>
<ToSeatId>0</ToSeatId>
</ReseatMovePair>
</Moves>
</ReseatQuoteRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ReseatQuoteResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<Direction>String</Direction>
<Message>String</Message>
<Ok>false</Ok>
<PaymentReference>String</PaymentReference>
<PriceDifference>0</PriceDifference>
<RefundableViaBorgun>false</RefundableViaBorgun>
<Seats>
<ReseatSeatQuote>
<Difference>0</Difference>
<FromPrice>0</FromPrice>
<FromSeatId>0</FromSeatId>
<Message>String</Message>
<Ok>false</Ok>
<TicketTokenId>String</TicketTokenId>
<ToPrice>0</ToPrice>
<ToSeatId>0</ToSeatId>
<ToSeatName>String</ToSeatName>
<ToSectionName>String</ToSectionName>
</ReseatSeatQuote>
</Seats>
<StatusCode>0</StatusCode>
<TotalFromPrice>0</TotalFromPrice>
<TotalToPrice>0</TotalToPrice>
</ReseatQuoteResult>