Booking Fields Dependencies

get

/rest/ofscCapacity/v1/bookingFieldsDependencies

The function provides a list of fields and properties that required by showBookingGrid API function to determine parameters of activity that is going to be booked.
It is a GET function without parameters.

Request

There are no request parameters for this operation.

Back to Top

Response

Supported Media Types

200 Response

This section describes the 200 status response for this operation.
Body ()
Root Schema : Booking Fields Dependencies
Type: object
Title: Booking Fields Dependencies
The collection of Booking Dependencies. The response contains five arrays of objects that enumerate required fields and properties to determine the appropriate entity.
Each object in the list it is a pair of the label and appropriate API parameter name.
Key Notes
  • The same field (e.g., activityType) may appear in multiple sections if it affects different booking aspects (duration, skills, etc.).
  • All fields from commonDependencies must always be provided.
Show Source
Nested Schema : Common Dependencies
Type: array
Title: Common Dependencies
A list of mandatory activity fields required for the showBookingGrid API function to work under any circumstances. These fields must always be provided.
Show Source
Nested Schema : Duration Dependencies
Type: array
Title: Duration Dependencies
A list of activity fields and properties needed to determine the duration of the booked activity.
Show Source
Nested Schema : Travel Time Dependencies
Type: array
Title: Travel Time Dependencies
A list of activity fields and properties needed to determine the travel time of the booked activity.
Show Source
Nested Schema : Work Skill Dependencies
Type: array
Title: Work Skill Dependencies
A list of activity fields and properties needed to determine the work skills of the booked activity (required to match capacity categories and find suitable capacity areas).
Show Source
Nested Schema : Work Zone Dependencies
Type: array
Title: Work Zone Dependencies
A list of activity fields and properties needed to determine the work zone of the booked activity (required to find suitable capacity areas).
Show Source
Nested Schema : showBookingDependencyItem
Type: array
Show Source
Nested Schema : items
Type: object
Show Source

Default Response

This section describes the default error response for this operation.
Body ()
Root Schema : Error
Type: object
Show Source
Back to Top