| POST | /selfService/transferTicket/targetTicketTypes | Ticket types on the target event a buyer may exchange into, with per-option price difference and blocking reason |
|---|
export class SelfServiceTransferResultBase
{
public ok?: boolean;
public statusCode?: number;
public code?: string;
public message?: string;
public constructor(init?: Partial<SelfServiceTransferResultBase>) { (Object as any).assign(this, init); }
}
export class SelfServiceTargetTicketTypeOption
{
public ownerTicketTypeId?: number;
public seriesTicketTypeId?: number;
public name?: string;
public price?: number;
public direction?: string;
public priceDifference?: number;
public nameMatchesSource?: boolean;
public selectable?: boolean;
public blockedReason?: string;
public blockedMessage?: string;
public maxTickets?: number;
public ticketsSold?: number;
public ticketsLeft?: number;
public saleStatus?: string;
public saleStartsUTC?: string;
public saleEndsUTC?: string;
public constructor(init?: Partial<SelfServiceTargetTicketTypeOption>) { (Object as any).assign(this, init); }
}
export class SelfServiceTransferTargetTicketTypesResult extends SelfServiceTransferResultBase
{
public sourceTicketPrice?: number;
public sourceTicketTypeName?: string;
public toEventId?: number;
public targetIsSeated?: boolean;
public options?: SelfServiceTargetTicketTypeOption[];
public constructor(init?: Partial<SelfServiceTransferTargetTicketTypesResult>) { super(init); (Object as any).assign(this, init); }
}
export class SelfServiceTransferTargetTicketTypesRequest
{
public ticketTokenId?: string;
public buyerPhone?: string;
public toEventId?: number;
public sectionId?: number;
public constructor(init?: Partial<SelfServiceTransferTargetTicketTypesRequest>) { (Object as any).assign(this, init); }
}
TypeScript SelfServiceTransferTargetTicketTypesRequest 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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /selfService/transferTicket/targetTicketTypes HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: application/json
Content-Type: application/json
Content-Length: length
{"ticketTokenId":"String","buyerPhone":"String","toEventId":0,"sectionId":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"sourceTicketPrice":0,"sourceTicketTypeName":"String","toEventId":0,"targetIsSeated":false,"options":[{"ownerTicketTypeId":0,"seriesTicketTypeId":0,"name":"String","price":0,"direction":"String","priceDifference":0,"nameMatchesSource":false,"selectable":false,"blockedReason":"String","blockedMessage":"String","maxTickets":0,"ticketsSold":0,"ticketsLeft":0,"saleStatus":"String","saleStartsUTC":"0001-01-01T00:00:00.0000000","saleEndsUTC":"0001-01-01T00:00:00.0000000"}],"ok":false,"statusCode":0,"code":"String","message":"String"}