List all Departments

List all departments

Get Departments

GET https://<baseurl>/v1/organization/departments/@clientUUID

Path Parameters

Name
Type
Description

clientUUID

string

Client UUID

Headers

Name
Type
Description

Authentication

string

Authentication Token

#########################################################################
## success
#########################################################################

{    "message": "success",
     "status": 200,
     "departments": [
        {
            "departmentUUID": "343234243",
            "departmentName": "department",
            "departmentCode": "dp"
        },
        {
            "departmentUUID": "2315f228-cda1-478c-b7f2-c4187df81413",
            "departmentName": "Information Technology",
            "departmentCode": "dp1"
        }
    ]
}
    
#########################################################################
## Error:No data found
#########################################################################

{
	"message": "error",
	"status": 400,
	"description": "No data found"
}

Last updated