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

REQ_LEAF_INTERFACE

Previous  Top  Next

This method allows inserting a requirement in the structure of a reference requirement using a REST web service.

 

Method

POST

 

Input parameters

ID #

Constant value

Parameter

Type

Description

cdprod

227

QUERY

NUMERIC

Product code

classname

req_leaf_interface

QUERY

STRING

Class name used in WADL

classpath

req_import

QUERY

STRING

Path to the class used in WADL

 

Request body

{

 "idrequirement": "string",

 "nmrequirement": "string",

 "idreqowner": "string",

 "idreqreference": "string",

 "dtvaliditystart": "string",

 "dtvalidityend": "string",

 "nrorder": 1,

 "dsurl": "string",

 "dsdescription": "string",

 "dshint": "string",

 "vlauditweight": 1,

 "instance": "string",

 "idact": "string",

 "action": 1

}

 

Output parameter

{

   "success": true,

   "total": 1,

   "results": [

       {

           "Result": true,

           "Code": 1

       }

   ]

}

 

To insert each of these requirement items, the standard documented below must be followed.

Request

ID #

Required

Description

idrequirement

X

Requirement ID #

nmrequirement

X

Requirement name

idreqowner

X

Guidance requirement ID #

idreqreference

X

Reference requirement ID #

dtvaliditystart

 

Effective date

dtvalidityend

 

Expiration date

nrorder

 

Requirement order

dsurl

 

Url

dsdescription

 

Description

dshint

 

Audit criterion tip

vlauditweight

 

Evaluation criterion weight

instance

 

The value of this constant must be:

%WF_IDINSTANCE%

idact

 

Instance activity ID #

action

 

The action type that will be performed on the screen:

1 – Insert