Get validation errors for a decision revision

get/flows/{decisionId}/revisions/{revisionId}/errors
Internal-Use Only

Retrieves the validation errors for a decision revision and also its sub-decisions.

Request Samples

1

Response Samples

1{
2 "links": [
3 {
4 "method": "GET",
5 "rel": "collection",
6 "href": "/decisions/flows/c886c6c8-38a3-4897-ab38-69ac50074858/revisions/af149b13-dfd8-4422-80cf-7889da963e78/errors",
7 "uri": "/decisions/flows/c886c6c8-38a3-4897-ab38-69ac50074858/revisions/af149b13-dfd8-4422-80cf-7889da963e78/errors",
8 "type": "application/vnd.sas.collection",
9 "itemType": "application/vnd.sas.decision.validation.error"
10 },
11 {
12 "method": "GET",
13 "rel": "self",
14 "href": "/decisions/flows/c886c6c8-38a3-4897-ab38-69ac50074858/revisions/af149b13-dfd8-4422-80cf-7889da963e78/errors?start=0&limit=10",
15 "uri": "/decisions/flows/c886c6c8-38a3-4897-ab38-69ac50074858/revisions/af149b13-dfd8-4422-80cf-7889da963e78/errors?start=0&limit=10",
16 "type": "application/vnd.sas.collection",
17 "itemType": "application/vnd.sas.decision.validation.error"
18 }
19 ],
20 "name": "decisionValidationErrors",
21 "accept": "application/vnd.sas.decision.validation.error",
22 "start": 0,
23 "count": 3,
24 "items": [
25 {
26 "decisionId": "c886c6c8-38a3-4897-ab38-69ac50074858",
27 "decisionRevisionId": "af149b13-dfd8-4422-80cf-7889da963e78",
28 "decisionName": "add_dec",
29 "variableId": "ae39c528-6769-41d1-865b-fd617a8ee52a",
30 "variableName": "add_gv",
31 "itemType": "variable",
32 "errorCode": 77022,
33 "errorMessage": "Global variable is not activated.",
34 "version": 1
35 },
36 {
37 "decisionId": "c886c6c8-38a3-4897-ab38-69ac50074858",
38 "decisionRevisionId": "af149b13-dfd8-4422-80cf-7889da963e78",
39 "decisionName": "add_dec",
40 "stepId": "38cb283b-ecd9-4c45-b3a5-3500f4173ecb",
41 "stepName": "add_rs",
42 "itemType": "application/vnd.sas.decision.step.ruleset",
43 "errorCode": 77021,
44 "errorMessage": "Signature of the resource in the step has changed.",
45 "version": 1
46 },
47 {
48 "decisionId": "c886c6c8-38a3-4897-ab38-69ac50074858",
49 "decisionRevisionId": "af149b13-dfd8-4422-80cf-7889da963e78",
50 "decisionName": "add_dec",
51 "stepId": "38cb283b-ecd9-4c45-b3a5-3500f4173ecb",
52 "stepName": "add_rs",
53 "stepMappingId": "a8ef2325-84ad-4c52-808f-38a975e2f613",
54 "stepMappingName": "a",
55 "itemType": "mapping",
56 "errorCode": 77024,
57 "errorMessage": "The mapping is not assigned.",
58 "version": 1
59 }
60 ],
61 "limit": 10,
62 "version": 2
63}

Path Parameters

NameTypeRequiredDescription
decisionId
string
true

The identifier for the decision.

Examples:
"094078e7-278a-4719-a704-6e5e65af29ee"
revisionId
string
true

The identifier of the revision.

Examples:
"cd942f3c-60a0-4b16-9184-4cb8921fb0eb"

Query Parameters

NameTypeRequiredDescription
filter
string<filter-criteria>
false

The criteria for filtering the decision revision validation errors. See Filtering in REST APIs.

Examples:
"gt(stepId, '410d5536-453d-48f4-b53b-206a3eadc58f')"
limit
integer
false

The maximum number of items to return in this page of results. The actual number of returned items might be less if the collection has been exhausted. The default is 10.

Examples:
500
sortBy
string<sort-criteria>
false

The criteria for sorting the decision validation errors. See Sorting in REST APIs.

Examples:
"decisionName:descending"
start
integer
false

The starting index of the first item in a page. The index is 0-based. The default is 0.

Examples:
100

Header Parameters

NameTypeRequiredDescription
Accept-Item
string<media-type>
false

Used for selecting the desired item representation.

Allowed value:
application/vnd.sas.decision.validation.error+json
Default:
application/vnd.sas.decision.validation.error+json
Examples:
"application/vnd.sas.decision.validation.error+json"

Responses

StatusMeaningDescription
200OKThe request succeeded.HeadersSchema
404Not FoundNo decision revision exists at the requested path.HeadersSchema