我想在时间跟踪中请求一些附加功能。我们在Jira中使用了一个插件,其中有一个非常不错的拖放系统,可以直观地跟踪整个星期的时间(请参阅附件)。
由于我们是开发人员,所以我们不介意使用您的API创建这样的系统。但是,对于编写小时数,我们也许可以做到这一点,但是由于ActiveCollab仅保存给定日期的小时数,因此我们不能使用它来回顾当天的时分。
为此,我们需要能够在给定的日期和时间戳上保存时间块。例如:
"time_records": [
{
"id": 1,
"class": "TimeRecord",
"url_path": "\/projects\/1\/time-records\/1",
"is_trashed": false,
"trashed_on": null,
"trashed_by_id": 0,
"billable_status": 0,
"value": 1.5,
********NEW********
"record_start_time": timestamp,
**********************
"record_date": 1400025600,
"summary": null,
"user_id": 1,
"parent_type": "Project",
"parent_id": 1,
"created_on": 1430164445,
"created_by_id": 1,
"updated_on": 1430164445,
"updated_by_id": 1,
"job_type_id": 1
}
]
是否可以扩展API和后端以支持此行为?