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 /AppSeatingTicketTypesAtEventSearch HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<AppEventSeatingAtEventTicketTypesSearchRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<EventId>0</EventId>
<IncludeHiddenFromSale>false</IncludeHiddenFromSale>
</AppEventSeatingAtEventTicketTypesSearchRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<AppEventSeatingAtEventTicketTypesSearchResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<Message>String</Message>
<Sections>
<AppEventSeatingSectionTicketTypesGroup>
<EventSectionId>0</EventSectionId>
<OwnerTicketTypes>
<AppEventSeatingSectionOwnerTicketTypesItem>
<ConnectionId>0</ConnectionId>
<HiddenFromSale>false</HiddenFromSale>
<IsPresalePrice>false</IsPresalePrice>
<MyCards xmlns:d6p1="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel.Types">
<d6p1:MyOwnerCards>
<d6p1:CardTypeId>0</d6p1:CardTypeId>
<d6p1:CardValidFromUTC>0001-01-01T00:00:00</d6p1:CardValidFromUTC>
<d6p1:CardValidToUTC>0001-01-01T00:00:00</d6p1:CardValidToUTC>
<d6p1:CurrentAvailableTickets>0</d6p1:CurrentAvailableTickets>
<d6p1:CurrentStoreCredit>0</d6p1:CurrentStoreCredit>
<d6p1:Description>String</d6p1:Description>
<d6p1:DeviceId>String</d6p1:DeviceId>
<d6p1:HasStoreCredit>false</d6p1:HasStoreCredit>
<d6p1:HolderEmail>String</d6p1:HolderEmail>
<d6p1:HolderId>String</d6p1:HolderId>
<d6p1:HolderName>String</d6p1:HolderName>
<d6p1:ID>0</d6p1:ID>
<d6p1:ImageUrl>String</d6p1:ImageUrl>
<d6p1:InitialMaxTickets>0</d6p1:InitialMaxTickets>
<d6p1:InitialStoreCredit>0</d6p1:InitialStoreCredit>
<d6p1:Name>String</d6p1:Name>
<d6p1:OwnerId>0</d6p1:OwnerId>
<d6p1:PhoneFullVerificationNumber>String</d6p1:PhoneFullVerificationNumber>
<d6p1:TicketTypeMaxTickets>0</d6p1:TicketTypeMaxTickets>
<d6p1:TimeStampBoughtUTC>0001-01-01T00:00:00</d6p1:TimeStampBoughtUTC>
</d6p1:MyOwnerCards>
</MyCards>
<PresaleEndsUTC>0001-01-01T00:00:00</PresaleEndsUTC>
<RegularPrice>0</RegularPrice>
<SaleEndsUTC>0001-01-01T00:00:00</SaleEndsUTC>
<SaleStartsUTC>0001-01-01T00:00:00</SaleStartsUTC>
<SaleStatus>String</SaleStatus>
<TicketType xmlns:d6p1="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel.Types">
<d6p1:BlockTransfer>false</d6p1:BlockTransfer>
<d6p1:CanNotBeBought>false</d6p1:CanNotBeBought>
<d6p1:CanOnlyBeBought>false</d6p1:CanOnlyBeBought>
<d6p1:CanOnlyBeBoughtWithTeamPass>false</d6p1:CanOnlyBeBoughtWithTeamPass>
<d6p1:Currency>String</d6p1:Currency>
<d6p1:DefaultPrice>0</d6p1:DefaultPrice>
<d6p1:EventSeriesOwnerSeatingSectionId>0</d6p1:EventSeriesOwnerSeatingSectionId>
<d6p1:ForceSingleTickets>false</d6p1:ForceSingleTickets>
<d6p1:HolderInfoRequired>false</d6p1:HolderInfoRequired>
<d6p1:ID>0</d6p1:ID>
<d6p1:ImageUrl>String</d6p1:ImageUrl>
<d6p1:IsActive>false</d6p1:IsActive>
<d6p1:IsSpecialTicket>false</d6p1:IsSpecialTicket>
<d6p1:MaxTickets>0</d6p1:MaxTickets>
<d6p1:MaxTicketsPerTransaction>0</d6p1:MaxTicketsPerTransaction>
<d6p1:Name>String</d6p1:Name>
<d6p1:OnlyForEvent>0</d6p1:OnlyForEvent>
<d6p1:OnlyForKsi>false</d6p1:OnlyForKsi>
<d6p1:OwnerId>0</d6p1:OwnerId>
<d6p1:SeriesId>0</d6p1:SeriesId>
<d6p1:ShowUsedTickets>false</d6p1:ShowUsedTickets>
<d6p1:SpecialTicketId>String</d6p1:SpecialTicketId>
<d6p1:TicketColor>String</d6p1:TicketColor>
<d6p1:TicketTypeListOrder>0</d6p1:TicketTypeListOrder>
<d6p1:TicketsForSalePerEvent>false</d6p1:TicketsForSalePerEvent>
<d6p1:TimestampCreated>0001-01-01T00:00:00</d6p1:TimestampCreated>
<d6p1:TimestampLastChanged>0001-01-01T00:00:00</d6p1:TimestampLastChanged>
</TicketType>
</AppEventSeatingSectionOwnerTicketTypesItem>
</OwnerTicketTypes>
<SeriesTicketTypes>
<AppEventSeatingSectionSeriesTicketTypesItem>
<ConnectionId>0</ConnectionId>
<HiddenFromSale>false</HiddenFromSale>
<IsPresalePrice>false</IsPresalePrice>
<MyCards xmlns:d6p1="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel.Types">
<d6p1:MySeriesControllerCards>
<d6p1:CanTransferToName>String</d6p1:CanTransferToName>
<d6p1:CanTransferToPhoneFullNumber>String</d6p1:CanTransferToPhoneFullNumber>
<d6p1:CardTypeId>String</d6p1:CardTypeId>
<d6p1:CardTypeOwner>String</d6p1:CardTypeOwner>
<d6p1:CreationDate>0001-01-01T00:00:00</d6p1:CreationDate>
<d6p1:Description>String</d6p1:Description>
<d6p1:DeviceId>String</d6p1:DeviceId>
<d6p1:ExpMonth>String</d6p1:ExpMonth>
<d6p1:ExpYear>String</d6p1:ExpYear>
<d6p1:HolderName>String</d6p1:HolderName>
<d6p1:ID>0</d6p1:ID>
<d6p1:MaxTicketsPerEvent>0</d6p1:MaxTicketsPerEvent>
<d6p1:Name>String</d6p1:Name>
<d6p1:OwnerId>String</d6p1:OwnerId>
<d6p1:PhoneFullVerificationNumber>String</d6p1:PhoneFullVerificationNumber>
</d6p1:MySeriesControllerCards>
</MyCards>
<PresaleEndsUTC>0001-01-01T00:00:00</PresaleEndsUTC>
<RegularPrice>0</RegularPrice>
<SaleEndsUTC>0001-01-01T00:00:00</SaleEndsUTC>
<SaleStartsUTC>0001-01-01T00:00:00</SaleStartsUTC>
<SaleStatus>String</SaleStatus>
<TicketType xmlns:d6p1="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel.Types">
<d6p1:BlockTransfer>false</d6p1:BlockTransfer>
<d6p1:Currency>String</d6p1:Currency>
<d6p1:DefaultPrice>0</d6p1:DefaultPrice>
<d6p1:HolderInfoRequired>false</d6p1:HolderInfoRequired>
<d6p1:ID>0</d6p1:ID>
<d6p1:IsActive>false</d6p1:IsActive>
<d6p1:IsSpecialTicket>false</d6p1:IsSpecialTicket>
<d6p1:MaxTicketsPerTransaction>0</d6p1:MaxTicketsPerTransaction>
<d6p1:Name>String</d6p1:Name>
<d6p1:OnlyForKsi>false</d6p1:OnlyForKsi>
<d6p1:SeriesId>0</d6p1:SeriesId>
<d6p1:ShowUsedTickets>false</d6p1:ShowUsedTickets>
<d6p1:SpecialTicketId>String</d6p1:SpecialTicketId>
<d6p1:TicketColor>String</d6p1:TicketColor>
<d6p1:TicketTypeListOrder>0</d6p1:TicketTypeListOrder>
</TicketType>
</AppEventSeatingSectionSeriesTicketTypesItem>
</SeriesTicketTypes>
</AppEventSeatingSectionTicketTypesGroup>
</Sections>
<StatusCode>0</StatusCode>
</AppEventSeatingAtEventTicketTypesSearchResult>