PUT assets/{id}/followers/current-user

Saves or unsaves asset for user.

Request

URL ( requires authentication )

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

Parameters

id

integer

Asset Id

Required

Body Parameters

BoardIds

Collection of integer

Optional

IsSaved

boolean

Required

WidgetId

integer

Optional

Example

JSON

{
  "BoardIds": [
    1,
    2,
    3
  ],
  "IsSaved": true,
  "WidgetId": 1
}

Response

Details

Returns an HTTP 200 OK if Id parameter is correct. Returns 400 Bad Request and an error message otherwise.