Skip to main content
Version: 2.2.0

RIS_EVAL_INTERFACE

Matrix type evaluation​

This method makes it possible to add an evaluation of the matrix type through a REST web service.

POST /apigateway/se/generic/gn_webservice/gn_webservice_execute.php

Query parameters:

Query parametersTypeRequiredDescription
cdprodNumericYesProduct code
Constant value: 215
classnameStringYesClass name used in WADL
Constant value: ris_eval_interface
classpathStringYesPath to the class used in WADL
Constant value: ri_import

Request example:

Supported attributes:

Request body parameterTypeRequiredDescription
IDANALYSISStringYesRisk/control analysis ID #
IDTYPEStringYesAnalysis type:
1 - Risk analysis
2 - Control analysis
IDEVALStringYesID # of the new evaluation
SEVAXIS_REALStringNoX-axis value of the first evaluation
PROBAXIS_REALStringNoY-axis value of the first evaluation
SEVAXIS_RESIDStringNoX-axis value of the second evaluation
PROBAXIS_RESIDStringNoY-axis value of the second evaluation
SEVAXIS_POTStringNoX-axis value of the third evaluation
PROBAXIS_POTStringNoY-axis value of the third evaluation
DSJUSTIFYStringNoExplanation
info

Note: When a risk or control evaluation is imported, a validation is performed in the risk and control plan, and:

  • If there is a revision in progress for the risk and control plan, the inclusion of the evaluation is validated in the revision in progress.
  • If there is no revision in progress, the inclusion of the evaluation is validated in the current revision of the risk and control plan.
{
"idanalysis": "String",
"idtype": 1,
"ideval": "string",
"sevaxis_real": 1.1,
"probaxis_real": 1.1,
"sevaxis_resid": 1.1,
"probaxis_resid": 1.1,
"sevaxis_pot": 1.1,
"probaxis_pot": 1.1,
"dsjustify": "text"
}

Response example:

200 OK

{
"success": true,
"total": 1,
"results": [
{
"Result": true,
"Code": 1
}
]
}

Quantitative/Matrix type evaluation​

This method makes it possible to add an evaluation of the quantitative or matrix type through a REST web service.

Query parameters:

Query parametersTypeRequiredDescription
cdprodNumericYesProduct code
Constant value: 215
classnameStringYesClass name used in WADL
Constant value: ris_eval_interface
classpathStringYesPath to the class used in WADL
Constant value: ri_import

Request example:

Supported attributes:

Request body parameterTypeRequiredDescription
IDANALYSISStringYesRisk/control analysis ID #
IDTYPEStringYesAnalysis type:
1 - Risk analysis
2 - Control analysis
IDEVALStringYesID # of the new evaluation
NMCRIT_REAL_1StringNo1st Evaluation: Criterion 1 ID #
VLCRIT_REAL_1StringNo1st Evaluation: Criterion 1 value
NMCRIT_REAL_2StringNo1st Eval.: Criterion 2 ID #
VLCRIT_REAL_2StringNo1st Eval.: Criterion 2 value
NMCRIT_REAL_3StringNo1st Eval.: Criterion 3 ID #
VLCRIT_REAL_3StringNo1st Eval.: Criterion 3 value
NMCRIT_REAL_4StringNo1st Eval.: Criterion 4 ID #
VLCRIT_REAL_4StringNo1st Eval.: Criterion 4 value
NMCRIT_REAL_5StringNo1st Eval.: Criterion 5 ID #
VLCRIT_REAL_5StringNo1st Eval.: Criterion 5 value
NMCRIT_REAL_6StringNo1st Eval.: Criterion 6 ID #
VLCRIT_REAL_6StringNo1st Eval.: Criterion 6 value
NMCRIT_REAL_7StringNo1st Eval.: Criterion 7 ID #
VLCRIT_REAL_7StringNo1st Eval.: Criterion 7 value
NMCRIT_REAL_8StringNo1st Eval.: Criterion 8 ID #
VLCRIT_REAL_8StringNo1st Eval.: Criterion 8 value
NMCRIT_REAL_9StringNo1st Eval.: Criterion 9 ID #
VLCRIT_REAL_9StringNo1st Eval.: Criterion 9 value
NMCRIT_REAL_10StringNo1st Eval.: Criterion 10 ID #
VLCRIT_REAL_10StringNo1st Eval.: Criterion 10 value
NMCRIT_REAL_11StringNo1st Eval.: Criterion 11 ID #
VLCRIT_REAL_11StringNo1st Eval.: Criterion 11 value
NMCRIT_REAL_12StringNo1st Eval.: Criterion 12 ID #
VLCRIT_REAL_12StringNo1st Eval.: Criterion 12 value
NMCRIT_REAL_13StringNo1st Eval.: Criterion 13 ID #
VLCRIT_REAL_13StringNo1st Eval.: Criterion 13 value
NMCRIT_REAL_14StringNo1st Eval.: Criterion 14 ID #
VLCRIT_REAL_14StringNo1st Eval.: Criterion 14 value
NMCRIT_REAL_15StringNo1st Eval.: Criterion 15 ID #
VLCRIT_REAL_15StringNo1st Eval.: Criterion 15 value
NMCRIT_RES_1StringNo2nd Evaluation: Criterion 1 ID #
VLCRIT_RES_1StringNo2nd Evaluation: Criterion 1 value
NMCRIT_RES_2StringNo2nd Eval.: Criterion 2 ID #
VLCRIT_RES_2StringNo2nd Eval.: Criterion 2 value
NMCRIT_RES_3StringNo2nd Eval.: Criterion 3 ID #
VLCRIT_RES_3StringNo2nd Eval.: Criterion 3 value
NMCRIT_RES_4StringNo2nd Eval.: Criterion 4 ID #
VLCRIT_RES_4StringNo2nd Eval.: Criterion 4 value
NMCRIT_RES_5StringNo2nd Eval.: Criterion 5 ID #
VLCRIT_RES_5StringNo2nd Eval.: Criterion 5 value
NMCRIT_RES_6StringNo2nd Eval.: Criterion 6 ID #
VLCRIT_RES_6StringNo2nd Eval.: Criterion 6 value
NMCRIT_RES_7StringNo2nd Eval.: Criterion 7 ID #
VLCRIT_RES_7StringNo2nd Eval.: Criterion 7 value
NMCRIT_RES_8StringNo2nd Eval.: Criterion 8 ID #
VLCRIT_RES_8StringNo2nd Eval.: Criterion 8 value
NMCRIT_RES_9StringNo2nd Eval.: Criterion 9 ID #
VLCRIT_RES_9StringNo2nd Eval.: Criterion 9 value
NMCRIT_RES_10StringNo2nd Eval.: Criterion 10 ID #
VLCRIT_RES_10StringNo2nd Eval.: Criterion 10 value
NMCRIT_RES_11StringNo2nd Eval.: Criterion 11 ID #
VLCRIT_RES_11StringNo2nd Eval.: Criterion 11 value
NMCRIT_RES_12StringNo2nd Eval.: Criterion 12 ID #
VLCRIT_RES_12StringNo2nd Eval.: Criterion 12 value
NMCRIT_RES_13StringNo2nd Eval.: Criterion 13 ID #
VLCRIT_RES_13StringNo2nd Eval.: Criterion 13 value
NMCRIT_RES_14StringNo2nd Eval.: Criterion 14 ID #
VLCRIT_RES_14StringNo2nd Eval.: Criterion 14 value
NMCRIT_RES_15StringNo2nd Eval.: Criterion 15 ID #
VLCRIT_RES_15StringNo2nd Eval.: Criterion 15 value
NMCRIT_POT_1StringNo3rd Evaluation: Criterion 1 ID #
VLCRIT_POT_1StringNo3rd Evaluation: Criterion 1 value
NMCRIT_POT_2StringNo3rd Eval.: Criterion 2 ID #
VLCRIT_POT_2StringNo3rd Eval.: Criterion 2 value
NMCRIT_POT_3StringNo3rd Eval.: Criterion 3 ID #
VLCRIT_POT_3StringNo3rd Eval.: Criterion 3 value
NMCRIT_POT_4StringNo3rd Eval.: Criterion 4 ID #
VLCRIT_POT_4StringNo3rd Eval.: Criterion 4 value
NMCRIT_POT_5StringNo3rd Eval.: Criterion 5 ID #
VLCRIT_POT_5StringNo3rd Eval.: Criterion 5 value
NMCRIT_POT_6StringNo3rd Eval.: Criterion 6 ID #
VLCRIT_POT_6StringNo3rd Eval.: Criterion 6 value
NMCRIT_POT_7StringNo3rd Eval.: Criterion 7 ID #
VLCRIT_POT_7StringNo3rd Eval.: Criterion 7 value
NMCRIT_POT_8StringNo3rd Eval.: Criterion 8 ID #
VLCRIT_POT_8StringNo3rd Eval.: Criterion 8 value
NMCRIT_POT_9StringNo3rd Eval.: Criterion 9 ID #
VLCRIT_POT_9StringNo3rd Eval.: Criterion 9 value
NMCRIT_POT_10StringNo3rd Eval.: Criterion 10 ID #
VLCRIT_POT_10StringNo3rd Eval.: Criterion 10 value
NMCRIT_POT_11StringNo3rd Eval.: Criterion 11 ID #
VLCRIT_POT_11StringNo3rd Eval.: Criterion 11 value
NMCRIT_POT_12StringNo3rd Eval.: Criterion 12 ID #
VLCRIT_POT_12StringNo3rd Eval.: Criterion 12 value
NMCRIT_POT_13StringNo3rd Eval.: Criterion 13 ID #
VLCRIT_POT_13StringNo3rd Eval.: Criterion 13 value
NMCRIT_POT_14StringNo3rd Eval.: Criterion 14 ID #
VLCRIT_POT_14StringNo3rd Eval.: Criterion 14 value
NMCRIT_POT_15StringNo3rd Eval.: Criterion 15 ID #
VLCRIT_POT_15StringNo3rd Eval.: Criterion 15 value
DSJUSTIFYStringNoExplanation
info

Note: When a risk or control evaluation is imported, a validation is performed in the risk and control plan, and:

  • If there is a revision in progress for the risk and control plan, the inclusion of the evaluation is validated in the revision in progress.
  • If there is no revision in progress, the inclusion of the evaluation is validated in the current revision of the risk and control plan.
{
"idanalysis": "String",
"idtype": 1,
"ideval": "string",
"nmcrit_real_1": "String",
"vlcrit_real_1": 1,
"nmcrit_real_2": "String",
"vlcrit_real_2": 1,
"nmcrit_real_15": "String",
"vlcrit_real_15": 1,
"nmcrit_res_1": "String",
"vlcrit_res_1": 1,
"nmcrit_res_2": "String",
"vlcrit_res_2": 1,
"nmcrit_res_15": "String",
"vlcrit_res_15": 1,
"nmcrit_pot_1": "String",
"vlcrit_pot_1": 1,
"nmcrit_pot_2": "String",
"vlcrit_pot_2": 1,
"nmcrit_pot_15": "String",
"vlcrit_pot_15": 1,
"dsjustify": "text"
}

Response example:

200 OK

{
"success": true,
"total": 1,
"results": [
{
"Result": true,
"Code": 1
}
]
}