GET marketing-campaigns/preview
Gets preview of a share messageRequest
URL ( requires authentication )
https://api-lease.crexi.com/marketing-campaigns/preview?assetIds=assetIds[0]&assetIds=assetIds[1]&shareMessage={shareMessage}&disclaimer={disclaimer}&templateType={templateType}&imageFileId={imageFileId}&buttonColor={buttonColor}&secondButtonColor={secondButtonColor}&brokerIds=brokerIds[0]&brokerIds=brokerIds[1]&emailTitle={emailTitle}Parameters
assetIdsCollection of integer |
Required |
brokerIdsCollection of integer |
Broker Ids Optional |
buttonColorstring |
Button color. RGB color string. Optional |
disclaimerstring |
Disclaimer. 500 characters max. Optional |
emailTitlestring |
Optional |
imageFileIdglobally unique identifier |
Id of uploaded image Optional |
secondButtonColorstring |
Second button color. RGB color string. Optional |
shareMessagestring |
Share message. 2000 characters max. Optional |
templateTypestring |
Template type Optional Possible values are: 'SingleProperty', 'MultipleProperty1', 'MultipleProperty2', 'ImageTemplate' |
Response
Details
Returns an HTTP 200 OK and message HTML preview if operation was successfull. Returns 400 Bad Request and an error message otherwise.
Data fields
Htmlstring |
|
Example
JSON
{ "Html": "sample string 1" }