post https://api.accelevents.com/rest/event//exhibitor//generate-auto-lead
This API used to Create lead by logged-in user with the specified event.
To call this API, user have to pass path param with API URL like exhibitorId, eventUrl, query params like isRequestedDemo, staffId and authentication key to authenticate user.
Response
Here is the description of response attributes, which returns to the form of JSON Array.
Attributes | Description |
---|---|
string | This field returns a success message. |
Error Code
Here are the possible error messages, which return if any condition gets failed or required data is missing for processing.
Error Code | Error Description |
---|---|
200 | Lead generated |
201 | Created |
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 |
4040200 | Event Not Found |
4040508 | This user has not bought any tickets yet. |
4040027 | Exhibitor not found |
4060916 | Not allow to auto generate lead by event host |
4060908 | Lead retriver allowed is not enabled for this exhibitor |
4060909 | You have already used your ticket |