TicketUserServices

<back to all web services

TransferTargetTicketTypesRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdminRequires the permission:ReadData
The following routes are available for this service:
POST/transferTicket/targetTicketTypesList all ticket types available on the target event with price diff vs source

export class TransferTargetTicketTypeOption
{
    public ownerTicketTypeId?: number;
    public seriesTicketTypeId?: number;
    public name?: string;
    public price?: number;
    public direction?: string;
    public priceDifference?: number;
    public nameMatchesSource?: boolean;
    public blockTransfer?: boolean;
    public hidden?: boolean;
    public maxTickets?: number;
    public ticketsSold?: number;
    public ticketsLeft?: number;

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

export class TransferTargetTicketTypesResult
{
    public ok?: boolean;
    public statusCode?: number;
    public code?: string;
    public message?: string;
    public sourceTicketPrice?: number;
    public sourceTicketTypeName?: string;
    public options?: TransferTargetTicketTypeOption[];

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

export class TransferTargetTicketTypesRequest
{
    public ticketTokenId?: string;
    public toEventId?: number;
    public sectionId?: number;

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

TypeScript TransferTargetTicketTypesRequest 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.

POST /transferTicket/targetTicketTypes HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"ticketTokenId":"String","toEventId":0,"sectionId":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ok":false,"statusCode":0,"code":"String","message":"String","sourceTicketPrice":0,"sourceTicketTypeName":"String","options":[{"ownerTicketTypeId":0,"seriesTicketTypeId":0,"name":"String","price":0,"direction":"String","priceDifference":0,"nameMatchesSource":false,"blockTransfer":false,"hidden":false,"maxTickets":0,"ticketsSold":0,"ticketsLeft":0}]}