Skip to main content
Version: 2.2.1

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 parametersTypeRequiredDescription
cdprodNumericYesProduct code Constant Value: 275
classnameStringYesClass name used in WADL Constant value: AddTaskAttach
classpathStringYesPath to the class used in WADL Constant value: tsk_import

Example request:

Supported attributes:

Request body parameterTypeRequiredDescription
identificationStringYesActivity ID #
nmfileStringYesBinary content of the file
flcontenttextYesAttribute value
nmattachmentStringNoFile name
dssummarytextNoSummary
{
"identification": "string",
"nmfile": "string",
"flcontent": "text",
"nmattachment": "string",
"dssummary": "text"
}

Example response:

200 OK

{
"success": true,
"total": 1,
"results": [
{
"Result": true,
"Code": 1
}
]
}