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.
It is a GET function without parameters.
Request
There are no request parameters for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
This section describes the 200 status response for this operation.
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
Show Source
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.
-
commonDependencies:
array Common Dependencies
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. -
durationDependencies:
array Duration Dependencies
Title:
Duration Dependencies
A list of activity fields and properties needed to determine the duration of the booked activity. -
travelTimeDependencies:
array Travel Time Dependencies
Title:
Travel Time Dependencies
A list of activity fields and properties needed to determine the travel time of the booked activity. -
workSkillDependencies:
array Work Skill Dependencies
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). -
workZoneDependencies:
array Work Zone Dependencies
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).
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 : items
Type:
Show Source
object
-
apiParameterName:
string
API parameter name
-
label:
string
Internal label
Default Response
This section describes the default error response for this operation.
Root Schema : Error
Type:
Show Source
object
-
detail:
string
The detailed description of this error.
-
status:
string
The HTTP status code of this error.
-
title(required):
string
The brief description of this error.
-
type(required):
string
The URL of the web page containing more details about this error.