1101: Get lead source fields
Returns the required and optional fields used in Lead creation.
Endpoint ID: | 1101 | ||
Method | GET | ||
URL: | /entity/lead/{leadSourceID} | ||
leadSourceID | A GUID identifying the type of Lead to create | ||
Request body: | None | ||
Response body: | The response contains 3 arrays:Â
{ "keys": [ "email", "mobile" ], "data": [ { "name": "name", "type": "text", "required": true }, { "name": "address", "type": "text", "required": false } ], "context": [ { "name": "pageUrl", "type": "text", "required": false }, { "name": "campaignID", "type": "number", "required": true } ] } | ||
Status codes: | HttpStatusCode | ApiStatusSubCode | Description |
200 | Success | ||
404 | 404.4 |
|