Here is the description of response attributes, which returns to the form of JSON.
|type||This field returns Type of api response. i.e Success or Fail.|
|message||This field returns message for response that can be use for display to end user.|
Here are the possible error messages that return if any condition fails or required data is missing for processing.
|Error Code||Error Description|
|200||Lead updated for event|
|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.|
|40600013||Cant create url|
|4040200||Event Not Found|
|4030201||Not Event Host|
|4060911||Lead Not exists|
|4069101||Only 50 Characters are allowed in firstName|
|4069102||Only 50 Characters are allowed in lastName|
|4069103||Only 75 Characters are allowed in email|