| POST | /selfService/transferTicket/availableSeats | Seats a buyer may pick for a seated exchange, grouped by section and row |
|---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class SelfServiceAvailableSeatsRequest
{
var ticketTokenId:String? = null
var buyerPhone:String? = null
var toEventId:Int? = null
var toOwnerTicketTypeId:Int? = null
var toSeriesTicketTypeId:Int? = null
}
open class SelfServiceAvailableSeatsResult : SelfServiceTransferResultBase()
{
var toEventId:Int? = null
var toTicketTypeName:String? = null
var assignedSeatId:Int? = null
var assignedSeatLabel:String? = null
var sections:ArrayList<SelfServiceSeatSection> = ArrayList<SelfServiceSeatSection>()
var totalSeats:Int? = null
var selectableSeats:Int? = null
var truncated:Boolean? = null
}
open class SelfServiceTransferResultBase
{
var ok:Boolean? = null
var statusCode:Int? = null
var code:String? = null
var message:String? = null
}
open class SelfServiceSeatSection
{
var sectionId:Int? = null
var sectionName:String? = null
var positionX:BigDecimal? = null
var positionY:BigDecimal? = null
var rotation:BigDecimal? = null
var viewType:String? = null
var seats:ArrayList<SelfServiceSeatOption> = ArrayList<SelfServiceSeatOption>()
}
open class SelfServiceSeatOption
{
var seatId:Int? = null
var seatName:String? = null
var label:String? = null
var status:String? = null
var isSeat:Boolean? = null
var selectable:Boolean? = null
var positionX:BigDecimal? = null
var positionY:BigDecimal? = null
var rotation:BigDecimal? = null
var sortOrder:BigDecimal? = null
var rowId:Int? = null
var rowName:String? = null
}
Kotlin SelfServiceAvailableSeatsRequest DTOs
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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /selfService/transferTicket/availableSeats 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}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"toEventId":0,"toTicketTypeName":"String","assignedSeatId":0,"assignedSeatLabel":"String","sections":[{"sectionId":0,"sectionName":"String","positionX":0,"positionY":0,"rotation":0,"viewType":"String","seats":[{"seatId":0,"seatName":"String","label":"String","status":"String","isSeat":false,"selectable":false,"positionX":0,"positionY":0,"rotation":0,"sortOrder":0,"rowId":0,"rowName":"String"}]}],"totalSeats":0,"selectableSeats":0,"truncated":false,"ok":false,"statusCode":0,"code":"String","message":"String"}