a. Get All Departments
You can get a list of all departments of the company.
Request (JSON)
GET /departments/application/?securityToken=<token>&includeParents=includeParentDepartments} Content-Type: application/json
Response (JSON)
HTTP/1.1 200 OK Content-Type: application/json; charset=utf-8 { "DepartmentId": "9bd578ca-9893-46e7-a1d4-23e1b49fcdb4", "IsDefault": false, "DepartmentKey": "30601", "Name": "Department A", "ParentDepartmentId": "00000000-0000-0000-0000-000000000001" },