POST leads/{id}/notes
Add a lead's noteRequest
URL ( requires authentication )
https://api-lease.crexi.com/leads/{id}/notesParameters
idinteger |
User Id Required |
Body Parameters
AssetIdinteger |
Optional |
Textstring |
Required |
Example
JSON
{ "AssetId": 1, "Text": "sample string 1" }
Response
Details
Returns added note (BuyerNoteData) and HTTP 200 OK if operation was successfull. Returns 400 Bad Request and an error message otherwise.
Data fields
AssetAssetInfoData |
|
CanDeleteboolean |
|
CreatedOndate |
|
CreatorUserInfoData |
|
Idinteger |
|
Textstring |
|
Example
JSON
{ "Asset": { "Description": "sample string 3", "Id": 1, "Name": "sample string 2", "ThumbnailUrl": "sample string 4", "UrlSlug": "sample string 5" }, "CanDelete": true, "CreatedOn": "2019-12-14T23:11:28.3993849+00:00", "Creator": { "Email": "sample string 2", "FirstName": "sample string 3", "Id": 1, "IndustryRoles": [ "sample string 1", "sample string 2" ], "LastName": "sample string 4", "Phone": "sample string 5", "ThumbnailUrl": "sample string 1" }, "Id": 1, "Text": "sample string 3" }