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 .xml suffix or ?format=xml

HTTP + XML

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/xml
Content-Type: application/xml
Content-Length: length

<SelfServiceTransferConfirmRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <BuyerPhone>String</BuyerPhone>
  <ExpectedPriceDifference>0</ExpectedPriceDifference>
  <IdempotencyKey>String</IdempotencyKey>
  <TicketTokenId>String</TicketTokenId>
  <ToEventId>0</ToEventId>
  <ToOwnerTicketTypeId>0</ToOwnerTicketTypeId>
  <ToSeatId>0</ToSeatId>
  <ToSeriesTicketTypeId>0</ToSeriesTicketTypeId>
</SelfServiceTransferConfirmRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<SelfServiceTransferConfirmResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <Code>String</Code>
  <Message>String</Message>
  <Ok>false</Ok>
  <StatusCode>0</StatusCode>
  <AssignedSeatId>0</AssignedSeatId>
  <AssignedSeatLabel>String</AssignedSeatLabel>
  <Direction>String</Direction>
  <NewTicketTokenId>String</NewTicketTokenId>
  <OriginalTicketPrice>0</OriginalTicketPrice>
  <PriceDifference>0</PriceDifference>
  <TargetTicketPrice>0</TargetTicketPrice>
  <Topup>
    <AmountIsk>0</AmountIsk>
    <ExpiresAt>0001-01-01T00:00:00</ExpiresAt>
    <PaymentLinkUrl>String</PaymentLinkUrl>
    <SessionToken>String</SessionToken>
  </Topup>
  <TransferLogId>0</TransferLogId>
</SelfServiceTransferConfirmResult>