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

export class SelfServiceTransferResultBase
{
    public ok?: boolean;
    public statusCode?: number;
    public code?: string;
    public message?: string;

    public constructor(init?: Partial<SelfServiceTransferResultBase>) { (Object as any).assign(this, init); }
}

export class SelfServiceSeatOption
{
    public seatId?: number;
    public seatName?: string;
    public label?: string;
    public status?: string;
    public isSeat?: boolean;
    public selectable?: boolean;
    public positionX?: number;
    public positionY?: number;
    public rotation?: number;
    public sortOrder?: number;
    public rowId?: number;
    public rowName?: string;

    public constructor(init?: Partial<SelfServiceSeatOption>) { (Object as any).assign(this, init); }
}

export class SelfServiceSeatSection
{
    public sectionId?: number;
    public sectionName?: string;
    public positionX?: number;
    public positionY?: number;
    public rotation?: number;
    public viewType?: string;
    public seats?: SelfServiceSeatOption[];

    public constructor(init?: Partial<SelfServiceSeatSection>) { (Object as any).assign(this, init); }
}

export class SelfServiceAvailableSeatsResult extends SelfServiceTransferResultBase
{
    public toEventId?: number;
    public toTicketTypeName?: string;
    public assignedSeatId?: number;
    public assignedSeatLabel?: string;
    public sections?: SelfServiceSeatSection[];
    public totalSeats?: number;
    public selectableSeats?: number;
    public truncated?: boolean;

    public constructor(init?: Partial<SelfServiceAvailableSeatsResult>) { super(init); (Object as any).assign(this, init); }
}

export class SelfServiceAvailableSeatsRequest
{
    public ticketTokenId?: string;
    public buyerPhone?: string;
    public toEventId?: number;
    public toOwnerTicketTypeId?: number;
    public toSeriesTicketTypeId?: number;

    public constructor(init?: Partial<SelfServiceAvailableSeatsRequest>) { (Object as any).assign(this, init); }
}

TypeScript 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>