TicketUserServices

<back to all web services

TicketHoldReleaseRequest

The following routes are available for this service:
POST/ticketHold/release

export class CategoryHoldLine
{
    public eventSeriesTicketType?: number;
    public eventSeriesOwnerTicketType?: number;
    public quantity?: number;

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

export class CategoryAvailability
{
    public eventSeriesTicketType?: number;
    public eventSeriesOwnerTicketType?: number;
    public maxTickets?: number;
    public remaining?: number;

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

export class TicketHoldResult
{
    public statusCode?: number;
    public message?: string;
    public reservationTokenId?: string;
    public expiresUtc?: string;
    public lines?: CategoryHoldLine[];
    public perCategory?: CategoryAvailability[];
    public scarcity?: boolean;

    public constructor(init?: Partial<TicketHoldResult>) { (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 TicketHoldReleaseRequest
{
    public reservationTokenId?: string;
    public requestUnixUTCTimeStamp?: number;
    public signature?: RequestSignature;

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

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

{
	reservationTokenId: 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,
	reservationTokenId: String,
	expiresUtc: 0001-01-01,
	lines: 
	[
		{
			eventSeriesTicketType: 0,
			eventSeriesOwnerTicketType: 0,
			quantity: 0
		}
	],
	perCategory: 
	[
		{
			eventSeriesTicketType: 0,
			eventSeriesOwnerTicketType: 0,
			maxTickets: 0,
			remaining: 0
		}
	],
	scarcity: False
}