Skip Navigation

Control Fields in the UI

Digital Connect introduces a standalone service called /configuration/rules that returns applicable Rule Names. That service can be called anytime and is applicable for all flows.

That gives you the ability to retrieve available rules that are applicable to the booking and have been set up for the particular service in order to dynamically configure when to collect passenger information.

Request parameters:

Parameter

Description

Parameter Type

Data Type

Validation

path

The path name for which you want to check rules (send the rules retrieval request).

Query

String

  • Required: true
  • Min: 1
  • Max: 100

httpMethod

The HTTP method for which you want to check rules (send the rules retrieval request).

Query

String

  • Required: true
  • Allowed Values (ENUM): GET,POST,PUT,DELETE,HEAD,OPTIONS

executionID

Example:

e1s1

e2s1

Query

String

  • Required: true
  • Note: If rule is executed before. flight selection an empty list will be returned as the proper context to validate all rules is unknown. If rule is executed after flight selection without executionID an error will be returned.

Response

The response contains two lists:

  1. appliedRules Array [string]
    • ruleName
  2. failedRules Array [RuleInformation]
    • ruleName
    • evaluationResult
    • failureReason