Get Capacity
Retrieve the capacity and availability for a ticket item number. Note that an item may have multiple admissions with different schedules and pricing.
Path parameters
tenant
Your Entra Tenant ID. More details.
environment
Your Business Central Environment. More details.
company
Your Business Central Company. More details.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-api-version
Used for API versioning. More details.
Query parameters
itemNumber
An item or product number defined in the ticketing system
referenceDate
A date to use as a reference for the capacity search. If not specified, the current date will be used.
quantity
The number of tickets to reserved
admissionCode
A unique code that identifies a specific admission.
customerNumber
The customer number of the user making the request. The customer number affects pricing.
Response
Returns a list of available capacities for the specified ticket item number.
capacityControl
Indicates the type of capacity control for the admission. None implies that there is no capacity control. Sales implies that the capacity is controlled by the number of tickets sold. Admitted implies that the capacity is controlled by the number of tickets admitted. Full implies that the capacity is admitted and departed.
Allowed values:
code
A unique code that identifies a specific admission.
default
Indicates if this admission is the default admission when there are multiple admission defined.
discountPct
The discount percentage for the admission based either on the customer or the quantity of tickets.
included
Indicates if the admission is mandatory or optional. mandatory
implies that the admission can not be deselected. optionalNotSelected
implies that you must opt-in to include the admission, while optionalAndSelected
implies that the admission is optional and selected and you can opt-out. You opt-in or opt-out by including or excluding the admission in the reservation request.
Allowed values:
quantity
The number of tickets to reserved
referenceDate
A date to use as a reference for the capacity search. If not specified, the current date will be used.
schedules
unitPrice
The unit price of the ticket.
unitPriceIncludesVat
Indicates if the unit price includes VAT.
vatPct
The VAT percentage for the admission.
customerNumber
The customer number of the user making the request. The customer number affects pricing.