GET api/MainDepartments

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of MainDepartment
NameDescriptionTypeAdditional information
ID

integer

None.

Code

string

None.

Name

string

None.

Texts

Collection of Description

None.

MainDepartmentID

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "code": "sample string 2",
    "name": "sample string 3",
    "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"
      }
    ],
    "maindepartmentid": 4
  },
  {
    "id": 1,
    "code": "sample string 2",
    "name": "sample string 3",
    "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"
      }
    ],
    "maindepartmentid": 4
  }
]