TicketUserServices

<back to all web services

SelfServiceTransferConfirmRequest

Requires Authentication
The following routes are available for this service:
POST/selfService/transferTicket/confirmExecute a buyer-initiated ticket 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 TransferTopupInstruction
{
    public amountIsk?: number;
    public paymentLinkUrl?: string;
    public sessionToken?: string;
    public expiresAt?: string;

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

export class SelfServiceTransferConfirmResult extends SelfServiceTransferResultBase
{
    public transferLogId?: number;
    public newTicketTokenId?: string;
    public direction?: string;
    public priceDifference?: number;
    public originalTicketPrice?: number;
    public targetTicketPrice?: number;
    public assignedSeatId?: number;
    public assignedSeatLabel?: string;
    public topup?: TransferTopupInstruction;

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

export class SelfServiceTransferConfirmRequest
{
    public ticketTokenId?: string;
    public buyerPhone?: string;
    public toEventId?: number;
    public toOwnerTicketTypeId?: number;
    public toSeriesTicketTypeId?: number;
    public toSeatId?: number;
    public idempotencyKey?: string;
    public expectedPriceDifference?: number;

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

TypeScript SelfServiceTransferConfirmRequest 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 /selfService/transferTicket/confirm HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"ticketTokenId":"String","buyerPhone":"String","toEventId":0,"toOwnerTicketTypeId":0,"toSeriesTicketTypeId":0,"toSeatId":0,"idempotencyKey":"String","expectedPriceDifference":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"transferLogId":0,"newTicketTokenId":"String","direction":"String","priceDifference":0,"originalTicketPrice":0,"targetTicketPrice":0,"assignedSeatId":0,"assignedSeatLabel":"String","topup":{"amountIsk":0,"paymentLinkUrl":"String","sessionToken":"String","expiresAt":"0001-01-01T00:00:00.0000000"},"ok":false,"statusCode":0,"code":"String","message":"String"}