HISTORY-COMMENT
This method allows adding a comment to an activity in a workflow instance through a REST web service.
POST /apigateway/se/exp/chatbot/api/task/comment.php
Query parameters:
Query parameters | Type | Required | Description |
---|---|---|---|
idInstance | String | Yes | Instance ID # (WFPROCESS.IDPROCESS ) |
cdUser | Numeric | No | User code (ADALLUSERS.CDUSER ) |
cdProduct | Numeric | Yes | Product code |
text | String | Yes | Comment |
idActivity | String | No | Not displayed for requester (WFSTRUCT.IDSTRUCT ) |
Example request:
curl -X POST 'https://my-domain.softexpert.com.br/apigateway/se/exp/chatbot/api/task/comment.php?idInstance=000644&cdProduct=39&text=Your%20comment' \
-H 'Authorization: <your_api_token>'
Example response:
200 OK
{
"success": true,
"response": {
"message": "Comment was registered successfully"
}
}