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

REQ_ATTRIBASSOC_INTERFACE

Previous  Top  Next

This method allows inserting values for the attributes of a reference/guidance/sheet requirement using a REST web service.

 

Method

POST

 

Input parameters

ID #

Constant value

Parameter

Type

Description

cdprod

227

QUERY

NUMERIC

Product code

classname

req_attribassoc_interface

QUERY

STRING

Class name used in WADL

classpath

req_import

QUERY

STRING

Path to the class used in WADL

 

Request body

{

 "idrequirement": "string",

 "idattribute": "string",

 "vlattribute": 1,

 "dsdescription": "string",

 "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 #

idattribute

X

Attribute ID #

vlattribute

X1

Attribute value

- Standards to enter hour-type data:

• hhhh:mm

dsdescription

 

Attribute description.

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

 

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