TicketUserServices

<back to all web services

EventSeatingFindAndReserveRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileAppRequires the permission:ReadData
The following routes are available for this service:
POST/EventSeatingFindAndReserveFind best available seats and reserve them atomically
EventSeatingFindAndReserveRequest Parameters:
NameParameterData TypeRequiredDescription
EventIdbodyintNo
QuantitybodyintNo
SectionIdbodyint?No
ReservationTokenIdbodystringNo
PhoneVerificationNumberbodystringNo
SkipIndexbodyintNo
DeviceIdbodystringNo
RequestUnixUTCTimeStampbodylongNo
SignaturebodyRequestSignatureNo
RequestSignature Parameters:
NameParameterData TypeRequiredDescription
SystemIdformstringNo
SystemSecretformstringNo
SignatureformstringNo
EventSeatingFindAndReserveResult Parameters:
NameParameterData TypeRequiredDescription
StatusCodeformintNo
MessageformstringNo
ReservationTokenIdformstringNo
TotalCandidatesformintNo
SeatsformList<FoundSeat>No
FoundSeat Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
RowNameformstringNo
SectionNameformstringNo
SectionIdformintNo

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

HTTP + 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
		}
	]
}