TicketUserServices

<back to all web services

AppEventSeatingAtEventTicketTypesSearchRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileAppRequires the permission:ReadData
The following routes are available for this service:
POST/AppSeatingTicketTypesAtEventSearch
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using TicketUserServices.ServiceModel;
using TicketUserServices.ServiceModel.Types;

namespace TicketUserServices.ServiceModel
{
    public partial class AppEventSeatingAtEventTicketTypesSearchRequest
    {
        public virtual int EventId { get; set; }
        public virtual bool? IncludeHiddenFromSale { get; set; }
    }

    public partial class AppEventSeatingAtEventTicketTypesSearchResult
    {
        public AppEventSeatingAtEventTicketTypesSearchResult()
        {
            Sections = new List<AppEventSeatingSectionTicketTypesGroup>{};
        }

        public virtual int StatusCode { get; set; }
        public virtual string Message { get; set; }
        public virtual List<AppEventSeatingSectionTicketTypesGroup> Sections { get; set; }
    }

    public partial class AppEventSeatingSectionOwnerTicketTypesItem
    {
        public AppEventSeatingSectionOwnerTicketTypesItem()
        {
            MyCards = new List<MyOwnerCards>{};
        }

        public virtual EventSeriesOwnerTicketType TicketType { get; set; }
        public virtual List<MyOwnerCards> MyCards { get; set; }
        public virtual int ConnectionId { get; set; }
        public virtual bool? HiddenFromSale { get; set; }
        public virtual bool IsPresalePrice { get; set; }
        public virtual decimal? RegularPrice { get; set; }
        public virtual DateTime? PresaleEndsUTC { get; set; }
        public virtual string SaleStatus { get; set; }
        public virtual DateTime? SaleStartsUTC { get; set; }
        public virtual DateTime? SaleEndsUTC { get; set; }
    }

    public partial class AppEventSeatingSectionSeriesTicketTypesItem
    {
        public AppEventSeatingSectionSeriesTicketTypesItem()
        {
            MyCards = new List<MySeriesControllerCards>{};
        }

        public virtual EventSeriesTicketType TicketType { get; set; }
        public virtual List<MySeriesControllerCards> MyCards { get; set; }
        public virtual int ConnectionId { get; set; }
        public virtual bool? HiddenFromSale { get; set; }
        public virtual bool IsPresalePrice { get; set; }
        public virtual decimal? RegularPrice { get; set; }
        public virtual DateTime? PresaleEndsUTC { get; set; }
        public virtual string SaleStatus { get; set; }
        public virtual DateTime? SaleStartsUTC { get; set; }
        public virtual DateTime? SaleEndsUTC { get; set; }
    }

    public partial class AppEventSeatingSectionTicketTypesGroup
    {
        public AppEventSeatingSectionTicketTypesGroup()
        {
            OwnerTicketTypes = new List<AppEventSeatingSectionOwnerTicketTypesItem>{};
            SeriesTicketTypes = new List<AppEventSeatingSectionSeriesTicketTypesItem>{};
        }

        public virtual int EventSectionId { get; set; }
        public virtual List<AppEventSeatingSectionOwnerTicketTypesItem> OwnerTicketTypes { get; set; }
        public virtual List<AppEventSeatingSectionSeriesTicketTypesItem> SeriesTicketTypes { get; set; }
    }

}

namespace TicketUserServices.ServiceModel.Types
{
    public partial class EventSeriesOwnerTicketType
    {
        public virtual int ID { get; set; }
        public virtual string Name { get; set; }
        public virtual decimal DefaultPrice { get; set; }
        public virtual int? SeriesId { get; set; }
        public virtual int OwnerId { get; set; }
        public virtual int TicketTypeListOrder { get; set; }
        public virtual bool? IsActive { get; set; }
        public virtual int? MaxTickets { get; set; }
        public virtual string TicketColor { get; set; }
        public virtual bool? ShowUsedTickets { get; set; }
        public virtual bool? CanOnlyBeBoughtWithTeamPass { get; set; }
        public virtual bool? IsSpecialTicket { get; set; }
        public virtual string SpecialTicketId { get; set; }
        public virtual bool? OnlyForKsi { get; set; }
        public virtual DateTime? TimestampCreated { get; set; }
        public virtual DateTime? TimestampLastChanged { get; set; }
        public virtual bool? TicketsForSalePerEvent { get; set; }
        public virtual string ImageUrl { get; set; }
        public virtual bool? HolderInfoRequired { get; set; }
        public virtual int? EventSeriesOwnerSeatingSectionId { get; set; }
        public virtual bool? CanOnlyBeBought { get; set; }
        public virtual bool? CanNotBeBought { get; set; }
        public virtual bool? BlockTransfer { get; set; }
        public virtual int? MaxTicketsPerTransaction { get; set; }
        public virtual bool? ForceSingleTickets { get; set; }
        public virtual int? OnlyForEvent { get; set; }
        public virtual string Currency { get; set; }
    }

    public partial class EventSeriesTicketType
    {
        public virtual int ID { get; set; }
        public virtual string Name { get; set; }
        public virtual decimal DefaultPrice { get; set; }
        public virtual int? SeriesId { get; set; }
        public virtual int TicketTypeListOrder { get; set; }
        public virtual bool IsActive { get; set; }
        public virtual string TicketColor { get; set; }
        public virtual bool? ShowUsedTickets { get; set; }
        public virtual bool? IsSpecialTicket { get; set; }
        public virtual string SpecialTicketId { get; set; }
        public virtual bool? OnlyForKsi { get; set; }
        public virtual bool? HolderInfoRequired { get; set; }
        public virtual bool? BlockTransfer { get; set; }
        public virtual int? MaxTicketsPerTransaction { get; set; }
        public virtual string Currency { get; set; }
    }

    public partial class MyOwnerCards
    {
        public virtual int ID { get; set; }
        public virtual string PhoneFullVerificationNumber { get; set; }
        public virtual int OwnerId { get; set; }
        public virtual int? CardTypeId { get; set; }
        public virtual string Name { get; set; }
        public virtual string ImageUrl { get; set; }
        public virtual string Description { get; set; }
        public virtual int? TicketTypeMaxTickets { get; set; }
        public virtual DateTime? CardValidFromUTC { get; set; }
        public virtual DateTime? CardValidToUTC { get; set; }
        public virtual int? CurrentAvailableTickets { get; set; }
        public virtual int? InitialMaxTickets { get; set; }
        public virtual string DeviceId { get; set; }
        public virtual string HolderId { get; set; }
        public virtual string HolderName { get; set; }
        public virtual string HolderEmail { get; set; }
        public virtual decimal? InitialStoreCredit { get; set; }
        public virtual decimal? CurrentStoreCredit { get; set; }
        public virtual bool HasStoreCredit { get; set; }
        public virtual DateTime? TimeStampBoughtUTC { get; set; }
    }

    public partial class MySeriesControllerCards
    {
        public virtual int ID { get; set; }
        public virtual string PhoneFullVerificationNumber { get; set; }
        public virtual string OwnerId { get; set; }
        public virtual string CardTypeId { get; set; }
        public virtual string Name { get; set; }
        public virtual string Description { get; set; }
        public virtual string CardTypeOwner { get; set; }
        public virtual int? MaxTicketsPerEvent { get; set; }
        public virtual DateTime? CreationDate { get; set; }
        public virtual string DeviceId { get; set; }
        public virtual string HolderName { get; set; }
        public virtual string CanTransferToName { get; set; }
        public virtual string CanTransferToPhoneFullNumber { get; set; }
        public virtual string ExpYear { get; set; }
        public virtual string ExpMonth { get; set; }
    }

}

C# AppEventSeatingAtEventTicketTypesSearchRequest 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 /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>