Links
Comment on page

Get Revenue Template List

post
[PlatformAddress]/api/1.0/venue?action=getRevenueTemplateList
Get Venue Revenue Template List
Return the event type list for the account.
{
"meta": {
"totalResults": 2,
"start": 0,
"perPage": 100,
"count": 2
},
"results": [
{
"id": 1,
"name": "Banquet",
"isDefault": true,
"costcenters": [
{
"costcenterId": 1,
"newCostcenterId": 1102
},
{
"costcenterId": 2,
"newCostcenterId": 1109
},
{
"costcenterId": 4,
"newCostcenterId": 4
}
],
"createdDate": "2021-03-03 11:22:20 UTC",
"modifiedDate": "2021-03-15 14:19:47 UTC"
},
{
"id": 2,
"name": "Catering",
"isDefault": false,
"costcenters": [
{
"costcenterId": 1,
"newCostcenterId": 1101
},
{
"costcenterId": 2,
"newCostcenterId": 1110
}
],
"createdDate": "2021-03-03 11:22:35 UTC",
"modifiedDate": "2021-03-15 04:41:59 UTC"
}
]
}

Example Request

Get Venues Revenue Template List
{
"venueId" : 1
"perPage": 100
"start": 0
}

Returns

A collection object with the following properties in the results
Property
Description
id
The unique id of the revenue template
name
The name of the revenue template
isDefault
Whether or not the revenue template is default on venue.
costcenters
The cost center mapping of the revenue template. See Mapping
createdDate
The date & time the revenue template was created
modifiedDate
The date & time the revenue template was last modified

Mapping

Property
Description
costcenterId
The current cost center
newCostcenterId
The new cost center against current cost center