Add Custom Attribute

This API is used to add a custom attribute associated with the specified event.
API used at host side event admin and super admin can access this API. It will return a response like type and message.
To call this API, user has to pass query param with API URL like eventURL, dataType, 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 return if any condition gets failed or required data is missing for processing.

Error Code

Error Description

200

Ok

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.

4060901

Attribute name already exist

4060910

Conditional question is not for starter plan, please upgrade your plan.

4060937

Conditional questions must have one parent question.

4060934

Conditional question's one record must present having 0 selectedAnsId.

4060935

At least 1 sub question is required.

Language
Authentication
Header
Click Try It! to start a request and see the response here!