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

 

 

Related content