PUT assets/{id}/suites/{suiteId}/status
Update suite statusRequest
URL ( requires broker or seller team member authentication )
https://api-lease.crexi.com/assets/{id}/suites/{suiteId}/statusParameters
idinteger |
Asset Id Required |
suiteIdinteger |
Required |
Body Parameters
Parameters
EndTimedate |
Required for status: 'Call for Offers', 'Best & Final' Optional |
Statusstring |
New status Required Possible values are: 'Draft', 'Active', 'On Hold', 'Lease Pending', 'Lease Signed', 'Listing Expired', 'No Longer For Lease' |
Example
JSON
{ "EndTime": "2019-12-14T23:11:48.1131685+00:00", "Status": "Draft" }
Response
Details
Returns an HTTP 200 OK if parameters were correct and status has been updated. Returns 400 Bad Request and an error message otherwise.
Data fields
CreatedOndate |
|
DisplayRatestring |
|
EditFieldsSuiteEditFieldsData |
|
FloorplanThumbnailUrlstring |
|
GalleryCollection of GalleryItemData |
|
HasFloorPlanboolean |
|
Idinteger |
|
LeaseTermstring |
|
LeaseTypestring |
|
Namestring |
|
OfficeAvailabledecimal number |
|
OfficeAvailableInPercentboolean |
|
Parkingstring |
|
Ratedecimal number |
|
RateIsRangeboolean |
|
RateMaxdecimal number |
|
RateMindecimal number |
|
RateTypestring |
|
RentableSqFtdecimal number |
|
RentableSqFtIsRangeboolean |
|
RentableSqFtMaxinteger |
|
RentableSqFtMininteger |
|
SpaceUseCollection of string |
|
Statusstring |
|
TotalMonthlyRentdecimal number |
|
UseableSqFtdecimal number |
|
Example
JSON
{ "CreatedOn": "2019-12-11T07:47:55.9469315Z", "DisplayRate": "$67 / Sq Ft / MO", "EditFields": { "Floorplans": [ { "Document": { "ContentId": "f1da8ab6-0abf-48a4-920e-da6dac080eca", "CreatedOn": "0001-01-01T00:00:00", "Filename": "Attach1.doc" }, "Id": 1 }, { "Document": { "ContentId": "19aec24a-ef23-4aaa-aa0f-5f12ed354b5e", "CreatedOn": "0001-01-01T00:00:00", "Filename": "Attach2.png" }, "Id": 2 } ] }, "FloorplanThumbnailUrl": "https://api-lease-dev.crexi.com/tn/819508ebb23847b8bd887278c8a48a7d_1306x734.jpg", "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" } ], "HasFloorPlan": true, "Id": 1, "LeaseTerm": "Monthly", "LeaseType": "Full Service", "Name": "Unit #100", "OfficeAvailable": 323.39999389648437, "OfficeAvailableInPercent": true, "Parking": "Test", "Rate": 67.0, "RateIsRange": false, "RateType": "Per Month", "RentableSqFt": 123.4, "RentableSqFtIsRange": false, "SpaceUse": [ "Office" ], "Status": "Lease Pending", "UseableSqFt": 223.4 }