PUT assets/{id}/gallery
Update asset's media galleryRequest
URL ( requires broker or seller team member authentication )
https://api-lease.crexi.com/assets/{id}/galleryParameters
idinteger |
Asset Id Required |
Example
JSON
{ "Items": [ { "Base64Content": "sample string 1", "EmbedCode": "sample string 1", "Id": 1, "Name": "sample string 2", "Type": "Image" }, { "Base64Content": "sample string 1", "EmbedCode": "sample string 1", "Id": 1, "Name": "sample string 2", "Type": "Image" } ] }
Response
Details
Returns an HTTP 200 OK if operation was successful. Returns 400 Bad Request and an error message otherwise.
Data fields
ActivatedOndate |
|
BrokerOfRecordLicensestring |
|
BrokerOfRecordNamestring |
|
BrokersCollection of PublicBrokerDetailsData |
|
BuildingHighlightsstring |
|
CreatedOndate |
|
Descriptionstring |
|
DetailsDictionary of Object [key] and Object [value] |
|
EditFieldsAssetEditFieldsData |
|
GalleryCollection of GalleryItemData |
|
HasBrokerOfRecordboolean |
|
HasFlyerboolean |
|
HideStreetViewboolean |
|
Idinteger |
|
IsOutdatedboolean |
|
IsPaidboolean |
|
IsPausedboolean |
|
IsSavedboolean |
|
IsSavedToBoardsboolean |
|
IsSingleTenantboolean |
|
LeaseSignedOndate |
|
LocationLocationData |
|
MarketingDescriptionstring |
|
Namestring |
|
RateMonthlystring |
|
RateYearlystring |
|
SellerPublicUserData |
|
Statusstring |
|
SuitesCollection of SuiteData |
|
ThumbnailUrlstring |
|
TypesCollection of string |
|
UpdatedOndate |
|
UrlSlugstring |
|
UsePrintViewAsFlyerboolean |
|
UserCanDownloadMdboolean |
|
UserHasProAccessboolean |
|
UserIsAssetOwnerboolean |
|
UserRequestedInfoOndate |
|
Example
JSON
{ "ActivatedOn": "2019-11-29T10:22:58.6224839Z", "BrokerOfRecordLicense": "6661313", "BrokerOfRecordName": "Luke Valentine", "Brokers": [ { "Brokerage": { "LogoUrl": "http://qwerty.qwe/broker/132/tn.jpg", "Name": "USA Brokerage" }, "CreatedOn": "2019-11-29T10:22:58.6068564Z", "FirstName": "John", "HasProSubscription": true, "Id": 12345, "LastName": "Backer", "Licenses": [ "CA 123456", "MO 567890" ], "NumberOfAssets": 5, "Phone": "+17905123456", "ThumbnailUrl": "http://qwerty.qwe/user/12345/tn.jpg" }, { "Brokerage": { "LogoUrl": "http://qwerty.qwe/broker/132/tn.jpg", "Name": "USA Brokerage" }, "CreatedOn": "2019-11-29T10:22:58.6068564Z", "FirstName": "John", "HasProSubscription": true, "Id": 12345, "LastName": "Backer", "Licenses": [ "MT 123413" ], "NumberOfAssets": 8, "Phone": "+17905123456", "ThumbnailUrl": "http://qwerty.qwe/user/12345/tn.jpg" } ], "CreatedOn": "2019-11-29T10:22:58.6224839Z", "Description": "Description", "Details": { "Asking Price": "15,000$", "Investment Type": "Multi Tenant" }, "EditFields": { "AssessorParcelNumber": "Assessor Parcel Number", "AutoDescription": "Auto Description", "AutofillDescription": false, "CeilingHeight": "Ceiling Height", "Class": "A", "Flyer": { "ContentId": "135e806a-df3e-470a-8511-ce04ac982696", "CreatedOn": "0001-01-01T00:00:00", "Filename": "Attach2.png" }, "LoadingDocks": 10, "LotSize": 125.0, "LotSizeIsRange": false, "LotSizeMax": 500.0, "LotSizeMin": 300.0, "LotSizeType": "acres", "NumberOfBuildings": 21, "NumberOfStories": 43, "Subtypes": [ "Co-working", "Flex" ], "Tenancy": "Multiple", "TotalParkingSpaces": "Total Parking Spaces - 123", "UsePrintViewAsFlyer": false, "YearBuilt": 2012 }, "Gallery": [ { "BigTnUrl": "http://qwerty.qwe/assetimage/1/bigtn.jpg", "Id": 0, "ImageUrl": "http://qwerty.qwe/assetimage/1/image.jpg", "MediumTnUrl": "http://qwerty.qwe/assetimage/1/mediumtn.jpg", "SmallTnUrl": "http://qwerty.qwe/assetimage/1/smalltn.jpg", "Type": "Image", "WideTnUrl": "http://qwerty.qwe/assetimage/1/widetn.jpg" }, { "BigTnUrl": "http://qwerty.qwe/assetimage/2/bigtn.jpg", "Id": 0, "ImageUrl": "http://qwerty.qwe/assetimage/2/image.jpg", "MediumTnUrl": "http://qwerty.qwe/assetimage/2/mediumtn.jpg", "SmallTnUrl": "http://qwerty.qwe/assetimage/2/smalltn.jpg", "Type": "Image", "WideTnUrl": "http://qwerty.qwe/assetimage/2/widetn.jpg" }, { "EmbedCode": "<iframe src=\"https://player.vimeo.com/video/51632295?portrait=0\" width=\"900\" height=\"600\" frameborder=\"0\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe> <p><a href=\"https://vimeo.com/51632295\">100 % Tuning / Rotterdam RC Drift Demo</a> from <a href=\"https://vimeo.com/user4176670\">SnapHots TV</a> on <a href=\"https://vimeo.com\">Vimeo</a>.</p>", "Id": 0, "Name": "Good Video", "Type": "Video" } ], "HasBrokerOfRecord": true, "HasFlyer": false, "HideStreetView": false, "Id": 1, "IsOutdated": false, "IsPaid": false, "IsPaused": false, "IsSaved": false, "IsSavedToBoards": false, "IsSingleTenant": false, "Location": { "Address": "6183-6185 Paseo Del Norte", "AptNumber": "6N", "City": "Carlsbad", "Country": "United States", "County": "Alaska", "PovHeading": 180.0, "PovPitch": 45.0, "State": { "Code": "CA", "Name": "California" }, "Submarket": "Submarket", "SubmarketCluster": "Submarket Cluster", "Zip": "95833" }, "MarketingDescription": "This is the best asset we have!", "Name": "Paseo Summit", "RateMonthly": "$15.50 - $25", "RateYearly": "$535.50", "Seller": { "CompanyName": "Company", "CreatedOn": "2019-11-29T10:22:58.6068564Z", "DateOfBirth": "1980-02-10T00:00:00", "Email": "john@gmail.com", "FirstName": "John", "Id": 12345, "IsBroker": false, "LastName": "Backer", "Phone": "+17905123456", "ThumbnailUrl": "http://qwerty.qwe/user/12345/tn.jpg", "Username": "JohnBacker3" }, "Status": "Active", "Suites": [], "Types": [ "Office" ], "UpdatedOn": "2019-11-29T10:22:58.6224839Z", "UsePrintViewAsFlyer": true, "UserHasProAccess": false, "UserIsAssetOwner": false }