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
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports TicketUserServices.ServiceModel

Namespace Global

    Namespace TicketUserServices.ServiceModel

        Public Partial Class SelfServiceTransferConfirmRequest
            Public Overridable Property TicketTokenId As String
            Public Overridable Property BuyerPhone As String
            Public Overridable Property ToEventId As Integer
            Public Overridable Property ToOwnerTicketTypeId As Nullable(Of Integer)
            Public Overridable Property ToSeriesTicketTypeId As Nullable(Of Integer)
            Public Overridable Property ToSeatId As Nullable(Of Integer)
            Public Overridable Property IdempotencyKey As String
            Public Overridable Property ExpectedPriceDifference As Decimal
        End Class

        Public Partial Class SelfServiceTransferConfirmResult
            Inherits SelfServiceTransferResultBase
            Public Overridable Property TransferLogId As Nullable(Of Integer)
            Public Overridable Property NewTicketTokenId As String
            Public Overridable Property Direction As String
            Public Overridable Property PriceDifference As Nullable(Of Decimal)
            Public Overridable Property OriginalTicketPrice As Nullable(Of Decimal)
            Public Overridable Property TargetTicketPrice As Nullable(Of Decimal)
            Public Overridable Property AssignedSeatId As Nullable(Of Integer)
            Public Overridable Property AssignedSeatLabel As String
            Public Overridable Property Topup As TransferTopupInstruction
        End Class

        Public Partial Class SelfServiceTransferResultBase
            Public Overridable Property Ok As Boolean
            Public Overridable Property StatusCode As Integer
            Public Overridable Property Code As String
            Public Overridable Property Message As String
        End Class

        Public Partial Class TransferTopupInstruction
            Public Overridable Property AmountIsk As Decimal
            Public Overridable Property PaymentLinkUrl As String
            Public Overridable Property SessionToken As String
            Public Overridable Property ExpiresAt As Nullable(Of Date)
        End Class
    End Namespace
End Namespace

VB.NET SelfServiceTransferConfirmRequest 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/confirm 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,
	idempotencyKey: String,
	expectedPriceDifference: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
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-01
	},
	ok: False,
	statusCode: 0,
	code: String,
	message: String
}