GET widgets/{id}

Get widget settings and verify widget access

Request

URL ( requires authentication )

https://api-lease.crexi.com/widgets/{id}?domain={domain}

Parameters

domain

string

Domain associated with widget

Required

id

integer

Widget Id

Required

Response

Details

Returns an HTTP 200 OK and widget data if operation was successfull. Returns 400 Bad Request and an error message otherwise.

Data fields

BrokerIds

Collection of integer

BrokerLogoUrl

string

HeaderBackgroundColor

string

HeaderLink

string

HideLogos

boolean

HideMap

boolean

Id

integer

Name

string

Types

Collection of string

Example

JSON

{
  "BrokerIds": [
    118,
    119
  ],
  "BrokerLogoUrl": "http://qwerty.qwe/some/link/file_4000x46_keepratio.jpg",
  "HeaderBackgroundColor": "#FF00FF",
  "HeaderLink": "http://qwerty.qwe/",
  "HideLogos": false,
  "HideMap": true,
  "Id": 0,
  "Types": [
    "Industrial",
    "Office"
  ]
}