Skip to main content
Version: 2.2.3

REQ_LEAF_INTERFACE

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

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

Query parameters:

Query parametersTypeRequiredDescription
cdprodNumericYesProduct code
Constant value: 227
classnameStringYesClass name used in WADL
Constant value: req_leaf_interface
classpathStringYesPath to the class used in WADL
Constant value: req_import

Example request:

Supported attributes:

Request body parameterTypeRequiredDescription
idrequirementStringYesRequirement ID #
nmrequirementStringYesRequirement name
idreqownerStringYesGuidance requirement ID #
idreqreferenceStringYesReference requirement ID #
dtvaliditystartStringNoEffective date
dtvalidityendStringNoExpiration date
nrorderStringNoRequirement order
dsurlStringNoUrl
dsdescriptionStringNoDescription
dshintStringNoAudit criterion tip
vlauditweightStringNoEvaluation criterion weight
instanceStringNoThe value of this constant must be:
%WF_IDINSTANCE%
idactStringNoInstance activity ID #
actionStringNoThe action type that will be performed on the screen:
1 - Insert
{
"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
}

Example response:

200 OK

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