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 /AppSeatingTicketTypesInSectionSearch HTTP/1.1
Host: stubbur-autoupdates-live.smartnewapis.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<AppEventSeatingSectionTicketTypesSearchRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<DeviceId>String</DeviceId>
<EventId>0</EventId>
<EventSectionId>0</EventSectionId>
<IncludeMyPaymentCards>false</IncludeMyPaymentCards>
<OwnerId>0</OwnerId>
<PhoneVerificationNumber>String</PhoneVerificationNumber>
<RequestUnixUTCTimeStamp>0</RequestUnixUTCTimeStamp>
<Signature>
<Signature>String</Signature>
<SystemId>String</SystemId>
<SystemSecret>String</SystemSecret>
</Signature>
</AppEventSeatingSectionTicketTypesSearchRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<AppEventSeatingSectionTicketTypesSearchResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<Message>String</Message>
<OwnerTicketTypes>
<AppEventSeatingSectionOwnerTicketTypesItem>
<MyCards xmlns:d4p1="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel.Types">
<d4p1:MyOwnerCards>
<d4p1:CardTypeId>0</d4p1:CardTypeId>
<d4p1:CardValidFromUTC>0001-01-01T00:00:00</d4p1:CardValidFromUTC>
<d4p1:CardValidToUTC>0001-01-01T00:00:00</d4p1:CardValidToUTC>
<d4p1:CurrentAvailableTickets>0</d4p1:CurrentAvailableTickets>
<d4p1:CurrentStoreCredit>0</d4p1:CurrentStoreCredit>
<d4p1:Description>String</d4p1:Description>
<d4p1:DeviceId>String</d4p1:DeviceId>
<d4p1:HasStoreCredit>false</d4p1:HasStoreCredit>
<d4p1:HolderEmail>String</d4p1:HolderEmail>
<d4p1:HolderId>String</d4p1:HolderId>
<d4p1:HolderName>String</d4p1:HolderName>
<d4p1:ID>0</d4p1:ID>
<d4p1:ImageUrl>String</d4p1:ImageUrl>
<d4p1:InitialMaxTickets>0</d4p1:InitialMaxTickets>
<d4p1:InitialStoreCredit>0</d4p1:InitialStoreCredit>
<d4p1:Name>String</d4p1:Name>
<d4p1:OwnerId>0</d4p1:OwnerId>
<d4p1:PhoneFullVerificationNumber>String</d4p1:PhoneFullVerificationNumber>
<d4p1:TicketTypeMaxTickets>0</d4p1:TicketTypeMaxTickets>
<d4p1:TimeStampBoughtUTC>0001-01-01T00:00:00</d4p1:TimeStampBoughtUTC>
</d4p1:MyOwnerCards>
</MyCards>
<TicketType xmlns:d4p1="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel.Types">
<d4p1:BlockTransfer>false</d4p1:BlockTransfer>
<d4p1:CanNotBeBought>false</d4p1:CanNotBeBought>
<d4p1:CanOnlyBeBought>false</d4p1:CanOnlyBeBought>
<d4p1:CanOnlyBeBoughtWithTeamPass>false</d4p1:CanOnlyBeBoughtWithTeamPass>
<d4p1:Currency>String</d4p1:Currency>
<d4p1:DefaultPrice>0</d4p1:DefaultPrice>
<d4p1:EventSeriesOwnerSeatingSectionId>0</d4p1:EventSeriesOwnerSeatingSectionId>
<d4p1:ForceSingleTickets>false</d4p1:ForceSingleTickets>
<d4p1:HolderInfoRequired>false</d4p1:HolderInfoRequired>
<d4p1:ID>0</d4p1:ID>
<d4p1:ImageUrl>String</d4p1:ImageUrl>
<d4p1:IsActive>false</d4p1:IsActive>
<d4p1:IsSpecialTicket>false</d4p1:IsSpecialTicket>
<d4p1:MaxTickets>0</d4p1:MaxTickets>
<d4p1:MaxTicketsPerTransaction>0</d4p1:MaxTicketsPerTransaction>
<d4p1:Name>String</d4p1:Name>
<d4p1:OnlyForEvent>0</d4p1:OnlyForEvent>
<d4p1:OnlyForKsi>false</d4p1:OnlyForKsi>
<d4p1:OwnerId>0</d4p1:OwnerId>
<d4p1:SeriesId>0</d4p1:SeriesId>
<d4p1:ShowUsedTickets>false</d4p1:ShowUsedTickets>
<d4p1:SpecialTicketId>String</d4p1:SpecialTicketId>
<d4p1:TicketColor>String</d4p1:TicketColor>
<d4p1:TicketTypeListOrder>0</d4p1:TicketTypeListOrder>
<d4p1:TicketsForSalePerEvent>false</d4p1:TicketsForSalePerEvent>
<d4p1:TimestampCreated>0001-01-01T00:00:00</d4p1:TimestampCreated>
<d4p1:TimestampLastChanged>0001-01-01T00:00:00</d4p1:TimestampLastChanged>
</TicketType>
</AppEventSeatingSectionOwnerTicketTypesItem>
</OwnerTicketTypes>
<SeriesTicketTypes>
<AppEventSeatingSectionSeriesTicketTypesItem>
<MyCards xmlns:d4p1="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel.Types">
<d4p1:MySeriesControllerCards>
<d4p1:CanTransferToName>String</d4p1:CanTransferToName>
<d4p1:CanTransferToPhoneFullNumber>String</d4p1:CanTransferToPhoneFullNumber>
<d4p1:CardTypeId>String</d4p1:CardTypeId>
<d4p1:CardTypeOwner>String</d4p1:CardTypeOwner>
<d4p1:CreationDate>0001-01-01T00:00:00</d4p1:CreationDate>
<d4p1:Description>String</d4p1:Description>
<d4p1:DeviceId>String</d4p1:DeviceId>
<d4p1:ExpMonth>String</d4p1:ExpMonth>
<d4p1:ExpYear>String</d4p1:ExpYear>
<d4p1:HolderName>String</d4p1:HolderName>
<d4p1:ID>0</d4p1:ID>
<d4p1:MaxTicketsPerEvent>0</d4p1:MaxTicketsPerEvent>
<d4p1:Name>String</d4p1:Name>
<d4p1:OwnerId>String</d4p1:OwnerId>
<d4p1:PhoneFullVerificationNumber>String</d4p1:PhoneFullVerificationNumber>
</d4p1:MySeriesControllerCards>
</MyCards>
<TicketType xmlns:d4p1="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel.Types">
<d4p1:BlockTransfer>false</d4p1:BlockTransfer>
<d4p1:Currency>String</d4p1:Currency>
<d4p1:DefaultPrice>0</d4p1:DefaultPrice>
<d4p1:HolderInfoRequired>false</d4p1:HolderInfoRequired>
<d4p1:ID>0</d4p1:ID>
<d4p1:IsActive>false</d4p1:IsActive>
<d4p1:IsSpecialTicket>false</d4p1:IsSpecialTicket>
<d4p1:MaxTicketsPerTransaction>0</d4p1:MaxTicketsPerTransaction>
<d4p1:Name>String</d4p1:Name>
<d4p1:OnlyForKsi>false</d4p1:OnlyForKsi>
<d4p1:SeriesId>0</d4p1:SeriesId>
<d4p1:ShowUsedTickets>false</d4p1:ShowUsedTickets>
<d4p1:SpecialTicketId>String</d4p1:SpecialTicketId>
<d4p1:TicketColor>String</d4p1:TicketColor>
<d4p1:TicketTypeListOrder>0</d4p1:TicketTypeListOrder>
</TicketType>
</AppEventSeatingSectionSeriesTicketTypesItem>
</SeriesTicketTypes>
<StatusCode>0</StatusCode>
</AppEventSeatingSectionTicketTypesSearchResult>