Fetches the list of all departments available in the system. A valid authorization token is required.
Security
Bearer
- Mock serverhttps://developer.sustainabilitymaster.ai/_mock/openapi/api/EnterpriseTables/Department
- https://developer.sustainabilitymaster.ai/apiportalhttps://developer.sustainabilitymaster.ai/apiportal/api/EnterpriseTables/Department
curl -i -X GET \
https://developer.sustainabilitymaster.ai/_mock/openapi/api/EnterpriseTables/Department \
-H 'Authorization: YOUR_API_KEY_HERE'Successfully retrieved the list of departments
Array [
]
Response
[ { "id": 1, "companyId": 101, "companyName": "Tech Innovations Ltd.", "departmentId": 501, "departmentName": "Software Engineering", "departmentNumber": "SE-501", "leader": "John Doe" } ]