Change task attribute values
This method allows changing the value of a task attribute 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: 275 |
classname | String | Yes | Name of the class used in WADLConstant value: UpdateTaskAttrib |
classpath | String | Yes | Path to the class used in WADLConstant value: tsk_import |
Request example:
Supported attributes:
| Request body parameter | Type | Required | Description |
|---|---|---|---|
| TaskId | String | Yes | Activity ID # |
| AttributeId | String | Yes | Attribute ID # |
| AttributeValue | String | Yes | Attribute value |
| AttribDescriptionValue | String | Yes | Attribute value for memo-type fields |
| UserId | String | Yes¹ | User ID |
info
Yes¹ - It will be required for recording in the history.
{
"TaskId": "string",
"AttributeId": "string",
"AttributeValue": "string",
"AttribDescriptionValue": "text",
"UserId": "text"
}
Response example:
200 OK
{
"success": true,
"total": 1,
"results": [
{
"Result": true,
"Code": 1
}
]
}