List business unit Cost Center

List business unit wise Cost center

Get business unit wise Cost center

GET https://<baseurl>/v1/organization/costcenter/@clientUUID/@businessUnitUUID

Path Parameters

Name
Type
Description

clientUUID

string

Client UUID

businessUnitUUID

string

Business Unit UUID

Headers

Name
Type
Description

Authentication

string

Authentication token

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

{
    "message": "success",
    "status": 200,
    "costcenter": [
        {
            "id": 1,
            "costCenterName": "cc",
            "costCenterCode": "cc",
            "defaultCostCenter": 0,
            "businessUnitName": "BU1",
            "businessUnitCode": "BU"
        },
        {
            "id": 2,
            "costCenterName": "cc1",
            "costCenterCode": "cc1",
            "defaultCostCenter": 0,
            "businessUnitName": "BU1",
            "businessUnitCode": "BU"
        },
        {
            "id": 3,
            "costCenterName": "test cost center",
            "costCenterCode": "111",
            "defaultCostCenter": 0,
            "businessUnitName": "BU1",
            "businessUnitCode": "BU"
        },
        {
            "id": 4,
            "costCenterName": "finance",
            "costCenterCode": "555",
            "defaultCostCenter": 0,
            "businessUnitName": "BU1",
            "businessUnitCode": "BU"
        }
    ]
}

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

Last updated