Skip to navigation

Get Schedule

Retrieve the schedule for a period for a ticket admission. Note that an ticket item may have multiple admissions with different schedules so use correct admission.

Authentication

x-np-api-keystring
API Key authentication via header

Path parameters

tenantstringRequired

Your Entra Tenant ID. More details.

environmentstringRequired

Your Business Central Environment. More details.

companystringRequired

Your Business Central Company. More details.

Headers

x-api-versiondateOptional

Used for API versioning. More details.

Query parameters

admissionCodestringRequired
A unique code that identifies a specific admission.
startDatedateRequired
A date to use as a starting date of a period for the schedule search.
endDatedateRequired
A date to use as a ending date of a period for the schedule search.
scheduleCodestringOptional
A unique code that identifies a specific admission schedule.

Response

Returns a schedule for the specified ticket admission.
admissionCodestring
A unique code that identifies a specific admission.
capacityControlenum

Admission-level configured capacity control. When scheduleCode is supplied, this is resolved through the admission's capacity-limits rule for that specific schedule. Without scheduleCode, the effective mode may vary across schedules and this value reflects the admission's default.

Allowed values:
scheduleslist of objects