Here is the description of response attributes, which returns to the form of JSON.
It will return a success message if API execute successfully.
|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.|
|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.|