Skip to main content
Version: 2.2.3

RIS_RISK_EVAL_FORM_INTERFACE

Matrix type evaluation

This method allows adding and editing an evaluation of the matrix type through a form using a REST web service.

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

Query parameters:

Query parametersTypeRequiredDescription
cdprodNumericYesProduct code
Constant value: 215
classnameStringYesName of the class used in WADL
Constant Value: ris_risk_eval_form_interface
classpathStringYesPath to the class used in WADL
Constant value: ri_import

Request example:

Supported attributes:

Request body parameterTypeRequiredDescription
evaluation_codeStringYesRisk evaluation code
idevalStringNoID # 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",
"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 allows adding and editing an evaluation of the quantitative or quantitative matrix type through a form using a REST web service.

Query parameters:

Query parametersTypeRequiredDescription
cdprodNumericYesProduct code
Constant value: 215
classnameStringYesName of the class used in WADL
Constant Value: ris_risk_eval_form_interface
classpathStringYesPath to the class used in WADL
Constant value: ri_import

Request example:

Supported attributes:

Request body parameterTypeRequiredDescription
evaluation_codeStringYesRisk evaluation code
idevalStringNoID # 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",
"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
}
]
}