get https://api.accelevents.com/rest/host/ticketing//settings
This API Used to get ticketing setting associated with the specified event. API used at host side event admin and super admin can access this API. It will return data like allowAttendeeToEditInfo, collectAddOnAttribute, holderAttribute, eventURL, attributes and other details.
To call this API, user have to pass query param 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 |
---|---|
eventURL | Event url is unique identifier for your event. E.g https://www.accelevents.com/events/demo. Here demo is the event url. |
attributes | This contains the list of attributes which will be displayed as the following: id: The id returns unique value associated with Ticket setting attribute. fieldName: It's contains the name of ticketing attribute. enabledForTicketHolder: It's field is enabled for ticketing holder. requiredForTicketHolder: It's contains the field is required for holder. enabledForTicketPurchaser: It's contains the field is enabled for purchaser. requiredForTicketPurchaser: It's contains the field is required for purchaser. isDeletedForHolder: It's contains the field is deleted for holder. isDeletedForBuyer: It's contains the field is deleted for buyer. createdFrom: This is createdFrom id. type: It's contains the ticketing type. holderPosition: It's contains the holder attribute position. buyerPosition: It's contains the buyer attribute position. |
holderAttribute | This attribute determines whether a ticket holder is allowed. |
collectAddOnAttribute | This attribute determines whether the purchaser or ticket holder are allowed to have add on's. |
allowAttendeeToEditInfo | This allows editing of attendee information. |
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 | 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. |