Get Cost Center List

Venue Cost Center List

POST [PlatformAddress]/api/1.0/venue?action=getCostCenterListundefined

Path Parameters

NameTypeDescription

venueId

integer

The id of the venue

{
    "meta": {
        "totalResults": 1,
        "start": 0,
        "perPage": 50,
        "count": 1
    },
    "results": [
        {
            "id": 1,
            "name": "Food",
            "code": "venueccfd",
            "description": "Venue food cost center",
            "parentId": 321,
        }
    ]
}

The result from this call will be a collection of all the events the user has access to. This call also accepts the pagination and filter properties. The venueId is required, for example {"venuId":10}

Returns

PropertyDescription

id

The unique identifier of the cost center

name

The name of the cost center

code

The code of the cost center

description

The complete description of the cost center

parentId

The unique identifier of the parent account cost center

Throws

CodeDescription

Specific Code: 24270

Account does not exist

Specific Code: 24271

Venue does not exist

Last updated