Deploy a Decision Model Snapshot
put
/ic/api/process/v1/dmn/spaces/{spaceId}/decision-models/{decisionModelName}/tags/{tagId}
Deploys a decision model snapshot. A runtime ID version is the version ID assigned by the user when a snapshot is deployed. Runtime versions IDs are the tag name in the tag resource path. Tag is a child resource of the decision model resource. The request body MUST contain the json representation of a tag resource, in which the ref attribute contains the snapshot name.
Request
Supported Media Types
- application/json
Path Parameters
-
decisionModelName: string
Name of the Decision Model
-
spaceId: string
Identifies the Process space in which the decision model was created.
-
tagId: number
Tag ID, this is usually the runtime version ID (e.g. 1.0, 2.0)
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
json description of the runtime version ID.
Root Schema : DecisionModelTag
Match All
Show Source
Example:
{
"application/json":{
"@class":".DecisionModelTag",
"name":"1.0",
"ref":{
"@class":".DecisionModelTag$VersionReference",
"name":"SampleDecisionModelSnapshot1"
}
}
}
Nested Schema : DecisionModelTag-allOf[1]
Type:
Show Source
object
-
class(optional):
string
Default Value:
.DecisionModelTag
-
ref(optional):
string
Response
Supported Media Types
- text/plain
204 Response
No Content (Operation successful)
401 Response
Unauthorized
403 Response
Forbidden (Expired or invalid token)
404 Response
Not Found
500 Response
Internal Server Error