TSKTASKUPDATEATTRIB
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 | Class name used in WADLConstant value: UpdateTaskAttrib |
classpath | String | Yes | Path to the class used in WADLConstant value: tsk_import |
Example request:
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"
}
Example response:
200 OK
{
"success": true,
"total": 1,
"results": [
{
"Result": true,
"Code": 1
}
]
}