Skip to main content
Version: 2.2.0

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 parametersTypeRequiredDescription
idInstanceStringYesInstance ID # (WFPROCESS.IDPROCESS)
cdUserNumericNoUser code (ADALLUSERS.CDUSER)
cdProductNumericYesProduct code
textStringYesComment
idActivityStringNoNot 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"
}
}