Bulk evaluate conditions

post/conditionEvaluations
Internal-Use Only

Evaluate a bulk condition evaluation request. The response is a bulk condition evaluation response indicating the results of evaluating the conditions. Each individual evaluation request in the bulk request can succeed or fail independently. Each successful evaluation yields a condition evaluation response object that contains a result property. Each failed evaluation yields a condition evaluation response object that contains error details. Duplicate condition evaluation request objects in the REST request are ignored, and together result in only one condition evaluation response object in the REST response. The order of the condition evaluation response objects in the REST response is not guaranteed. In order to determine which condition evaluation response corresponds to which condition evaluation request, do not use the ordering. Instead, check the requested property of the condition evaluation response object to determine which request it corresponds to.

Request Samples

1

Response Samples

1{
2 "responses": [
3 {
4 "requested": {
5 "conditionId": "1c4cdebb-c125-41ea-99c2-ac0aeedb646e",
6 "objectTypeName": "person",
7 "objectId": "9da58bba-3961-41fb-be16-cdbf8b504451"
8 },
9 "result": true
10 },
11 {
12 "requested": {
13 "conditionId": "1c4cdebb-c125-41ea-99c2-ac0aeedb646e",
14 "objectTypeName": "person",
15 "objectId": "4688f7e9-cd70-4a87-930e-55b6f8cbb264"
16 },
17 "result": false
18 },
19 {
20 "requested": {
21 "conditionId": "590acf3d-b226-4db0-b92f-001c44aa6503",
22 "objectTypeName": "account",
23 "objectId": "89bf6f8f-a307-4116-ba3c-90d16ddd177b"
24 },
25 "result": true
26 },
27 {
28 "requested": {
29 "conditionId": "590acf3d-b226-4db0-b92f-001c44aa6503",
30 "objectTypeName": "account",
31 "objectId": "6007d257-dd08-4247-b29c-6e685452df0c"
32 },
33 "errorCode": "DH6200",
34 "errorMessage": "The object with the ID \"6007d257-dd08-4247-b29c-6e685452df0c\" was not found for the \"account\" entity type.\n"
35 }
36 ]
37}

Request Body

The bulk condition evaluation request.

A request to process multiple condition evaluation requests at the same time.

NameTypeRequiredDescription
requests
array [Condition Evaluation Request]
true

A set of condition evaluation requests to be processed.

Responses

StatusMeaningDescription
201CreatedThe condition evaluation requests were processed. Schema
400Bad RequestThe request was invalid. Schema