GET api/v1/getDepatments

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ModelDepartment
NameDescriptionTypeAdditional information
id

integer

None.

name

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "name": "sample string 2"
  },
  {
    "id": 1,
    "name": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfModelDepartment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ibdDataPoint">
  <ModelDepartment>
    <id>1</id>
    <name>sample string 2</name>
  </ModelDepartment>
  <ModelDepartment>
    <id>1</id>
    <name>sample string 2</name>
  </ModelDepartment>
</ArrayOfModelDepartment>