Navigation:  Integration via REST web services > Published web services > Risk >

RIS_EVAL_INTERFACE - Matrix-type evaluation

Previous  Top  Next

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

 

To insert each of these items, it is necessary to follow the standard documented below.

Method

POST

 

Input parameters

ID #

Constant value

Parameter

Type

Description

cdprod

215

QUERY

NUMERIC

Product code

classname

ris_eval_interface

QUERY

STRING

Class name used in WADL

classpath

ri_import

QUERY

STRING

Path to the class used in WADL

 

Input request body

{

 "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"

}

 

Output parameter

{

   "success": true,

   "total": 1,

   "results": [

       {

           "Result": true,

           "Code": 1

       }

   ]

}

 

Request

ID #

Required

Description

IDANALYSIS

X

Risk/control analysis ID #

IDTYPE

X

Analysis type:

1 - Risk analysis

2 - Control analysis

IDEVAL

X

ID # of the new evaluation

SEVAXIS_REAL

 

X-axis value of the first evaluation

PROBAXIS_REAL

 

Y-axis value of the first evaluation

SEVAXIS_RESID

 

X-axis value of the second evaluation

PROBAXIS_RESID

 

Y-axis value of the second evaluation

SEVAXIS_POT

 

X-axis value of the third evaluation

PROBAXIS_POT

 

Y-axis value of the third evaluation

DSJUSTIFY

 

Explanation

 

Return

ID #

Description

Status

Method execution status:

SUCCESS: Method executed successfully

FAILURE: An error occurred in the execution of the method

Code

Method return code

Detail

Method return detail

 

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.