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 .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"}