TicketUserServices

<back to all web services

EventSeatingTableActionsRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdminRequired permission:Tickets.Add
The following routes are available for this service:
POST/EventSeating/TableActions
EventSeatingTableActionsRequest Parameters:
NameParameterData TypeRequiredDescription
EventIdbodyintNo
SectionIdsbodyList<int>No
ActionbodystringNo
NotebodystringNo
BlockedNotebodystringNo
TablesOnlybodyboolNo
EventSeatingTableActionsResult Parameters:
NameParameterData TypeRequiredDescription
StatusCodeformintNo
MessageformstringNo
ActionformstringNo
EventIdformintNo
ResultsformList<EventSeatingTableActionResult>No
TotalsformEventSeatingTableActionsTotalsNo
ElapsedMsformlongNo
EventSeatingTableActionResult Parameters:
NameParameterData TypeRequiredDescription
SectionIdformintNo
SectionNameformstringNo
IsTableformboolNo
OkformboolNo
ErrorformstringNo
BlockedSeatIdsformList<int>No
UnblockedSeatIdsformList<int>No
SkippedSeatIdsformList<int>No
AlreadyBlockedSeatIdsformList<int>No
IsHiddenformboolNo
ShowSeatsformboolNo
NoteformstringNo
ViewTypeformstringNo
EventSeatingTableActionsTotals Parameters:
NameParameterData TypeRequiredDescription
BlockedformintNo
UnblockedformintNo
SkippedformintNo
SectionsformintNo
FailedformintNo

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /EventSeating/TableActions HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"eventId":0,"sectionIds":[0],"action":"String","note":"String","blockedNote":"String","tablesOnly":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"statusCode":0,"message":"String","action":"String","eventId":0,"results":[{"sectionId":0,"sectionName":"String","isTable":false,"ok":false,"error":"String","blockedSeatIds":[0],"unblockedSeatIds":[0],"skippedSeatIds":[0],"alreadyBlockedSeatIds":[0],"isHidden":false,"showSeats":false,"note":"String","viewType":"String"}],"totals":{"blocked":0,"unblocked":0,"skipped":0,"sections":0,"failed":0},"elapsedMs":0}