task.elapseditem.isactionallowed(taskId, itemId, actionId)
Verify whether the action is allowed.
|itemId||Time spent record ID.|
- 1 - ACTION_ELAPSED_TIME_ADD;
- 2 - ACTION_ELAPSED_TIME_MODIFY;
- 3 - ACTION_ELAPSED_TIME_REMOVE.
[1, 204, 2],
var isAllowed = reply.data(); // or this way (similarly): var isAllowed = reply.answer.result;
Comments by users are not official documentation. Responsibility for use of the comments are born by users themselves.
The user comments section is not intended as a request box or training area, but rather for specific usage examples. For more general inquiries, please refer to link
Comments may be added only by registered users and appear after moderation.