Skip to main content
Version: 2.2.3

REQ_ATTRIBASSOC_INTERFACE

This method allows inserting values for the attributes of a reference/guidance/sheet 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_attribassoc_interface
classpathStringYesPath to the class used in WADL
Constant value: req_import

Example request:

Supported attributes:

Request body parameterTypeRequiredDescription
idrequirementStringYesRequirement ID #
idattributeStringYesAttribute ID #
vlattributeStringYes¹Attribute value
- Standards to enter hour-type data:
- hhhh:mm
dsdescriptionStringNoAttribute description
instanceStringNoThe value of this constant must be:
%WF_IDINSTANCE%
idactStringNoInstance activity ID #
actionIntegerNoThe action type that will be performed on the screen:
1 - Insert
info

Yes¹ - The vlattribute field is required for all attributes, EXCEPT those of the Memo type, where the dsdescription field must be completed.

{
"idrequirement": "string",
"idattribute": "string",
"vlattribute": 1,
"dsdescription": "string",
"instance": "string",
"idact": "string",
"action": 1
}

Example response:

200 OK

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