【问题标题】:ActiveCollab API - No Description on API time-records commandsActiveCollab API - API 时间记录命令没有说明
【发布时间】:2017-06-20 21:16:20
【问题描述】:

ActiveCollab v5.13 - 网站上的时间记录输入表单有6个字段包括“描述”。 API 文档有其他 5 个,但在文档中找不到“描述”。

我想自动输入时间记录数据,但...没有描述。

API中时间记录描述的参数名称是什么?

输入屏幕上的字段:

  • 时间
  • 说明
  • 工作类型
  • 日期
  • 任务
  • 计费

/projects/(number)/time-records 命令上的字段(复制自 API 文档:

{  
  "value": 1.5,  
  "user_id": 1,  
  "job_type_id": 1,  
  "record_date": "2014-05-14",  
  "billable_status": 0  
}

API Documentation

【问题讨论】:

    标签: activecollab


    【解决方案1】:

    描述在 API 中返回(文档不是最新的)。以下是系统调用的示例:

    billable_status: 1
    class: "TimeRecord"
    created_by_id: 44
    created_on: 1496929240
    id: 5275
    is_trashed: false
    job_type_id: 1
    parent_id: 52314
    parent_type: "Task"
    record_date: 1496880000
    summary: ""
    trashed_by_id: 0
    trashed_on: null
    updated_by_id: 44
    updated_on: 1496929240
    url_path: "/projects/204/time-records/5275"
    user_id: 44
    value: 1
    

    你要找的是summary

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2016-12-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-11-09
      • 2013-10-30
      • 2014-08-01
      相关资源
      最近更新 更多