/
Search for Resource

Search for Resource

Overview

Search request for Resources.

Details

Type

POST

Endpoint

{{url}}/api/Search/Resources

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": "string", "Location": Object{ "Country": "string", "City": "string", "Site": "string", "Building": "string", "Floor": "string", "Zone": "string" }, "SpaceTypes": Array["string", "string"], "Equipment": Array["string", "string"], "Tags": Array[], "MinOccupancy": int, "Available": boolean, // available based on StartTime and EndTime "StartTime": "dd/MM/yyyy HH:mm", "EndTime": "dd/MM/yyyy HH:mm" }

Response

The response will include a list of all resources that match the requested search criteria.

Full booking data for each resource is not required.

Example

{ "SearchResults": Array[ Object{ "Id": int, "Name": "string", "Status": int, "Location": Object{ "Country": "string", "City": "string", "Site": "string", "Building": "string", "Floor": "string", "Zone": "string" }, "SpaceType": "string", "IconPath": "string", "Occupancy": int, "MapId": int, }, Object{ "Id": int, "Name": "string", "Status": int, "Location": Object{ "Country": "string", "City": "string", "Site": "string", "Building": "string", "Floor": "string", "Zone": "string" }, "SpaceType": "string", "IconPath": "string", "Occupancy": int, "MapId": int, } ] }

Use case

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

 

 

Related content

Get Resource Space Types
Get Resource Space Types
More like this
Get Team Places
Get Team Places
More like this
Get User Bookings
Get User Bookings
More like this
Get User's Work Places
Get User's Work Places
More like this
Get User Settings
Get User Settings
Read with this
Search for People
Search for People
More like this