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 parameters | Type | Required | Description |
---|---|---|---|
cdprod | Numeric | Yes | Product codeConstant value: 227 |
classname | String | Yes | Class name used in WADLConstant value: req_attribassoc_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 # |
idattribute | String | Yes | Attribute ID # |
vlattribute | String | Yes¹ | Attribute value - Standards to enter hour-type data: - hhhh:mm |
dsdescription | String | No | Attribute description |
instance | String | No | The value of this constant must be:%WF_IDINSTANCE% |
idact | String | No | Instance activity ID # |
action | Integer | No | The 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
}
]
}