| Requires any of the roles: | Admin, TeamAdmin | Requires the permission: | ReadData |
| POST | /EventSeating/ReseatQuote |
|---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class ReseatQuoteRequest
{
var eventId:Int? = null
var moves:ArrayList<ReseatMovePair> = ArrayList<ReseatMovePair>()
}
open class ReseatMovePair
{
var fromSeatId:Int? = null
var toSeatId:Int? = null
var toOwnerTicketTypeId:Int? = null
}
open class ReseatQuoteResult
{
var ok:Boolean? = null
var statusCode:Int? = null
var message:String? = null
var totalFromPrice:BigDecimal? = null
var totalToPrice:BigDecimal? = null
var priceDifference:BigDecimal? = null
var direction:String? = null
var refundableViaBorgun:Boolean? = null
var paymentReference:String? = null
var seats:ArrayList<ReseatSeatQuote> = ArrayList<ReseatSeatQuote>()
}
open class ReseatSeatQuote
{
var fromSeatId:Int? = null
var toSeatId:Int? = null
var ticketTokenId:String? = null
var fromPrice:BigDecimal? = null
var toPrice:BigDecimal? = null
var difference:BigDecimal? = null
var toSectionName:String? = null
var toSeatName:String? = null
var ok:Boolean? = null
var message:String? = null
}
Kotlin ReseatQuoteRequest 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 /EventSeating/ReseatQuote HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: application/json
Content-Type: application/json
Content-Length: length
{"eventId":0,"moves":[{"fromSeatId":0,"toSeatId":0,"toOwnerTicketTypeId":0}]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"ok":false,"statusCode":0,"message":"String","totalFromPrice":0,"totalToPrice":0,"priceDifference":0,"direction":"String","refundableViaBorgun":false,"paymentReference":"String","seats":[{"fromSeatId":0,"toSeatId":0,"ticketTokenId":"String","fromPrice":0,"toPrice":0,"difference":0,"toSectionName":"String","toSeatName":"String","ok":false,"message":"String"}]}