TicketUserServices

<back to all web services

EventSeatingMoveConfirmedSeatsRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdminRequires the permission:ReadData
The following routes are available for this service:
POST/EventSeatingMoveConfirmedSeats

export class MoveConfirmedSeatFailure
{
    public fromSeatId?: number;
    public toSeatId?: number;
    public reason?: string;

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

export class EventSeatingMoveConfirmedSeatsResult
{
    public statusCode?: number;
    public message?: string;
    public movedSeatIds?: number[];
    public failures?: MoveConfirmedSeatFailure[];

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

export class MoveConfirmedSeatPair
{
    public fromSeatId?: number;
    public toSeatId?: number;

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

export class RequestSignature
{
    public systemId?: string;
    public systemSecret?: string;
    public signature?: string;

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

export class EventSeatingMoveConfirmedSeatsRequest
{
    public eventId?: number;
    public moves?: MoveConfirmedSeatPair[];
    public allowCrossSection?: boolean;
    public reason?: string;
    public requestUnixUTCTimeStamp?: number;
    public signature?: RequestSignature;

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

TypeScript EventSeatingMoveConfirmedSeatsRequest 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 /EventSeatingMoveConfirmedSeats HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	eventId: 0,
	moves: 
	[
		{
			fromSeatId: 0,
			toSeatId: 0
		}
	],
	allowCrossSection: False,
	reason: String,
	requestUnixUTCTimeStamp: 0,
	signature: 
	{
		systemId: String,
		systemSecret: String,
		signature: String
	}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	statusCode: 0,
	message: String,
	movedSeatIds: 
	[
		0
	],
	failures: 
	[
		{
			fromSeatId: 0,
			toSeatId: 0,
			reason: String
		}
	]
}