| Requires any of the roles: | Admin, TeamAdmin | Requires the permission: | ReadData |
| POST | /EventSeating/ReseatQuote |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| EventId | body | int | No | |
| Moves | body | List<ReseatMovePair> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| FromSeatId | form | int | No | |
| ToSeatId | form | int | No | |
| ToOwnerTicketTypeId | form | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Ok | form | bool | No | |
| StatusCode | form | int | No | |
| Message | form | string | No | |
| TotalFromPrice | form | decimal | No | |
| TotalToPrice | form | decimal | No | |
| PriceDifference | form | decimal | No | |
| Direction | form | string | No | |
| RefundableViaBorgun | form | bool | No | |
| PaymentReference | form | string | No | |
| Seats | form | List<ReseatSeatQuote> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| FromSeatId | form | int | No | |
| ToSeatId | form | int | No | |
| TicketTokenId | form | string | No | |
| FromPrice | form | decimal | No | |
| ToPrice | form | decimal | No | |
| Difference | form | decimal | No | |
| ToSectionName | form | string | No | |
| ToSeatName | form | string | No | |
| Ok | form | bool | No | |
| Message | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
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: text/jsv
Content-Type: text/jsv
Content-Length: length
{
eventId: 0,
moves:
[
{
fromSeatId: 0,
toSeatId: 0,
toOwnerTicketTypeId: 0
}
]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
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
}
]
}