Get Cost Center List

post
Venue Cost Center List

[PlatformAddress]/api/1.0/venue?action=getCostCenterList
Request
Response
Path Parameters
venueId
required
integer
The id of the venue
200: OK
{
"meta": {
"totalResults": 1,
"start": 0,
"perPage": 50,
"count": 1
},
"results": [
{
"id": 1,
"name": "Food",
"code": "venueccfd",
"description": "Venue food cost center"
}
]
}

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

Property

Description

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

Throws

Code

Description

Specific Code: 24270

Account does not exist

Specific Code: 24271

Venue does not exist