PUT saved-searches/{id}
Update saved searchRequest
URL ( requires authentication )
https://api-lease.crexi.com/saved-searches/{id}Parameters
idinteger |
Saved Search Id Required |
Body Parameters
Saved Search update data
AcreageMaxdecimal number |
Optional |
AcreageMindecimal number |
Optional |
ActivationDateMaxdate |
Optional |
ActivationDateMindate |
Optional |
ActivationPeriodstring |
Optional Possible values are: 'TwentyFourHours', 'SevenDays', 'TwoWeeks', 'OneMonth', 'ThreeMonths', 'SixMonths', 'TwelveMonths', 'Custom' |
BrokerIdinteger |
Optional |
BrokerOrBrokeragestring |
Optional Max length: 1000 |
CitiesCollection of string |
Optional |
ClassesCollection of string |
Optional Possible values are: 'A', 'B', 'C', 'D' |
CountiesCollection of string |
Optional |
Countrystring |
Optional Max length: 64 |
GeometryGeometryParameters |
Optional |
IncludeUndisclosedRateboolean |
Optional |
LatitudeMaxdecimal number |
Optional |
LatitudeMindecimal number |
Optional |
LongitudeMaxdecimal number |
Optional |
LongitudeMindecimal number |
Optional |
Namestring |
Required Max length: 200 |
NotificationEmailFrequencystring |
Optional Possible values are: 'Daily', 'Weekly' |
RateMaxdecimal number |
Optional |
RateMindecimal number |
Optional |
RateTypestring |
Optional Possible values are: 'Per Year', 'Per Month' |
SqFtMaxdecimal number |
Optional |
SqFtMindecimal number |
Optional |
StatesCollection of string |
Optional |
SubtypesCollection of string |
Optional Possible values are: 'Executive Suite', 'Co-working', 'Medical', 'Creative Office', 'Warehouse / distribution', 'Refrigerated', 'Manufacturing', 'Flex', 'Restaurant', 'Storefront', 'Traditional', 'Outparcel/Pad', 'Power Center', 'Strip Center', 'Professional', 'Free Standing' |
TenanciesCollection of string |
Optional Possible values are: 'Single', 'Multiple' |
Termstring |
Optional Max length: 100 |
ThumbnailAssetIdinteger |
Optional |
TypesCollection of string |
Optional Possible values are: 'Retail', 'Office', 'Industrial', 'Land' |
ZipsCollection of string |
Optional |
Example
JSON
{ "AcreageMax": 13.23, "AcreageMin": 12.23, "BrokerId": 1, "Cities": [ "Los Angeles", "New York" ], "Classes": [ "A", "C" ], "Counties": [], "Country": "Canada", "Geometry": { "Circles": [ { "Coordinates": { "Lg": -118.243685, "Lt": 34.052234 }, "Radius": 0.34567 } ], "Polygons": [ { "Coordinates": [ { "Lg": -115.982666, "Lt": 35.99223 }, { "Lg": -114.071045, "Lt": 36.098826 }, { "Lg": -119.915771, "Lt": 38.973076 }, { "Lg": -119.915771, "Lt": 41.849923 }, { "Lg": -119.915771, "Lt": 41.849923 }, { "Lg": -114.0271, "Lt": 41.882649 } ] } ] }, "IncludeUndisclosedRate": true, "LatitudeMax": 34.0529, "LatitudeMin": 34.0525, "LongitudeMax": 118.2439, "LongitudeMin": 118.2438, "Name": "Best Properties Ever", "NotificationEmailFrequency": "Daily", "RateMax": 21.88, "RateMin": 15.11, "RateType": "Per Month", "SqFtMax": 3000.5, "SqFtMin": 2000.9, "States": [ "CA", "NY" ], "Subtypes": [ "Co-working", "Executive Suite" ], "Tenancies": [ "Multiple", "Single" ], "Term": "prop", "Types": [ "Land", "Office" ], "Zips": [ "12345", "90001" ] }
Response
Details
Returns an HTTP 200 OK if operation was successful. Returns 400 Bad Request and an error message otherwise.