PATCH assets/{id}

Update asset details

Request

URL ( requires broker or seller team member authentication )

https://api-lease.crexi.com/assets/{id}

Parameters

id

integer

Asset Id

Required

Body Parameters

Update parameters

AssessorParcelNumber

string

Optional

Max length: 500

AutofillDescription

boolean

Optional

BrokerOfRecordLicense

string

Optional

Max length: 50

BrokerOfRecordName

string

Optional

Max length: 100

Brokers

Collection of integer

Optional

BuildingFAR

string

Optional

BuildingHighlights

string

Optional

Data type: Html

CeilingHeight

string

Optional

Max length: 50

Class

string

See AssetClass for possible values

Optional

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

CollectionStreet

string

Optional

Max length: 100

CrossStreet

string

Optional

Max length: 100

Description

string

Optional

Max length: 100

DriveIns

string

Optional

ElevatorType

string

Optional

Max length: 100

Flyer

RemovableAttachment

Optional

Frontage

string

Optional

Max length: 100

HasBrokerOfRecord

boolean

Optional

HasElevators

string

Optional

LandAcres

string

Optional

LandSqFt

string

Optional

LoadFactor

string

Optional

LoadingDocks

string

Positive Integer

Optional

Location

AssetLocationParameters

Optional

LotSize

string

Positive Double

Optional

LotSizeIsRange

boolean

Optional

LotSizeMax

string

Positive Double

Optional

LotSizeMin

string

Positive Double

Optional

LotSizeType

string

See LotSizeType for possible values

Optional

Possible values are: 'acres', 'sq ft'

MarketingDescription

string

Optional

Data type: Html

MarketingDocument

RemovableAttachment

Optional

MaxContiguousSqFt

string

Optional

MinDivisibleSqFt

string

Optional

Name

string

Optional

Max length: 40

NumberOfBuildings

string

Positive Short Integer

Optional

NumberOfElevators

string

Optional

NumberOfStories

string

Positive Short Integer

Optional

Power

string

Optional

Max length: 50

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'

Taxes

string

Optional

Tenancy

string

Optional

Possible values are: 'Single', 'Multiple'

TotalBuildingSqFt

string

Optional

TotalBuildingSuites

string

Optional

TotalParkingSpaces

string

Optional

Max length: 100

Types

Collection of string

Optional

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

UsePrintViewAsFlyer

boolean

Optional

VacantSqFt

string

Optional

YearBuilt

string

Optional

YearRenovated

string

Optional

Zoning

string

Optional

Max length: 100

Example

JSON

{
  "BrokerOfRecordLicense": "License: LA 123456789",
  "BrokerOfRecordName": "Nick Bansong",
  "Brokers": [],
  "Description": "Hello",
  "Flyer": {
    "Base64Content": "{base 64 encoded file}",
    "Filename": "Attachment1.png",
    "Remove": false
  },
  "HasBrokerOfRecord": true,
  "MarketingDocument": {
    "Base64Content": "{base 64 encoded file}",
    "Filename": "Attachment1.png",
    "Remove": false
  },
  "Types": []
}

Response

Details

Returns an HTTP 200 OK and updates the asset if parameters are correct. Returns 400 Bad Request and an error message otherwise.

Data fields

ActivatedOn

date

BrokerOfRecordLicense

string

BrokerOfRecordName

string

Brokers

Collection of PublicBrokerDetailsData

BuildingHighlights

string

CreatedOn

date

Description

string

Details

Dictionary of Object [key] and Object [value]

EditFields

AssetEditFieldsData

Gallery

Collection of GalleryItemData

HasBrokerOfRecord

boolean

HasFlyer

boolean

HideStreetView

boolean

Id

integer

IsOutdated

boolean

IsPaid

boolean

IsPaused

boolean

IsSavedToBoards

boolean

IsSingleTenant

boolean

LeaseSignedOn

date

Location

LocationData

MarketingDescription

string

Name

string

RateMonthly

string

RateYearly

string

Seller

PublicUserData

Status

string

Suites

Collection of SuiteData

ThumbnailUrl

string

Types

Collection of string

UpdatedOn

date

UrlSlug

string

UsePrintViewAsFlyer

boolean

UserCanDownloadMd

boolean

UserHasProAccess

boolean

UserIsAssetOwner

boolean

UserRequestedInfoOn

date

Example

JSON

{
  "ActivatedOn": "2019-12-11T07:47:55.7750591Z",
  "BrokerOfRecordLicense": "6661313",
  "BrokerOfRecordName": "Luke Valentine",
  "Brokers": [
    {
      "Brokerage": {
        "LogoUrl": "http://qwerty.qwe/broker/132/tn.jpg",
        "Name": "USA Brokerage"
      },
      "CreatedOn": "2019-12-11T07:47:55.7750591Z",
      "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-12-11T07:47:55.7750591Z",
      "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-12-11T07:47:55.7750591Z",
  "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": "19aec24a-ef23-4aaa-aa0f-5f12ed354b5e",
      "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,
  "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-12-11T07:47:55.7750591Z",
    "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-12-11T07:47:55.7750591Z",
  "UsePrintViewAsFlyer": true,
  "UserHasProAccess": false,
  "UserIsAssetOwner": false
}