TicketUserServices

<back to all web services

SelfServiceTransferQuoteRequest

Requires Authentication
The following routes are available for this service:
POST/selfService/transferTicket/quotePrice difference and eligibility for a prospective buyer-initiated exchange
import java.math.*
import java.util.*
import net.servicestack.client.*


open class SelfServiceTransferQuoteRequest
{
    var ticketTokenId:String? = null
    var buyerPhone:String? = null
    var toEventId:Int? = null
    var toOwnerTicketTypeId:Int? = null
    var toSeriesTicketTypeId:Int? = null
    var toSeatId:Int? = null
}

open class SelfServiceTransferQuoteResult : SelfServiceTransferResultBase()
{
    var direction:String? = null
    var priceDifference:BigDecimal? = null
    var sourceTicketPrice:BigDecimal? = null
    var targetTicketPrice:BigDecimal? = null
    var sourceEventId:Int? = null
    var sourceEventName:String? = null
    var sourceEventTimeOfEvent:Date? = null
    var toEventId:Int? = null
    var toEventName:String? = null
    var toEventTimeOfEvent:Date? = null
    var toTicketTypeName:String? = null
    var targetIsSeated:Boolean? = null
    var toSeatId:Int? = null
    var assignedSeatId:Int? = null
    var assignedSeatLabel:String? = null
    var ticketsLeft:Int? = null
    var saleStatus:String? = null
    var expectedPriceDifference:BigDecimal? = null
}

open class SelfServiceTransferResultBase
{
    var ok:Boolean? = null
    var statusCode:Int? = null
    var code:String? = null
    var message:String? = null
}

Kotlin SelfServiceTransferQuoteRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /selfService/transferTicket/quote HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"ticketTokenId":"String","buyerPhone":"String","toEventId":0,"toOwnerTicketTypeId":0,"toSeriesTicketTypeId":0,"toSeatId":0}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"direction":"String","priceDifference":0,"sourceTicketPrice":0,"targetTicketPrice":0,"sourceEventId":0,"sourceEventName":"String","sourceEventTimeOfEvent":"0001-01-01T00:00:00.0000000","toEventId":0,"toEventName":"String","toEventTimeOfEvent":"0001-01-01T00:00:00.0000000","toTicketTypeName":"String","targetIsSeated":false,"toSeatId":0,"assignedSeatId":0,"assignedSeatLabel":"String","ticketsLeft":0,"saleStatus":"String","expectedPriceDifference":0,"ok":false,"statusCode":0,"code":"String","message":"String"}