GET
/
api
/
departments
/
{departmentId}
/
rooms
/
{roomId}
/
desks
/
{deskId}
curl --request GET \
  --url http://localhost/api/departments/{departmentId}/rooms/{roomId}/desks/{deskId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "type": "FIXED",
  "equipment": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "reservations": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "roomId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "departmentId": "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
deskId
string
required

Response

200
*/*
Desk successfully retrieved
id
string
name
string
type
enum<string>
Available options:
FIXED,
SHARED
equipment
string[]
reservations
string[]
roomId
string
departmentId
string