GET api/Project/GetDepartment
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of CDepartment| Name | Description | Type | Additional 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:
<ArrayOfCDepartment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAL.Model">
<CDepartment>
<ID>1</ID>
<Name>sample string 2</Name>
</CDepartment>
<CDepartment>
<ID>1</ID>
<Name>sample string 2</Name>
</CDepartment>
</ArrayOfCDepartment>