From OpenDCIM Wiki
(Created page with "= Department = All calls to the /department tree of the API will return a collection or single entity in the following format: <nowiki> { "error": false, "errorcode...") |
|||
Line 20: | Line 20: | ||
</nowiki> | </nowiki> | ||
+ | :: /department | ||
+ | :: '''Method''' GET | ||
+ | :: '''Parameters''' none | ||
+ | :: '''Specific Permission Required''' Contact Administrator | ||
+ | |||
+ | This URI will return a collection of all departments defined within openDCIM. There is a corresponding Entity URL for retrieving a single entity. | ||
[[API|API Documentation]] | [[API|API Documentation]] |
Revision as of 09:58, 23 December 2015
Department
All calls to the /department tree of the API will return a collection or single entity in the following format:
{ "error": false, "errorcode": 200, "department": [ { "DeptID": "1", "Name": "Accounting", "ExecSponsor": "Scrooge McDuck", "SDM": "", "Classification": "Admin", "DeptColor": "#FFFFFF" } ] }
- /department
- Method GET
- Parameters none
- Specific Permission Required Contact Administrator
This URI will return a collection of all departments defined within openDCIM. There is a corresponding Entity URL for retrieving a single entity.