Bitrix24 REST API

task.elapseditem.add

task.elapseditem.add(taskId, arFields)
Add time spent to the task. Return added record ID.

Parameters

ParameterDescription
taskIdTask ID.
arFieldsArray of time records and comments (SECONDS and COMMENT_TEXT). MINUTES may be used instead of SECONDS, but they may not be used at the same time.

Example

BX24.callMethod(
   'task.elapseditem.add',
   [1, {SECONDS: 113, COMMENT_TEXT: 'comment text'}],
   function(result){
      console.info(result.data());
      console.log(result);
   }
);


User comments

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.
© 2001-2017 Bitrix, Inc. Bitrix® is a registered trademark of Bitrix, Inc. Powered by Bitrix Site Manager