TicketUserServices

<back to all web services

SelfServiceAvailableSeatsRequest

Requires Authentication
The following routes are available for this service:
POST/selfService/transferTicket/availableSeatsSeats a buyer may pick for a seated exchange, grouped by section and row
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using TicketUserServices.ServiceModel;

namespace TicketUserServices.ServiceModel
{
    public partial class SelfServiceAvailableSeatsRequest
    {
        public virtual string TicketTokenId { get; set; }
        public virtual string BuyerPhone { get; set; }
        public virtual int ToEventId { get; set; }
        public virtual int? ToOwnerTicketTypeId { get; set; }
        public virtual int? ToSeriesTicketTypeId { get; set; }
    }

    public partial class SelfServiceAvailableSeatsResult
        : SelfServiceTransferResultBase
    {
        public SelfServiceAvailableSeatsResult()
        {
            Sections = new List<SelfServiceSeatSection>{};
        }

        public virtual int ToEventId { get; set; }
        public virtual string ToTicketTypeName { get; set; }
        public virtual int? AssignedSeatId { get; set; }
        public virtual string AssignedSeatLabel { get; set; }
        public virtual List<SelfServiceSeatSection> Sections { get; set; }
        public virtual int TotalSeats { get; set; }
        public virtual int SelectableSeats { get; set; }
        public virtual bool Truncated { get; set; }
    }

    public partial class SelfServiceSeatOption
    {
        public virtual int SeatId { get; set; }
        public virtual string SeatName { get; set; }
        public virtual string Label { get; set; }
        public virtual string Status { get; set; }
        public virtual bool IsSeat { get; set; }
        public virtual bool Selectable { get; set; }
        public virtual decimal? PositionX { get; set; }
        public virtual decimal? PositionY { get; set; }
        public virtual decimal? Rotation { get; set; }
        public virtual decimal? SortOrder { get; set; }
        public virtual int? RowId { get; set; }
        public virtual string RowName { get; set; }
    }

    public partial class SelfServiceSeatSection
    {
        public SelfServiceSeatSection()
        {
            Seats = new List<SelfServiceSeatOption>{};
        }

        public virtual int? SectionId { get; set; }
        public virtual string SectionName { get; set; }
        public virtual decimal? PositionX { get; set; }
        public virtual decimal? PositionY { get; set; }
        public virtual decimal? Rotation { get; set; }
        public virtual string ViewType { get; set; }
        public virtual List<SelfServiceSeatOption> Seats { get; set; }
    }

    public partial class SelfServiceTransferResultBase
    {
        public virtual bool Ok { get; set; }
        public virtual int StatusCode { get; set; }
        public virtual string Code { get; set; }
        public virtual string Message { get; set; }
    }

}

C# SelfServiceAvailableSeatsRequest 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 /selfService/transferTicket/availableSeats HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<SelfServiceAvailableSeatsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <BuyerPhone>String</BuyerPhone>
  <TicketTokenId>String</TicketTokenId>
  <ToEventId>0</ToEventId>
  <ToOwnerTicketTypeId>0</ToOwnerTicketTypeId>
  <ToSeriesTicketTypeId>0</ToSeriesTicketTypeId>
</SelfServiceAvailableSeatsRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<SelfServiceAvailableSeatsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <Code>String</Code>
  <Message>String</Message>
  <Ok>false</Ok>
  <StatusCode>0</StatusCode>
  <AssignedSeatId>0</AssignedSeatId>
  <AssignedSeatLabel>String</AssignedSeatLabel>
  <Sections>
    <SelfServiceSeatSection>
      <PositionX>0</PositionX>
      <PositionY>0</PositionY>
      <Rotation>0</Rotation>
      <Seats>
        <SelfServiceSeatOption>
          <IsSeat>false</IsSeat>
          <Label>String</Label>
          <PositionX>0</PositionX>
          <PositionY>0</PositionY>
          <Rotation>0</Rotation>
          <RowId>0</RowId>
          <RowName>String</RowName>
          <SeatId>0</SeatId>
          <SeatName>String</SeatName>
          <Selectable>false</Selectable>
          <SortOrder>0</SortOrder>
          <Status>String</Status>
        </SelfServiceSeatOption>
      </Seats>
      <SectionId>0</SectionId>
      <SectionName>String</SectionName>
      <ViewType>String</ViewType>
    </SelfServiceSeatSection>
  </Sections>
  <SelectableSeats>0</SelectableSeats>
  <ToEventId>0</ToEventId>
  <ToTicketTypeName>String</ToTicketTypeName>
  <TotalSeats>0</TotalSeats>
  <Truncated>false</Truncated>
</SelfServiceAvailableSeatsResult>