| 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 .xml suffix or ?format=xml
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/xml
Content-Type: application/xml
Content-Length: length
<ReseatQuoteRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<EventId>0</EventId>
<Moves>
<ReseatMovePair>
<FromSeatId>0</FromSeatId>
<ToOwnerTicketTypeId>0</ToOwnerTicketTypeId>
<ToSeatId>0</ToSeatId>
</ReseatMovePair>
</Moves>
</ReseatQuoteRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ReseatQuoteResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<Direction>String</Direction>
<Message>String</Message>
<Ok>false</Ok>
<PaymentReference>String</PaymentReference>
<PriceDifference>0</PriceDifference>
<RefundableViaBorgun>false</RefundableViaBorgun>
<Seats>
<ReseatSeatQuote>
<Difference>0</Difference>
<FromPrice>0</FromPrice>
<FromSeatId>0</FromSeatId>
<Message>String</Message>
<Ok>false</Ok>
<TicketTokenId>String</TicketTokenId>
<ToPrice>0</ToPrice>
<ToSeatId>0</ToSeatId>
<ToSeatName>String</ToSeatName>
<ToSectionName>String</ToSectionName>
</ReseatSeatQuote>
</Seats>
<StatusCode>0</StatusCode>
<TotalFromPrice>0</TotalFromPrice>
<TotalToPrice>0</TotalToPrice>
</ReseatQuoteResult>