TSKTASKADDTASKATTACH
This method allows adding attachments to an activity through 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 code Constant Value: 275 |
classname | String | Yes | Class name used in WADL Constant value: AddTaskAttach |
classpath | String | Yes | Path to the class used in WADL Constant value: tsk_import |
Example request:
Supported attributes:
Request body parameter | Type | Required | Description |
---|---|---|---|
identification | String | Yes | Activity ID # |
nmfile | String | Yes | Binary content of the file |
flcontent | text | Yes | Attribute value |
nmattachment | String | No | File name |
dssummary | text | No | Summary |
{
"identification": "string",
"nmfile": "string",
"flcontent": "text",
"nmattachment": "string",
"dssummary": "text"
}
Example response:
200 OK
{
"success": true,
"total": 1,
"results": [
{
"Result": true,
"Code": 1
}
]
}