POST assets/{id}/contact-buyer-messages

Send a message to buyers. Email is sent to buyers defined by BuyerIds parameter.

Request

URL ( requires broker or seller team member authentication )

https://api-lease.crexi.com/assets/{id}/contact-buyer-messages

Parameters

id

integer

Asset Id

Required

Body Parameters

AssetLinkIsAttached

boolean

Optional

Attachments

Collection of Attachment

Optional

Max length: 10

BuyerIds

Collection of integer

Required

CCEmails

string

Optional

FloorplanLinkIsAttached

boolean

Optional

FlyerLinkIsAttached

boolean

Optional

Message

string

Required

Max length: 2000

Subject

string

Required

Max length: 500

Example

JSON

{
  "AssetLinkIsAttached": false,
  "Attachments": [
    {
      "ContentId": "b9b7c295-7a89-4ced-9215-e74608e54426"
    },
    {
      "Base64Content": "{base 64 encoded file}",
      "Filename": "Attachment2.jpg"
    },
    {
      "Base64Content": "{base 64 encoded file}",
      "Filename": "Attachment1.png",
      "Remove": false
    }
  ],
  "BuyerIds": [
    1,
    2
  ],
  "CCEmails": "test1@example.com,test2@example.com",
  "FloorplanLinkIsAttached": false,
  "FlyerLinkIsAttached": false,
  "Message": "Message",
  "Subject": "Hello"
}

Response

Details

Returns an HTTP 200 OK if operation was successful. Returns 400 Bad Request and an error message otherwise.