List Sub Departments

List department wise sub departments

Get department wise sub departments

GET https://<baseurl>/v1/organization/subdepartments/@clientUUID/@departmentUUID

Path Parameters

Name
Type
Description

clientUUID

string

Client UUID

departmentUUID

string

Department UUID

Headers

Name
Type
Description

Authentication

string

Authentication token

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

{
    "message": "success",
    "status": 200,
    "subdepartments": [
        {
            "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