get https://api.accelevents.com/rest/events//ticketing/seatingCategories
This API used to get all available category for the seating type ticketing associated with the specified event.
This API can be access by event admin and super admin. It will return attributes data like key, category, label, price, ticketTypes, recurringChartKey and many others.
To call this API, user have to pass query param with API URL like eventurl, recurringEventId and authentication key to authenticate user.
Here is the description of response attributes, which returns to the form of JSON.
Attribute | Description |
---|---|
key | It's contains the category Id stored as ticket type Id. |
category | It contains is category id. |
ticketTypes | It's contains the category ticket types. ticketType: It contains is ticket type id. label: It contains is ticket type label. price: It's contains the ticket type price. createdFrom: It contains the ticket type created from. isHidden: It contains is category ticket type hidden? accessCodeAssociated: IS Access code associated. |
recurringChartKey | It's contains the chart key from recurring event. |
eventOrRecurringEventId | It's contains the recurring event id from recurring event. |
Here is the possible error messages, which return if any condition gets failed or required data is missing for processing.
Error Code | Error Description |
---|---|
200 | array of categories dto type. |
400 | The request could not be understood by the server due to malformed syntax. |
401 | You are not authorized to view the resource. |
403 | Accessing the resource you were trying to reach is forbidden. |
404 | The resource you were trying to reach is not found. |