...
Excerpt |
---|
Creates a new Lead entity. The |
Endpoint ID: | 1100 | |||||||||||||
Method |
| |||||||||||||
URL: | / | userentity/lead/{leadSourceID} | ||||||||||||
leadSourceID | A GUID identifying the type of Lead to create | |||||||||||||
Request body: | JSON data with properties corresponding to the fields in the specified Lead type
| |||||||||||||
| NoneThe Rubiq ID of the newly created lead entity is returned, unless the lead source has been configured to not create entities, in which case an empty JSON block
| |||||||||||||
Status codes: | 201HttpStatusCode | ApiStatusSubCode | Description | |||||||||||
200 | Lead created | |||||||||||||
400 | Request is valid but data validation failed | |||||||||||||
400.1 | Inactive leadSourceID | |||||||||||||
400.3 | Required keys field missing | |||||||||||||
400.4 | Required data field missing | |||||||||||||
400.5 | Required context field missing | |||||||||||||
404 | 404.4 |
|