POST saved-searches

Creates new Saved Search

Request

URL ( requires authentication )

https://api-lease.crexi.com/saved-searches

Body Parameters

Saved Search info

AcreageMax

decimal number

Optional

AcreageMin

decimal number

Optional

ActivationDateMax

date

Optional

ActivationDateMin

date

Optional

ActivationPeriod

string

Optional

Possible values are: 'TwentyFourHours', 'SevenDays', 'TwoWeeks', 'OneMonth', 'ThreeMonths', 'SixMonths', 'TwelveMonths', 'Custom'

BrokerId

integer

Optional

BrokerOrBrokerage

string

Optional

Max length: 1000

Cities

Collection of string

Optional

Classes

Collection of string

Optional

Possible values are: 'A', 'B', 'C', 'D'

Counties

Collection of string

Optional

Country

string

Optional

Max length: 64

Geometry

GeometryParameters

Optional

IncludeUndisclosedRate

boolean

Optional

LatitudeMax

decimal number

Optional

LatitudeMin

decimal number

Optional

LongitudeMax

decimal number

Optional

LongitudeMin

decimal number

Optional

Name

string

Required

Max length: 200

NotificationEmailFrequency

string

Optional

Possible values are: 'Daily', 'Weekly'

RateMax

decimal number

Optional

RateMin

decimal number

Optional

RateType

string

Optional

Possible values are: 'Per Year', 'Per Month'

SqFtMax

decimal number

Optional

SqFtMin

decimal number

Optional

States

Collection of string

Optional

Subtypes

Collection 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'

Tenancies

Collection of string

Optional

Possible values are: 'Single', 'Multiple'

Term

string

Optional

Max length: 100

ThumbnailAssetId

integer

Optional

Types

Collection of string

Optional

Possible values are: 'Retail', 'Office', 'Industrial', 'Land'

Zips

Collection 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 and created saved search's Id if operation was successful. Returns 400 Bad Request and an error message otherwise.