get https://api.accelevents.com/rest/host/ticketing//customAttribute/addon
This API is used to get all custom attributes associated with the specified event.
API used at host side event admin and super admin can access this API. It will return response like type and message.
To call this API, user have to pass query param with API URL like isForBuyer 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 |
---|---|
id | The Id returns a unique value associated with ticketing setting attribute. |
fieldName | This contains the return name of the attribute. |
enabledForTicketHolder | This contains whether the return field is enabled for the ticket holder. |
requiredForTicketHolder | This returns whether the field is required for the ticket holder. |
enabledForTicketPurchaser | This contains whether the field is enabled for the ticket purchaser. |
requiredForTicketPurchaser | This contains whether the field is required for the ticket purchaser. |
isDeletedForHolder | This contains whether the field is deleted for buyer. |
createdFrom | This is the createdFrom id. |
type | This contains the ticketing type. |
holderPosition | This contains the holder attribute position. |
buyerPosition | This contains the buyer attribute position. |
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. |