Tài liệu tham khảo API
agency-time
Có 24 điểm cuối trong khu vực này. Mỗi điểm cuối có một trang riêng với các tham số, phản hồi và yêu cầu mà quý vị có thể thực hiện.
| Phương thức | Đường dẫn | Chức năng | Quyền |
|---|---|---|---|
| GET | /v1/agency/time/billing-runs | Billing history — what has been billed, and what it consumed. | agency.time.view |
| POST | /v1/agency/time/billing-runs | Bill now — turn unbilled time into a draft invoice. | agency.time.manage, agency.time.view |
| POST | /v1/agency/time/checkout-bills/{billId}/send | E-mail a checkout bill raised from tracked time. | agency.time.manage |
| POST | /v1/agency/time/checkout-bills/{billId}/void | Withdraw an unpaid checkout bill; its hours return to the unbilled pool. | agency.time.manage |
| GET | /v1/agency/time/entries | The timesheet. | agency.time.view |
| POST | /v1/agency/time/entries | Log time. | agency.time.log |
| DELETE | /v1/agency/time/entries/{entryId} | Delete a time entry. | agency.time.log |
| PATCH | /v1/agency/time/entries/{entryId} | Correct a time entry. | agency.time.log |
| GET | /v1/agency/time/projects | The agency's time-tracking projects. | agency.time.view |
| POST | /v1/agency/time/projects | Create a time-tracking project. | agency.time.manage |
| POST | /v1/agency/time/projects/from-quote | Start a project from a free-quote request. | agency.time.manage |
| PATCH | /v1/agency/time/projects/{projectId} | Rename, re-assign or archive a project. | agency.time.manage |
| GET | /v1/agency/time/quote-requests | Free-quote requests that could still become a project. | agency.time.manage |
| GET | /v1/agency/time/rates | The agency's rate cards. | agency.time.view |
| POST | /v1/agency/time/rates | Set a rate. | agency.time.manage, agency.time.view |
| DELETE | /v1/agency/time/rates/{rateId} | Archive a rate card. | agency.time.manage |
| GET | /v1/agency/time/report | Time reporting for a period, by person, client and project. | agency.time.view |
| GET | /v1/agency/time/schedules | When each client is invoiced. | agency.time.view |
| POST | /v1/agency/time/schedules | Set a client's billing trigger. | agency.time.manage, agency.time.view |
| DELETE | /v1/agency/time/schedules/{scheduleId} | Remove a billing schedule. | agency.time.manage |
| GET | /v1/agency/time/tasks | The named pieces of work inside a project. | agency.time.view |
| POST | /v1/agency/time/tasks | Add a task to a project. | agency.time.manage |
| PATCH | /v1/agency/time/tasks/{taskId} | Rename or archive a task. | agency.time.manage |
| GET | /v1/agency/time/unbilled | What is outstanding, per client and currency. | agency.time.view, billing.entitlement.manage, quotes.manage |