Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 people, including, team, department and locations.

The Location option will be based on the user's default location or set location based on the date/time option.

The Working Location will be based on the date/time option.

Example

Code Block
languagejson
{
  "SearchText": "string",
  "TeamId": int,
  "DepartmentId": int,
  "WorkingLocation": "string",
  "Location": {
    "Country": "string",
    "City": "string",
    "Site": "string",
    "Building": "string",
    "Floor": "string",
  "Team  "Zone": "string"
  },
  "Date": "dd/MM/yyyy",
  "StartTime": "dd/MM/yyyy HH:mm",
  "DepartmentEndTime": "dd/MM/yyyy HH:mm"
}

Response

The response will include the user's bookingsa list of people and their basic information based on the requested date and time.

Example

Code Block
languagejson
{
  "SearchResults": [
    {
      "ResIdId": 1,
      "Name": "MeetingAbigail RoomSimmons",
      "EmailAddress": "AbigailSimmons@email.com"
      "Status": 1"Available",
      "WorkingLocation": "Office",
      "LocationDefaultLocation": {
        "Country": "string",
        "City": "string",
        "Site": "string",
        "Building": "string",
        "Floor": "string",
        "Zone": "string"
      },
      "SpaceTypeTeam": "string",
      "RoomTeamId": int,
      "IconPathDepartment": "string",
      "OccupancyDepartmentId": 4int,
      "MapIdIconPath": 1234,"/ResourceFiles/images/UserAvatar/AbigailSimmons.png"
    },
    {
      "ResIdId": 2,
      "Name": "ConferenceAiden RoomMoore",
      "EmailAddress": "AidenMoore@email.com"
      "Status": "Busy",
      "WorkingLocation": 1"Office",
      "LocationDefaultLocation": {
        "Country": "string",
        "City": "string",
        "Site": "string",
        "Building": "string",
        "Floor": "string",
        "Zone": "string"
      },
      "Team": "string",
      "TeamId": int,
      "SpaceTypeDepartment": "Conference Room""string",
      "DepartmentId": int,
      "IconPath": "/ResourceFiles/images/conference-room-icon.svg"/UserAvatar/AidenMoore.png"
    },
    {
      "Id": 3,
      "Name": "Alexander Baker",
      "EmailAddress": "AlexanderBaker@email.com"
      "Status": "Available",
      "WorkingLocation": "Remote",
      "DefaultLocation": {
        "Country": "string",
        "City": "string",
        "Site": "string",
        "Building": "string",
        "Floor": "string",
        "Zone": "string"
      },
      "Team": "string",
      "TeamId": int,
      "OccupancyDepartment": 8"string",
      "MapIdDepartmentId": 1234,int,
      "IconPath": "/ResourceFiles/images/UserAvatar/AlexanderBaker.png"
    }
  ]
}

Use case

...