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 .xml suffix or ?format=xml

HTTP + XML

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: application/xml
Content-Type: application/xml
Content-Length: length

<EventSeatingFindAndReserveRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <DeviceId>String</DeviceId>
  <EventId>0</EventId>
  <PhoneVerificationNumber>String</PhoneVerificationNumber>
  <Quantity>0</Quantity>
  <RequestUnixUTCTimeStamp>0</RequestUnixUTCTimeStamp>
  <ReservationTokenId>String</ReservationTokenId>
  <SectionId>0</SectionId>
  <Signature>
    <Signature>String</Signature>
    <SystemId>String</SystemId>
    <SystemSecret>String</SystemSecret>
  </Signature>
  <SkipIndex>0</SkipIndex>
</EventSeatingFindAndReserveRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<EventSeatingFindAndReserveResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <Message>String</Message>
  <ReservationTokenId>String</ReservationTokenId>
  <Seats>
    <FoundSeat>
      <Id>0</Id>
      <Name>String</Name>
      <RowName>String</RowName>
      <SectionId>0</SectionId>
      <SectionName>String</SectionName>
    </FoundSeat>
  </Seats>
  <StatusCode>0</StatusCode>
  <TotalCandidates>0</TotalCandidates>
</EventSeatingFindAndReserveResult>