Get the list of decision types

get/flowTypes
Internal-Use Only

Returns the collection of decision types.

Request Samples

1

Response Samples

1{
2 "links": [
3 {
4 "method": "GET",
5 "rel": "collection",
6 "href": "/decisions/flowTypes",
7 "uri": "/decisions/flowTypes",
8 "type": "application/vnd.sas.collection",
9 "itemType": "application/vnd.sas.decision.type"
10 },
11 {
12 "method": "GET",
13 "rel": "first",
14 "href": "/decisions/flowTypes?sortBy=name&start=0&limit=1",
15 "uri": "/decisions/flowTypes?sortBy=name&start=0&limit=1",
16 "type": "application/vnd.sas.collection",
17 "itemType": "application/vnd.sas.decision.type"
18 },
19 {
20 "method": "GET",
21 "rel": "prev",
22 "href": "/decisions/flowTypes?sortBy=name&start=1&limit=1",
23 "uri": "/decisions/flowTypes?sortBy=name&start=1&limit=1",
24 "type": "application/vnd.sas.collection",
25 "itemType": "application/vnd.sas.decision.type"
26 },
27 {
28 "method": "GET",
29 "rel": "next",
30 "href": "/decisions/flowTypes?sortBy=name&start=3&limit=1",
31 "uri": "/decisions/flowTypes?sortBy=name&start=3&limit=1",
32 "type": "application/vnd.sas.collection",
33 "itemType": "application/vnd.sas.decision.type"
34 },
35 {
36 "method": "GET",
37 "rel": "self",
38 "href": "/decisions/flowTypes?sortBy=name&start=2&limit=1",
39 "uri": "/decisions/flowTypes?sortBy=name&start=2&limit=1",
40 "type": "application/vnd.sas.collection",
41 "itemType": "application/vnd.sas.decision.type"
42 },
43 {
44 "method": "POST",
45 "rel": "createDecisionType",
46 "href": "/decisions/flowTypes",
47 "uri": "/decisions/flowTypes",
48 "type": "application/vnd.sas.decision.type",
49 "responseType": "application/vnd.sas.decision.type"
50 }
51 ],
52 "name": "decisionTypes",
53 "accept": "application/vnd.sas.decision.type",
54 "start": 2,
55 "count": 5,
56 "items": [
57 {
58 "id": "d243e6a3-36b6-4f5a-bdd0-5b17e7a9d71f",
59 "name": "Fraud",
60 "l10nKey": "SASFraudManagement-SASDecisionManager-gui-icu.underThirtyMs.type.label",
61 "denyDecisionNodeTypes": [
62 "ruleSet"
63 ],
64 "allowDecisionNodeTypes": [
65 "98879d99-4aaf-4d40-b18a-483659ffc32",
66 "d28e6407-6f5a-4839-8c39-d505cebff6b8"
67 ],
68 "createdBy": "sasdemo",
69 "creationTimeStamp": "2021-10-25T17:12:50.202000Z",
70 "modifiedBy": "sasdemo",
71 "modifiedTimeStamp": "2021-10-25T17:12:50.202000Z",
72 "links": [
73 {
74 "method": "GET",
75 "rel": "self",
76 "href": "/decisions/flowTypes/d243e6a3-36b6-4f5a-bdd0-5b17e7a9d71f",
77 "uri": "/decisions/flowTypes/d243e6a3-36b6-4f5a-bdd0-5b17e7a9d71f",
78 "type": "application/vnd.sas.decision.type"
79 }
80 ],
81 "version": 1
82 }
83 ],
84 "limit": 1,
85 "version": 2
86}

Query Parameters

NameTypeRequiredDescription
filter
string<filter-criteria>
false

The criteria for filtering the decision types. See Filtering in REST APIs.

Examples:
"gt(modifiedTimeStamp, '2021-05-03T15:38:45.654Z')"
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 limit is 10.

Examples:
500
sortBy
string<sort-criteria>
false

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

Examples:
"modifiedTimeStamp: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
false

If provided, this should be an alternative media type that the service recognizes. If the media type is not one that the service can provide, a 406 response is returned.

Examples:
"application/vnd.sas.decision.type+json"

Responses

StatusMeaningDescription
200OKThe request succeeded.HeadersSchema
406Not AcceptableThe request was not acceptable. An invalid media type was specified for the `Accept-Item` header value.HeadersSchema