Decisions

Loading...
The Decisions API supports the life cycle of decision data.

Decisions

Contains the operations to create, read, update, and delete decisions.
get
Get a list of all decisions
Internal-Use OnlyReturns a resource collection of all decisions.
/flows
post
Create a decision
Internal-Use OnlyCreates a new decision based on the provided content.
/flows
get
Get decision content
Internal-Use OnlyRetrieves the contents of a decision.
/flows/{decisionId}
put
Update a decision
Internal-Use OnlyUpdates the decision.
/flows/{decisionId}
delete
Delete a decision
Internal-Use OnlyDeletes the specified decision.
/flows/{decisionId}
get
Get decision revision summary content (Deprecated)
Internal-Use OnlyRetrieves the contents of a decision as a decisioning revision summary. This is deprecated. Please use endpoint /flows/{decisionId} and provide request header Accept as application/vnd.sas.dcm.summary+json.
/flows/{decisionId}
get
Get decision code
Internal-Use OnlyRetrieves the DS2 package code, which can be used to execute the decision.
/flows/{decisionId}/code
post
Get the mapped code for a decision
Internal-Use OnlyReturns the code that is used to run the decision based on the provided data and mapping information in the request.
/flows/{decisionId}/mappedCode
post
Get decision code without score definition (Deprecated)
Internal-Use OnlyReturns the code to be able to run the decision based on mapping to a static input and output data set of SASEP.IN and SASEP.OUT rather than binding to a score definition. This is deprecated. Use endpoint /flows/{decisionId}/mappedCode with Content-Type header as application/vnd.sas.score.code.generation.request.unbound+json.
/flows/{decisionId}/mappedCode
post
Get decision code not bound to a score definition (Deprecated)
Internal-Use OnlyReturns the code directly as text without being wrapped in a JSON model, that a user can use to be able to run the decision based on mapping to a static input and output data set of SASEP.IN and SASEP.OUT rather than binding to a score definition. This is deprecated. Use the endpoint /flows/{decisionId}/mappedCode with Accept header as text/vnd.sas.source.ds2.
/flows/{decisionId}/mappedCode
post
Get the analysis code for a decision
Internal-Use OnlyReturns the analysis code that is used to generate the rule fired or path tracking reports based on the scoring definition.
/flows/{decisionId}/analysisCode
get
Get decision step code
Internal-Use OnlyReturns the step code for the specified decision.
/flows/{decisionId}/decisionStepCode
get
Get a list of external artifacts for a decision
Internal-Use OnlyReturns the list of external artifacts used by a decision revision. Objects used by a step of the steps collection in a decision flow are considered external artifacts. Some examples of such objects are files and web services. This endpoint returns the collection of external artifacts. The collection might be empty if there is no external artifact used by any step of the decision. The expected number of external artifacts is small. Therefore, this endpoint does not support any paging, filtering, or sorting of parameters.
/flows/{decisionId}/externalArtifacts
get
Get legacy Variables of decision
Internal-Use OnlyRetrieves the legacy variables of the decision, which can be added back to the decision.
/flows/{decisionId}/legacyVariables
get
Get validation errors for a decision
Internal-Use OnlyRetrieves the validation errors for a decision and also its sub-decisions.
/flows/{decisionId}/errors
get
Get decision error markers
Internal-Use OnlyReturns a collection of error markers for a decision scoring test.
/flows/{decisionId}/errorMarkers
get
Get direct dependent objects
Internal-Use OnlyRetrieves the URIs of the direct dependent objects of the decision.
/flows/{decisionId}/dependencies
get
Get terms by name in all decisions
Internal-Use OnlyGets terms by name in all decisions.
/terms

Decision Revisions

Contains the operations to create, read, and delete decision revisions.
get
Get all revisions for a decision
Internal-Use OnlyRetrieves a list of all revisions that exist for a decision.
/flows/{decisionId}/revisions
post
Create a decision revision
Internal-Use OnlyCreates a new revision for the decision.
/flows/{decisionId}/revisions
get
Get content for a decision revision
Internal-Use OnlyRetrieves the content for the decision revision requested.
/flows/{decisionId}/revisions/{revisionId}
delete
Delete a locked decision revision
Internal-Use OnlyDeletes the specified locked decision revision.
/flows/{decisionId}/revisions/{revisionId}
get
Get content for a decision revision (Deprecated)
Internal-Use OnlyRetrieves the content for the decision revision requested. This is deprecated. Use endpoint /flows/{decisionId}/revisions/{revisionId} with Accept header as application/vnd.sas.dcm.summary+json.
/flows/{decisionId}/revisions/{revisionId}
get
Get code for a decision revision
Internal-Use OnlyRetrieves the DS2 package code, which can then be used to execute the decision revision.
/flows/{decisionId}/revisions/{revisionId}/code
post
Get the mapped code of a decision revision
Internal-Use OnlyReturns the code bound to data specified in the score request for execution for the decision revision.
/flows/{decisionId}/revisions/{revisionId}/mappedCode
post
Get decision revision code without a score definition (Deprecated)
Internal-Use OnlyReturns the code to be able to run the decision revision based on mapping to a static input and output data set of SASEP.IN and SASEP.OUT rather than binding to a score definition. This is deprecated. Please use endpoint /flows/{decisionId}/revisions/{revisionId}/mappedCode with Content-Type header as application/vnd.sas.score.code.generation.request.unbound+json.
/flows/{decisionId}/revisions/{revisionId}/mappedCode
post
Get code for decision revision not bound to score definition (Deprecated)
Internal-Use OnlyReturns the code directly as text without being wrapped in a JSON model, that a user can use to be able to run the decision revision based on mapping to a static input and output data set of SASEP.IN and SASEP.OUT rather than binding to a score definition. This is deprecated. Please use the endpoint /flows/{decisionId}/revisions/{revisionId}/mappedCode with header Content-Type as application/vnd.sas.score.code.generation.request.unbound+json and header Accept as text/vnd.sas.source.ds2.
/flows/{decisionId}/revisions/{revisionId}/mappedCode
post
Get analysis code for decision revision
Internal-Use OnlyRetrieves the analysis code that is required for the collection rule fired or path tracking information for the decision revision.
/flows/{decisionId}/revisions/{revisionId}/analysisCode
get
Get decision revision step code
Internal-Use OnlyReturns the decision step code for the specified decision revision.
/flows/{decisionId}/revisions/{revisionId}/decisionStepCode
get
Get list of external artifacts for decision revision
Internal-Use OnlyReturns the list of external artifacts used by a decision revision. Objects used by a step of the steps collection in a decision flow are considered external artifacts. Some examples of such objects are files and web services. This endpoint returns the collection of external artifacts. The collection might be empty if there is no external artifact used by any step of the decision. The expected number of external artifacts is small. Therefore, this endpoint does not support any paging, filtering, or sorting of parameters.
/flows/{decisionId}/revisions/{revisionId}/externalArtifacts
get
Get list of decision node reference objects for decision revision
Internal-Use OnlyReturns the list of decision node reference objects used by a decision revision. Decision node reference objects can be rule sets, models, treatment definition groups, lookup tables, code files, or subdecisions. This endpoint returns the collection of decision node reference objects. This endpoint does not support any paging.
/flows/{decisionId}/revisions/{revisionId}/nodeObjects
get
Get list of all checkouts for a decision revision
Internal-Use OnlyReturns the complete list of checkouts for a decision revision.
/flows/{decisionId}/revisions/{revisionId}/checkOuts
get
Get validation errors for a decision revision
Internal-Use OnlyRetrieves the validation errors for a decision revision and also its sub-decisions.
/flows/{decisionId}/revisions/{revisionId}/errors
get
Get decision revision error markers
Internal-Use OnlyReturns a collection of error markers for a decision revision scoring test.
/flows/{decisionId}/revisions/{revisionId}/errorMarkers
get
Retrieve components in the decision based on tags
Internal-Use OnlyReturns a collection of decision components based on if they do or do not have certain tags.
/flows/{decisionId}/revisions/{revisionId}/decisionComponentsWithTags

Code Files

Contains the operations for code files.
get
Get a collection of code files
Internal-Use OnlyReturns a collection of code files based on the specified pagination, filtering, and sorting options. The items in the collection, depend on the Accept-Item header.
/codeFiles
post
Create a code file
Internal-Use OnlyCreates a new code file based on the representation in the request body.
/codeFiles
get
Get a code file
Internal-Use OnlyReturns the representation of the specified code file.
/codeFiles/{codeFileId}
put
Update a code file
Internal-Use OnlyUpdates a code file based on the representation in the request body. Only the name and description of a code file can be updated with this operation.
/codeFiles/{codeFileId}
delete
Delete a code file
Internal-Use OnlyDeletes the specified code file.
/codeFiles/{codeFileId}
get
Get the summary for a code file (Deprecated)
Internal-Use OnlyReturns the summary representation of the specified code file. This is deprecated. Use endpoint /codeFiles/{codeFileId} with Accept header as application/vnd.sas.summary+json.
/codeFiles/{codeFileId}
get
Get the decisioning summary for a code file (Deprecated)
Internal-Use OnlyReturns the decisioning summary representation of the specified code file. This is deprecated. Use endpoint /codeFiles/{codeFileId} with Accept header as application/vnd.sas.dcm.summary+json.
/codeFiles/{codeFileId}
post
Get the mapped code for a code file
Internal-Use OnlyReturns the code to be able to run the code file based on the provided data and mapping information in the request.
/codeFiles/{codeFileId}/mappedCode
get
Get the decision step code for a code file
Internal-Use OnlyReturns the decision step code for the specified code file.
/codeFiles/{codeFileId}/decisionStepCode
get
Get direct dependent objects
Internal-Use OnlyRetrieves the URIs of the direct dependent objects of the code file.
/codeFiles/{codeFileId}/dependencies
get
Get terms by name in all code files
Internal-Use OnlyGets terms by name in all code files.
/codeFileTerms

Code File Revisions

Contains the operations for code file revisions.
get
Get a collection of revisions of a code file
Internal-Use OnlyReturns a collection of code file revisions based on the specified pagination, filtering, and sorting options. The items in the collection, depend on the Accept-Item header.
/codeFiles/{codeFileId}/revisions
post
Create a code file revision
Internal-Use OnlyCreates a new code file revision based on the representation in the request body.
/codeFiles/{codeFileId}/revisions
post
Create a code file revision with code (Deprecated)
Internal-Use OnlyCreates a new code file revision based on the representation in the request body. This is deprecated. Please use endpoint /codeFiles/{codeFileId}/revisions with Content-Type header as application/vnd.sas.decision.code.file.with.code+json.
/codeFiles/{codeFileId}/revisions
get
Get a code file revision
Internal-Use OnlyReturns the representation of the specified code file revision.
/codeFiles/{codeFileId}/revisions/{revisionId}
delete
Delete a code file revision
Internal-Use OnlyDeletes the specified code file revision.
/codeFiles/{codeFileId}/revisions/{revisionId}
get
Get the summary for a code file revision (Deprecated)
Internal-Use OnlyReturns the summary representation of the specified code file revision. This is deprecated. Please use endpoint /codeFiles/{codeFileId}/revisions/{revisionId} with Accept header application/vnd.sas.summary+json.
/codeFiles/{codeFileId}/revisions/{revisionId}
get
Get the decisioning summary for a code file revision (Deprecated)
Internal-Use OnlyReturns the decisioning summary representation of the specified code file revision. This is deprecated. Please use endpoint /codeFiles/{codeFileId}/revisions/{revisionId} with Accept header as application/vnd.sas.dcm.summary+json.
/codeFiles/{codeFileId}/revisions/{revisionId}
post
Get the mapped code of a code file revision
Internal-Use OnlyReturns the code to be able to run the code file based on the provided data and mapping information in the request.
/codeFiles/{codeFileId}/revisions/{revisionId}/mappedCode
get
Get the decision step code for a code file revision
Internal-Use OnlyReturns the decision step code for the specified code file revision.
/codeFiles/{codeFileId}/revisions/{revisionId}/decisionStepCode

Decision Node Types

Contains the operations for decision node types.

Segmentation Trees

Contains the operations for segmentation trees.

Segmentation Tree Revisions

Contains the operations for segmentation tree revisions.