TicketUserServices

<back to all web services

EventSeatingTableActionsRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdminRequired permission:Tickets.Add
The following routes are available for this service:
POST/EventSeating/TableActions

export class EventSeatingTableActionResult
{
    public sectionId?: number;
    public sectionName?: string;
    public isTable?: boolean;
    public ok?: boolean;
    public error?: string;
    public blockedSeatIds?: number[];
    public unblockedSeatIds?: number[];
    public skippedSeatIds?: number[];
    public alreadyBlockedSeatIds?: number[];
    public isHidden?: boolean;
    public showSeats?: boolean;
    public note?: string;
    public viewType?: string;

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

export class EventSeatingTableActionsTotals
{
    public blocked?: number;
    public unblocked?: number;
    public skipped?: number;
    public sections?: number;
    public failed?: number;

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

export class EventSeatingTableActionsResult
{
    public statusCode?: number;
    public message?: string;
    public action?: string;
    public eventId?: number;
    public results?: EventSeatingTableActionResult[];
    public totals?: EventSeatingTableActionsTotals;
    public elapsedMs?: number;

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

export class EventSeatingTableActionsRequest
{
    public eventId?: number;
    public sectionIds?: number[];
    public action?: string;
    public note?: string;
    public blockedNote?: string;
    public tablesOnly?: boolean;

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

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

{
	eventId: 0,
	sectionIds: 
	[
		0
	],
	action: String,
	note: String,
	blockedNote: String,
	tablesOnly: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	statusCode: 0,
	message: String,
	action: String,
	eventId: 0,
	results: 
	[
		{
			sectionId: 0,
			sectionName: String,
			isTable: False,
			ok: False,
			error: String,
			blockedSeatIds: 
			[
				0
			],
			unblockedSeatIds: 
			[
				0
			],
			skippedSeatIds: 
			[
				0
			],
			alreadyBlockedSeatIds: 
			[
				0
			],
			isHidden: False,
			showSeats: False,
			note: String,
			viewType: String
		}
	],
	totals: 
	{
		blocked: 0,
		unblocked: 0,
		skipped: 0,
		sections: 0,
		failed: 0
	},
	elapsedMs: 0
}