GET api/kpi/GPO/Department
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Department| Name | Description | Type | Additional information |
|---|---|---|---|
| departmentNumber | integer |
None. |
|
| departmentName | string |
None. |
|
| departmentManagerEmpNo | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"departmentNumber": 1,
"departmentName": "sample string 2",
"departmentManagerEmpNo": 3
},
{
"departmentNumber": 1,
"departmentName": "sample string 2",
"departmentManagerEmpNo": 3
}
]
application/xml, text/xml
Sample:
<ArrayOfDepartment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPIGP.Models.KPI">
<Department>
<departmentManagerEmpNo>3</departmentManagerEmpNo>
<departmentName>sample string 2</departmentName>
<departmentNumber>1</departmentNumber>
</Department>
<Department>
<departmentManagerEmpNo>3</departmentManagerEmpNo>
<departmentName>sample string 2</departmentName>
<departmentNumber>1</departmentNumber>
</Department>
</ArrayOfDepartment>