List all Sub Departments
List all organization sub departments
Get Sub Departments
GET https://<baseurl>/v1/organization/subdepartments/@clientUUID
Path Parameters
Name
Type
Description
clientUUID
string
Client UUID
Headers
Name
Type
Description
Authentication
string
Authentication Token
#########################################################################
## success
#########################################################################
{
    "message": "success",
    "status": 200,
    "subdepartments": [
        {
            "id": 1,
            "subDepartmentName": "SBD1",
            "subDepartmentCode": "sbd",
            "defaultSubDepartment": 0,
            "departmentName": "department",
            "departmentCode": "dp"
        },
        {
            "id": 2,
            "subDepartmentName": "SB0002",
            "subDepartmentCode": "sb44",
            "defaultSubDepartment": 1,
            "departmentName": "Information Technology",
            "departmentCode": "dp1"
        }
    ]
}
#########################################################################
## Error:No data found
#########################################################################
{
	"message": "error",
	"status": 400,
	"description": "No data found"
}Last updated
Was this helpful?