get https://api.accelevents.com/rest/host/ticketing//getTicketingTypeSettings
This API is used to get all ticketing type settings associated with the specified event. API is used as host side event admin and super admin can access this API. It will return data like allowDisagreeDisclaimerConfirmation, seating, eventCapacity, showRemainingTickets, showRegistrationButton and other details.
To call this API, user will have to pass query parameter with API URL like recurringEventId and authentication key to authenticate user.
Here is the description of response attributes, which returns to the form of JSON.
It will return a success message if API execute successfully.
Attribute | Description |
---|---|
allowEditingOfDisclaimer | This allows editing of disclaimer. |
customDisclaimer | This contains a custom disclaimer. |
isSeating | This contains whether the ticketing type has seating or not. |
showRemainingTickets | This contains whether remaining tickets are shown on the display page. |
requireDisclaimerConfirmation | This allows a disclaimer confirmation before checkout. |
allowDisagreeDisclaimerConfirmation | This allow a disagree disclaimer confirmation before checkout. |
limitEventCapacity | This contains the limit event capacity. |
eventCapacity | This contains the event capacity. |
showRegistrationButton | This contains the show registration button on the display page. |
showTicketPrice | This allows you to show ticket price on the display page. |
Here is the possible error messages, which return if any condition gets failed or required data is missing for processing.
Attribute | Description |
---|---|
200 | Ok |
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. |
4030201 | Not Event Host. |