RIS_CONTEXT_INTERFACE
This method allows inserting contexts through a REST API.
POST /apigateway/se/rest/v1/risk/context
Request example:
Supported attributes:
Request body parameter | Type | Required | Description |
---|---|---|---|
idContext | String | Yes | ID # |
nmContext | String | Yes | Name |
dsContext | String | No | Description |
idContextOwner | String | No | Upper level context ID # |
idEval | String | Yes | Evaluation method ID # |
idMask | String | No | Mask ID # |
fgEditId | String | No | Is it possible to edit the mask? 1 - Yes, 2 - No |
fgTypeRevision | String | No | Revision type. 1 - ISO, 2 - Workflow, 4 - Simplified |
idRevisionRoute | String | No | Route ID # |
idProcess | String | No | Process ID # |
idRevalidConfig | String | No | Revalidation ID # |
fgInheritDefault | String | No | Inherit security list by default 1 - Yes, 2 - No |
Insertion request example:
{
"idContext": "string",
"nmContext": "string",
"dsContext": "string",
"idContextOwner": "string",
"idEval": "string",
"idMask": "string",
"fgEditId": "1",
"fgTypeRevision": "1",
"idRevisionRoute": "string",
"idProcess": "string",
"idRevalidConfig": "string",
"fgInheritDefault": "1"
}
Response example:
200 OK
{
"success": true,
"total": 1,
"results": [
{
"Result": true,
"Code": 1
}
]
}