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 parameters | Type | Required | Description |
---|---|---|---|
cdprod | Numeric | Yes | Product codeConstant value: 227 |
classname | String | Yes | Class name used in WADLConstant value: req_leaf_interface |
classpath | String | Yes | Path to the class used in WADLConstant value: req_import |
Example request:
Supported attributes:
Request body parameter | Type | Required | Description |
---|---|---|---|
idrequirement | String | Yes | Requirement ID # |
nmrequirement | String | Yes | Requirement name |
idreqowner | String | Yes | Guidance requirement ID # |
idreqreference | String | Yes | Reference requirement ID # |
dtvaliditystart | String | No | Effective date |
dtvalidityend | String | No | Expiration date |
nrorder | String | No | Requirement order |
dsurl | String | No | Url |
dsdescription | String | No | Description |
dshint | String | No | Audit criterion tip |
vlauditweight | String | No | Evaluation criterion weight |
instance | String | No | The value of this constant must be: %WF_IDINSTANCE% |
idact | String | No | Instance activity ID # |
action | String | No | The 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
}
]
}