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 |
|
httpMethod |
The HTTP method for which you want to check rules (send the rules retrieval request). |
Query |
String |
|
executionID |
Example: e1s1 e2s1 |
Query |
String |
|
Response
The response contains two lists:
- appliedRules Array [string]
- ruleName
- failedRules Array [RuleInformation]
- ruleName
- evaluationResult
- failureReason