GET api/Departments

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Department
NameDescriptionTypeAdditional information
ID

integer

None.

Key

string

None.

MainDepartmentID

integer

None.

Code

string

None.

Name

string

None.

Texts

Collection of Description

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "key": "{sample string 2}",
    "maindepartmentid": 3,
    "code": "sample string 4",
    "name": "sample string 5",
    "texts": [
      {
        "type": 1,
        "typetext": "sample string 1",
        "language": "sample string 2",
        "text": "sample string 3"
      },
      {
        "type": 1,
        "typetext": "sample string 1",
        "language": "sample string 2",
        "text": "sample string 3"
      }
    ]
  },
  {
    "id": 1,
    "key": "{sample string 2}",
    "maindepartmentid": 3,
    "code": "sample string 4",
    "name": "sample string 5",
    "texts": [
      {
        "type": 1,
        "typetext": "sample string 1",
        "language": "sample string 2",
        "text": "sample string 3"
      },
      {
        "type": 1,
        "typetext": "sample string 1",
        "language": "sample string 2",
        "text": "sample string 3"
      }
    ]
  }
]