PaCE API invocation parameters
This table describes the properties that can be configured when the PaCE API is invoked. These properties can be set whenever the API is invoked or when you test a policy in the Test Playground.
| Property name | Required | Default value | Description |
|---|---|---|---|
| service | yes | The calling service that is invoking the API. | |
| category | no | The category type. | |
| type | no | standard | Can be standard or test. |
| documentIds | yes (array of table, sysID) | The documentIds is an array of the table and sysID (of the deployable). | |
注: The properties shown in the preceding table cannot be configured in the Test
Playground. They can only be used when the PaCE API is invoked. |
|||
| data | yes | The policy-specific data that includes all possible caller inputs. | |
| executionTag | no | Can be used to tag one or more policy executions records resulting from this invocation. It can be used to retrieve execution details of the policy based on the executionTag. | |
| verboseResponse | no | false | Default value is false. If set to
true, additional debug information (in this case the ids of
the mapped policies) is returned. A sample invocation response with
options.verboseResponse:true is shown here: If options.verboseResponse:false, the mapped policies
are not included in the response. |
| failFast | no | false | The default value is false. If this property is set to true, the first failed policy stops the execution of all the mapped policies. |
| logLevel | no | info | This parameter can be used to specify how the log messages should be
displayed.
|
| timeout | no | 3600 | The timeout period in seconds. The default value is 3600. |
| waitForResult | no | 3600 | The waitForResult period in seconds. 注: This parameter is available only in
the Test Playground. |