Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Next »

Overview

Search request for People.

Details

Type

POST

Endpoint

{{url}}/api/Search/People

Request

The request will include all filter options valid for resources; such as location, space type, equipment etc.
The option to specify available resources only is needed, this will then require the start and end time option.

Example

{
  "SearchText": "",
  "Team": "",
  "Department": ""
}

Response

The response will include the user's bookings.

Example

{
  "SearchResults": [
    {
      "ResId": 1,
      "Name": "Meeting Room",
      "Status": 1,
      "Location": {
        "Country": "",
        "City": "",
        "Site": "",
        "Building": "",
        "Floor": "",
        "Zone": ""
      },
      "SpaceType": "Room",
      "IconPath": "",
      "Occupancy": 4,
      "MapId": 1234,
    },
    {
      "ResId": 2,
      "Name": "Conference Room",
      "Status": 1,
      "Location": {
        "Country": "",
        "City": "",
        "Site": "",
        "Building": "",
        "Floor": "",
        "Zone": ""
      },
      "SpaceType": "Conference Room",
      "IconPath": "/ResourceFiles/images/conference-room-icon.svg",
      "Occupancy": 8,
      "MapId": 1234,
    }
  ]
}

Use case

https://www.figma.com/file/PYl87VrybgtPIqMQr34kJ6/RX-Outlook-Add-in?type=design&node-id=196-159467&mode=dev

  • No labels