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 .jsv suffix or ?format=jsv

HTTP + JSV

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: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	ticketTokenId: String,
	buyerPhone: String,
	toEventId: 0,
	toOwnerTicketTypeId: 0,
	toSeriesTicketTypeId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	toEventId: 0,
	toTicketTypeName: String,
	assignedSeatId: 0,
	assignedSeatLabel: String,
	sections: 
	[
		{
			sectionId: 0,
			sectionName: String,
			positionX: 0,
			positionY: 0,
			rotation: 0,
			viewType: String,
			seats: 
			[
				{
					seatId: 0,
					seatName: String,
					label: String,
					status: String,
					isSeat: False,
					selectable: False,
					positionX: 0,
					positionY: 0,
					rotation: 0,
					sortOrder: 0,
					rowId: 0,
					rowName: String
				}
			]
		}
	],
	totalSeats: 0,
	selectableSeats: 0,
	truncated: False,
	ok: False,
	statusCode: 0,
	code: String,
	message: String
}