【问题标题】:Basecamp API time entries of single user单用户Basecamp API时间条目
【发布时间】:2012-09-12 20:17:04
【问题描述】:

要访问单个项目的时间条目,我只需使用 https://{*}.basecamphq.com/projects/{project_id}/time_entries.xml ,但我想为单个用户输入时间。官方文档说

获取报告

  • GET /time_entries/report.xml 返回符合给定条件的时间条目集。

此操作接受以下查询参数:fromtosubject_idtodo_item_idfilter_project_idfilter_company_idsubject_id 参数允许您将结果限制为单个人的时间条目。

但是我应该把这个标准放在哪里?

https://{*}.basecamphq.com/time_entries/report.xml?subject_id={person_id} 

什么也没给我。 谢谢

【问题讨论】:

    标签: php xml curl basecamp


    【解决方案1】:

    找到答案了!

    https://{*}.basecamphq.com/time_entries/report.xml?from=20120707&to=20120920&subject_id=9652173
    

    有效!因此,据我了解,如果您想使用其中一个标准,您还必须声明“从”和“到”标准。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-04-10
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多