put https://api.accelevents.com/rest/host/ticketing/event//customAttribute/
This API is used to update 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 will have to pass query param with API URL like eventURL, attributeId, updateForBuyer, recurringEventId, customAttribute 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 |
---|---|
Type | This field returns type of message like success or error. |
message | Contains message for response that can be use for display to end user. |
Here is the possible error messages, which will return if any condition fails or required data is missing for processing.
Error Code | Error Description |
---|---|
200 | Successfully updated Custom Attribute. |
201 | Created. |
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 |
4060903 | Multiple choice question is only for enterprise plan, please upgrade your plan. |
4060902 | Attribute does not exists. |
4060910 | Conditional question is not available for starter plan, please upgrade your plan. |
4060937 | Conditional questions must have one parent question. |
4060934 | Conditional questions one record must present having 0 selectedAnsId. |
4060935 | At least 1 sub question is required. |