TicketUserServices

<back to all web services

AppEventSeatingSectionTicketTypesSearchRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileAppRequires the permission:ReadData
The following routes are available for this service:
POST/AppSeatingTicketTypesInSectionSearch
import java.math.*
import java.util.*
import net.servicestack.client.*


open class AppEventSeatingSectionTicketTypesSearchRequest
{
    var eventId:Int? = null
    var ownerId:Int? = null
    var eventSectionId:Int? = null
    var includeMyPaymentCards:Boolean? = null
    var phoneVerificationNumber:String? = null
    var deviceId:String? = null
    var requestUnixUTCTimeStamp:Long? = null
    var signature:RequestSignature? = null
}

open class RequestSignature
{
    var systemId:String? = null
    var systemSecret:String? = null
    var signature:String? = null
}

open class AppEventSeatingSectionTicketTypesSearchResult
{
    var statusCode:Int? = null
    var message:String? = 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>()
}

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>()
}

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 AppEventSeatingSectionTicketTypesSearchRequest DTOs

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>