Zubarus API Docs
Department

Fetch single department

GET
/departments/{departmentId}
AuthorizationBearer <token>

In: header

Path Parameters

departmentIdinteger

Response Body

curl -X GET "https://api-test.zubarus.com/v3/departments/0"
{
  "id": 100,
  "name": "Oslo"
}

{
  "error": {
    "status": 401,
    "title": "Unauthorized",
    "message": "Invalid access token."
  }
}

{
  "error": {
    "status": 404,
    "title": "Not Found",
    "message": "Department not found."
  }
}