List all Cost Center
List organization Cost center
Get organization Cost center
GET https://<baseurl>/v1/organization/costcenter/@clientUUID
Path Parameters
Name
Type
Description
clientUUID
string
Client 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"
        },
    ]
}
#########################################################################
## Error:No data found
#########################################################################
            
{
	"message": "error",
	"status": 400,
	"description": "No data found"
}
Last updated
Was this helpful?