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
SelfServiceTransferConfirmRequest Parameters:
NameParameterData TypeRequiredDescription
TicketTokenIdbodystringNo
BuyerPhonebodystringNo
ToEventIdbodyintNo
ToOwnerTicketTypeIdbodyint?No
ToSeriesTicketTypeIdbodyint?No
ToSeatIdbodyint?No
IdempotencyKeybodystringNo
ExpectedPriceDifferencebodydecimalNo
SelfServiceTransferConfirmResult Parameters:
NameParameterData TypeRequiredDescription
TransferLogIdformint?No
NewTicketTokenIdformstringNo
DirectionformstringNo
PriceDifferenceformdecimal?No
OriginalTicketPriceformdecimal?No
TargetTicketPriceformdecimal?No
AssignedSeatIdformint?No
AssignedSeatLabelformstringNo
TopupformTransferTopupInstructionNo
SelfServiceTransferResultBase Parameters:
NameParameterData TypeRequiredDescription
OkformboolNo
StatusCodeformintNo
CodeformstringNo
MessageformstringNo
TransferTopupInstruction Parameters:
NameParameterData TypeRequiredDescription
AmountIskformdecimalNo
PaymentLinkUrlformstringNo
SessionTokenformstringNo
ExpiresAtformDateTime?No

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>