GET api/facilities/depts
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of DepartmentName | Description | Type | Additional information |
---|---|---|---|
DeptCode | string |
None. |
|
DeptName | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "DeptCode": "sample string 1", "DeptName": "sample string 2" }, { "DeptCode": "sample string 1", "DeptName": "sample string 2" } ]
text/javascript
Sample:
[{"DeptCode":"sample string 1","DeptName":"sample string 2"},{"DeptCode":"sample string 1","DeptName":"sample string 2"}]
application/xml, text/xml
Sample:
<ArrayOfDepartment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pomona.WebApi.Models"> <Department> <DeptCode>sample string 1</DeptCode> <DeptName>sample string 2</DeptName> </Department> <Department> <DeptCode>sample string 1</DeptCode> <DeptName>sample string 2</DeptName> </Department> </ArrayOfDepartment>