Get a List of Decision Services of a Decision Model Snapshot
get
/ic/api/process/v1/dmn/spaces/{spaceId}/decision-models/{decisionModelName}/versions/{decisionModelVersion}/definition/decision-services
Reads the list of decision services of a decision model snapshot.
Request
Path Parameters
-
decisionModelName: string
Name of the Decision Model
-
decisionModelVersion: string
Decision model version ID, this is usually the snapshot nameDefault Value:
LATEST
-
spaceId: string
Identifies the Process space in which the decision model was created.
Header Parameters
-
Authorization: string
Authorization header MUST be set to type Bearer and an access token must be provided i.e. 'Bearer
' Default Value:Bearer XXXXX.XXXXX.XXXXX
Response
Supported Media Types
- application/json
- text/plain
200 Response
Successful Response
Example Response (application/json)
{
"@class":".RestCollection",
"name":"decision-services",
"lastChangedTime":"2017/02/04T17:37:05",
"lastChangedBy":"jlondon",
"createdTime":"2017/01/14T18:57:29",
"createdBy":"jlondon",
"items":[
{
"@class":".DecisionService",
"name":"Test Service"
}
]
}
401 Response
Unauthorized
403 Response
Forbidden (Expired or invalid token)
404 Response
Not Found
500 Response
Internal Server Error