TicketUserServices

<back to all web services

SelfServiceTransferQuoteRequest

Requires Authentication
The following routes are available for this service:
POST/selfService/transferTicket/quotePrice difference and eligibility for a prospective buyer-initiated exchange

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 SelfServiceTransferQuoteResult extends SelfServiceTransferResultBase
{
    public direction?: string;
    public priceDifference?: number;
    public sourceTicketPrice?: number;
    public targetTicketPrice?: number;
    public sourceEventId?: number;
    public sourceEventName?: string;
    public sourceEventTimeOfEvent?: string;
    public toEventId?: number;
    public toEventName?: string;
    public toEventTimeOfEvent?: string;
    public toTicketTypeName?: string;
    public targetIsSeated?: boolean;
    public toSeatId?: number;
    public assignedSeatId?: number;
    public assignedSeatLabel?: string;
    public ticketsLeft?: number;
    public saleStatus?: string;
    public expectedPriceDifference?: number;

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

export class SelfServiceTransferQuoteRequest
{
    public ticketTokenId?: string;
    public buyerPhone?: string;
    public toEventId?: number;
    public toOwnerTicketTypeId?: number;
    public toSeriesTicketTypeId?: number;
    public toSeatId?: number;

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

TypeScript SelfServiceTransferQuoteRequest 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 /selfService/transferTicket/quote HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	ticketTokenId: String,
	buyerPhone: String,
	toEventId: 0,
	toOwnerTicketTypeId: 0,
	toSeriesTicketTypeId: 0,
	toSeatId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	direction: String,
	priceDifference: 0,
	sourceTicketPrice: 0,
	targetTicketPrice: 0,
	sourceEventId: 0,
	sourceEventName: String,
	sourceEventTimeOfEvent: 0001-01-01,
	toEventId: 0,
	toEventName: String,
	toEventTimeOfEvent: 0001-01-01,
	toTicketTypeName: String,
	targetIsSeated: False,
	toSeatId: 0,
	assignedSeatId: 0,
	assignedSeatLabel: String,
	ticketsLeft: 0,
	saleStatus: String,
	expectedPriceDifference: 0,
	ok: False,
	statusCode: 0,
	code: String,
	message: String
}