| Requires any of the roles: | Admin, TeamAdmin, MobileApp | Requires the permission: | ReadData |
| POST | /AppSeatingTicketTypesAtEventSearch |
|---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class AppEventSeatingAtEventTicketTypesSearchRequest
{
var eventId:Int? = null
var includeHiddenFromSale:Boolean? = null
}
open class AppEventSeatingAtEventTicketTypesSearchResult
{
var statusCode:Int? = null
var message:String? = null
var sections:ArrayList<AppEventSeatingSectionTicketTypesGroup> = ArrayList<AppEventSeatingSectionTicketTypesGroup>()
}
open class AppEventSeatingSectionTicketTypesGroup
{
var eventSectionId:Int? = null
var ownerTicketTypes:ArrayList<AppEventSeatingSectionOwnerTicketTypesItem> = ArrayList<AppEventSeatingSectionOwnerTicketTypesItem>()
var seriesTicketTypes:ArrayList<AppEventSeatingSectionSeriesTicketTypesItem> = ArrayList<AppEventSeatingSectionSeriesTicketTypesItem>()
}
open class AppEventSeatingSectionOwnerTicketTypesItem
{
var ticketType:EventSeriesOwnerTicketType? = null
var myCards:ArrayList<MyOwnerCards> = ArrayList<MyOwnerCards>()
var connectionId:Int? = null
var hiddenFromSale:Boolean? = null
var isPresalePrice:Boolean? = null
var regularPrice:BigDecimal? = null
var presaleEndsUTC:Date? = null
var saleStatus:String? = null
var saleStartsUTC:Date? = null
var saleEndsUTC:Date? = null
}
open class EventSeriesOwnerTicketType
{
var id:Int? = null
var name:String? = null
var defaultPrice:BigDecimal? = null
var seriesId:Int? = null
var ownerId:Int? = null
var ticketTypeListOrder:Int? = null
var isActive:Boolean? = null
var maxTickets:Int? = null
var ticketColor:String? = null
var showUsedTickets:Boolean? = null
var canOnlyBeBoughtWithTeamPass:Boolean? = null
var isSpecialTicket:Boolean? = null
var specialTicketId:String? = null
var onlyForKsi:Boolean? = null
var timestampCreated:Date? = null
var timestampLastChanged:Date? = null
var ticketsForSalePerEvent:Boolean? = null
var imageUrl:String? = null
var holderInfoRequired:Boolean? = null
var eventSeriesOwnerSeatingSectionId:Int? = null
var canOnlyBeBought:Boolean? = null
var canNotBeBought:Boolean? = null
var blockTransfer:Boolean? = null
var maxTicketsPerTransaction:Int? = null
var forceSingleTickets:Boolean? = null
var onlyForEvent:Int? = null
var currency:String? = null
}
open class MyOwnerCards
{
var id:Int? = null
var phoneFullVerificationNumber:String? = null
var ownerId:Int? = null
var cardTypeId:Int? = null
var name:String? = null
var imageUrl:String? = null
var description:String? = null
var ticketTypeMaxTickets:Int? = null
var cardValidFromUTC:Date? = null
var cardValidToUTC:Date? = null
var currentAvailableTickets:Int? = null
var initialMaxTickets:Int? = null
var deviceId:String? = null
var holderId:String? = null
var holderName:String? = null
var holderEmail:String? = null
var initialStoreCredit:BigDecimal? = null
var currentStoreCredit:BigDecimal? = null
var hasStoreCredit:Boolean? = null
var timeStampBoughtUTC:Date? = null
}
open class AppEventSeatingSectionSeriesTicketTypesItem
{
var ticketType:EventSeriesTicketType? = null
var myCards:ArrayList<MySeriesControllerCards> = ArrayList<MySeriesControllerCards>()
var connectionId:Int? = null
var hiddenFromSale:Boolean? = null
var isPresalePrice:Boolean? = null
var regularPrice:BigDecimal? = null
var presaleEndsUTC:Date? = null
var saleStatus:String? = null
var saleStartsUTC:Date? = null
var saleEndsUTC:Date? = null
}
open class EventSeriesTicketType
{
var id:Int? = null
var name:String? = null
var defaultPrice:BigDecimal? = null
var seriesId:Int? = null
var ticketTypeListOrder:Int? = null
var isActive:Boolean? = null
var ticketColor:String? = null
var showUsedTickets:Boolean? = null
var isSpecialTicket:Boolean? = null
var specialTicketId:String? = null
var onlyForKsi:Boolean? = null
var holderInfoRequired:Boolean? = null
var blockTransfer:Boolean? = null
var maxTicketsPerTransaction:Int? = null
var currency:String? = null
}
open class MySeriesControllerCards
{
var id:Int? = null
var phoneFullVerificationNumber:String? = null
var ownerId:String? = null
var cardTypeId:String? = null
var name:String? = null
var description:String? = null
var cardTypeOwner:String? = null
var maxTicketsPerEvent:Int? = null
var creationDate:Date? = null
var deviceId:String? = null
var holderName:String? = null
var canTransferToName:String? = null
var canTransferToPhoneFullNumber:String? = null
var expYear:String? = null
var expMonth:String? = null
}
Kotlin AppEventSeatingAtEventTicketTypesSearchRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=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>