This API used to Add Lead Details of the specified event.
To call this API, user have to pass path param with API URL like eventUrl, id and request body params like leadDetail and authentication key to authenticate user.
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 is the possible error messages, which return if any condition gets failed or required data is missing for processing.
|Error Code||Error Description|
|200||Successfully added lead details|
|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|
|4060908||Lead retriver allowed is not enabled for this exhibitor|
|4069101||Only 50 Characters are allowed in firstName|
|4069102||Only 50 Characters are allowed in lastName|
|4069103||Only 75 Characters are allowed in email|
|4060909||You have already used your ticket|
|4068001||Attendee Not Found|
|4060911||Lead Not exists|
|4060923||Exhibitor already exists|