TicketUserServices

<back to all web services

SelfServiceAvailableSeatsRequest

Requires Authentication
The following routes are available for this service:
POST/selfService/transferTicket/availableSeatsSeats a buyer may pick for a seated exchange, grouped by section and row
SelfServiceAvailableSeatsRequest Parameters:
NameParameterData TypeRequiredDescription
TicketTokenIdbodystringNo
BuyerPhonebodystringNo
ToEventIdbodyintNo
ToOwnerTicketTypeIdbodyint?No
ToSeriesTicketTypeIdbodyint?No
SelfServiceAvailableSeatsResult Parameters:
NameParameterData TypeRequiredDescription
ToEventIdformintNo
ToTicketTypeNameformstringNo
AssignedSeatIdformint?No
AssignedSeatLabelformstringNo
SectionsformList<SelfServiceSeatSection>No
TotalSeatsformintNo
SelectableSeatsformintNo
TruncatedformboolNo
SelfServiceTransferResultBase Parameters:
NameParameterData TypeRequiredDescription
OkformboolNo
StatusCodeformintNo
CodeformstringNo
MessageformstringNo
SelfServiceSeatSection Parameters:
NameParameterData TypeRequiredDescription
SectionIdformint?No
SectionNameformstringNo
PositionXformdecimal?No
PositionYformdecimal?No
Rotationformdecimal?No
ViewTypeformstringNo
SeatsformList<SelfServiceSeatOption>No
SelfServiceSeatOption Parameters:
NameParameterData TypeRequiredDescription
SeatIdformintNo
SeatNameformstringNo
LabelformstringNo
StatusformstringNo
IsSeatformboolNo
SelectableformboolNo
PositionXformdecimal?No
PositionYformdecimal?No
Rotationformdecimal?No
SortOrderformdecimal?No
RowIdformint?No
RowNameformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

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/csv
Content-Type: text/csv
Content-Length: length

{"ticketTokenId":"String","buyerPhone":"String","toEventId":0,"toOwnerTicketTypeId":0,"toSeriesTicketTypeId":0}
HTTP/1.1 200 OK
Content-Type: text/csv
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"}