GET
/
api
/
departments
/
{departmentId}
/
rooms
/
{roomId}
curl --request GET \
  --url http://localhost/api/departments/{departmentId}/rooms/{roomId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "departmentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "available": true,
  "desks": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

departmentId
string
required
roomId
string
required

Response

200
*/*
Room found
id
string
name
string
departmentId
string
available
boolean
desks
string[]