Departments

List all departments

get/departments

Response

Successful operation

idinteger required
namestring required

Example response

[
  {
    "id": 1,
    "name": "Management"
  }
]

Changes

Changed in 4 of the 28 revisions of this API.26

    • added the optional property errorGUID to the response with the 500 status

      response-optional-property-added

    • added the optional property errorGUID to the response with the 503 status

      response-optional-property-added

    • the response property code became optional for the status 500

      response-property-became-optional

    • the response property code became optional for the status 503

      response-property-became-optional

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the non-success response with the status 500

      response-non-success-status-added

    • added the non-success response with the status 503

      response-non-success-status-added

    • removed the non-success response with the status 500

      response-non-success-status-removed

    • removed the non-success response with the status 503

      response-non-success-status-removed

    This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog