| POST | /selfService/transferTicket/availableSeats | Seats a buyer may pick for a seated exchange, grouped by section and row |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| TicketTokenId | body | string | No | |
| BuyerPhone | body | string | No | |
| ToEventId | body | int | No | |
| ToOwnerTicketTypeId | body | int? | No | |
| ToSeriesTicketTypeId | body | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ToEventId | form | int | No | |
| ToTicketTypeName | form | string | No | |
| AssignedSeatId | form | int? | No | |
| AssignedSeatLabel | form | string | No | |
| Sections | form | List<SelfServiceSeatSection> | No | |
| TotalSeats | form | int | No | |
| SelectableSeats | form | int | No | |
| Truncated | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Ok | form | bool | No | |
| StatusCode | form | int | No | |
| Code | form | string | No | |
| Message | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| SectionId | form | int? | No | |
| SectionName | form | string | No | |
| PositionX | form | decimal? | No | |
| PositionY | form | decimal? | No | |
| Rotation | form | decimal? | No | |
| ViewType | form | string | No | |
| Seats | form | List<SelfServiceSeatOption> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| SeatId | form | int | No | |
| SeatName | form | string | No | |
| Label | form | string | No | |
| Status | form | string | No | |
| IsSeat | form | bool | No | |
| Selectable | form | bool | No | |
| PositionX | form | decimal? | No | |
| PositionY | form | decimal? | No | |
| Rotation | form | decimal? | No | |
| SortOrder | form | decimal? | No | |
| RowId | form | int? | No | |
| RowName | 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 /selfService/transferTicket/availableSeats HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
ticketTokenId: String,
buyerPhone: String,
toEventId: 0,
toOwnerTicketTypeId: 0,
toSeriesTicketTypeId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
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
}