| Requires any of the roles: | Admin, TeamAdmin, MobileApp | Requires the permission: | ReadData |
| POST | /EventSeatingFindAndReserve | Find best available seats and reserve them atomically |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| EventId | body | int | No | |
| Quantity | body | int | No | |
| SectionId | body | int? | No | |
| ReservationTokenId | body | string | No | |
| PhoneVerificationNumber | body | string | No | |
| SkipIndex | body | int | No | |
| DeviceId | body | string | No | |
| RequestUnixUTCTimeStamp | body | long | No | |
| Signature | body | RequestSignature | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| SystemId | form | string | No | |
| SystemSecret | form | string | No | |
| Signature | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| StatusCode | form | int | No | |
| Message | form | string | No | |
| ReservationTokenId | form | string | No | |
| TotalCandidates | form | int | No | |
| Seats | form | List<FoundSeat> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| Name | form | string | No | |
| RowName | form | string | No | |
| SectionName | form | string | No | |
| SectionId | form | int | 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 /EventSeatingFindAndReserve HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
eventId: 0,
quantity: 0,
sectionId: 0,
reservationTokenId: String,
phoneVerificationNumber: String,
skipIndex: 0,
deviceId: String,
requestUnixUTCTimeStamp: 0,
signature:
{
systemId: String,
systemSecret: String,
signature: String
}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
statusCode: 0,
message: String,
reservationTokenId: String,
totalCandidates: 0,
seats:
[
{
id: 0,
name: String,
rowName: String,
sectionName: String,
sectionId: 0
}
]
}