GET assets/{id}/access-requests/users

Get leads who requested access to property

Request

URL ( requires broker or seller team member authentication )

https://api.crexi.com/assets/{id}/access-requests/users?term={term}&roles=roles[0]&roles=roles[1]&count={count}&offset={offset}

Parameters

count

integer

Pagination parameter

Optional

Default value is 50

id

integer

Asset Id

Required

offset

integer

Pagination parameter

Optional

Default value is 0

roles

Collection of string

Industry roles

Optional

Possible values are: 'Principal', 'Broker', 'Lender', 'Third Party Service'

term

string

Search term

Optional

Response

Details

Returns an HTTP 200 OK and users access request list if operation was successfull. Returns 400 Bad Request and an error message otherwise.

Data fields

Data

Collection of AccessRequestUserData

TotalCount

integer

Example

JSON

{
  "Data": [
    {
      "CurrentAccess": {
        "AccessScope": "sample string 1",
        "Details": [
          "sample string 1",
          "sample string 2"
        ]
      },
      "IsNew": true,
      "PendingAccessRequest": {
        "AccessType": "sample string 1",
        "RequestedOn": "2019-11-15T17:38:32.1752415Z"
      },
      "User": {
        "Address": "sample string 5",
        "AptNumber": "sample string 6",
        "CellPhone": "sample string 4",
        "City": "sample string 7",
        "CompanyName": "sample string 1",
        "Country": "sample string 9",
        "CreatedOn": "2019-11-15T17:38:32.1752415Z",
        "DateOfBirth": "2019-11-15T17:38:32.1752415Z",
        "Email": "sample string 4",
        "FirstName": "sample string 2",
        "Id": 1,
        "IndustryRoles": [
          "sample string 1",
          "sample string 2"
        ],
        "LastName": "sample string 3",
        "Location": "sample string 2",
        "Phone": "sample string 5",
        "StateCode": "sample string 8",
        "ThumbnailUrl": "sample string 6",
        "UserHasAccess": true,
        "Zip": "sample string 10"
      }
    },
    {
      "CurrentAccess": {
        "AccessScope": "sample string 1",
        "Details": [
          "sample string 1",
          "sample string 2"
        ]
      },
      "IsNew": true,
      "PendingAccessRequest": {
        "AccessType": "sample string 1",
        "RequestedOn": "2019-11-15T17:38:32.1752415Z"
      },
      "User": {
        "Address": "sample string 5",
        "AptNumber": "sample string 6",
        "CellPhone": "sample string 4",
        "City": "sample string 7",
        "CompanyName": "sample string 1",
        "Country": "sample string 9",
        "CreatedOn": "2019-11-15T17:38:32.1752415Z",
        "DateOfBirth": "2019-11-15T17:38:32.1752415Z",
        "Email": "sample string 4",
        "FirstName": "sample string 2",
        "Id": 1,
        "IndustryRoles": [
          "sample string 1",
          "sample string 2"
        ],
        "LastName": "sample string 3",
        "Location": "sample string 2",
        "Phone": "sample string 5",
        "StateCode": "sample string 8",
        "ThumbnailUrl": "sample string 6",
        "UserHasAccess": true,
        "Zip": "sample string 10"
      }
    }
  ],
  "TotalCount": 1
}