Skip to main content
Version: 2.2.3

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 parameterTypeRequiredDescription
idContextStringYesID #
nmContextStringYesName
dsContextStringNoDescription
idContextOwnerStringNoUpper level context ID #
idEvalStringYesEvaluation method ID #
idMaskStringNoMask ID #
fgEditIdStringNoIs it possible to edit the mask?
1 - Yes, 2 - No
fgTypeRevisionStringNoRevision type.
1 - ISO, 2 - Workflow, 4 - Simplified
idRevisionRouteStringNoRoute ID #
idProcessStringNoProcess ID #
idRevalidConfigStringNoRevalidation ID #
fgInheritDefaultStringNoInherit 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
}
]
}