POST assets/{id}/email-shares

Share an asset via email. One email is sent to each of the clients from the ClientEmails list. Another email is sent to the sender email address.

Request

URL ( doesn't require authentication )

https://api-lease.crexi.com/assets/{id}/email-shares

Parameters

id

integer

Asset Id

Required

Body Parameters

ClientEmails

string

Required

SenderEmail

string

Required

Max length: 64

Valid email address

SenderName

string

Required

Max length: 200

ShareMessage

string

Optional

Max length: 2000

Subject

string

Required

Max length: 500

Example

JSON

{
  "ClientEmails": "client1@example.com,client2@example.com",
  "SenderEmail": "sender@example.com",
  "SenderName": "Sender",
  "ShareMessage": "This is share message"
}

Response

Details

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