POST leads/{id}/notes

Add a lead's note

Request

URL ( requires authentication )

https://api.crexi.com/leads/{id}/notes

Parameters

id

integer

User Id

Required

Body Parameters

AssetId

integer

Optional

Text

string

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

Asset

AssetInfoData

CanDelete

boolean

CreatedOn

date

Creator

UserInfoData

Id

integer

Text

string

Example

JSON

{
  "Asset": {
    "Description": "sample string 3",
    "Id": 1,
    "IsPrivate": true,
    "Name": "sample string 2",
    "ThumbnailUrl": "sample string 4",
    "UrlSlug": "sample string 6"
  },
  "CanDelete": true,
  "CreatedOn": "2019-08-23T03:02:48.6177471+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"
}