TicketUserServices

<back to all web services

VenueSeatingArrangementTicketTypePreviewRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileAppRequired permission:Tickets.Add
The following routes are available for this service:
GET/VenueSeatingArrangement/TicketTypePreview/{ArrangementId}

export class TemplateTicketTypePreviewItem
{
    public ownerTicketTypeId?: number;
    public name?: string;
    public defaultPrice?: number;
    public currency?: string;
    public maxTickets?: number;
    public sectionCount?: number;
    public sectionNames?: string[];
    public hiddenFromSale?: boolean;
    public typeCreatedAt?: string;
    public lastSoldAt?: string;
    public connectionIds?: number[];

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

export class VenueSeatingArrangementTicketTypePreviewResponse
{
    public arrangementId?: number;
    public venueId?: number;
    public ticketTypes?: TemplateTicketTypePreviewItem[];
    public statusCode?: number;
    public message?: string;

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

export class VenueSeatingArrangementTicketTypePreviewRequest
{
    public arrangementId?: number;

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

TypeScript VenueSeatingArrangementTicketTypePreviewRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /VenueSeatingArrangement/TicketTypePreview/{ArrangementId} HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"arrangementId":0,"venueId":0,"ticketTypes":[{"ownerTicketTypeId":0,"name":"String","defaultPrice":0,"currency":"String","maxTickets":0,"sectionCount":0,"sectionNames":["String"],"hiddenFromSale":false,"typeCreatedAt":"0001-01-01T00:00:00.0000000","lastSoldAt":"0001-01-01T00:00:00.0000000","connectionIds":[0]}],"statusCode":0,"message":"String"}