Uthibitishaji
Tuma ufunguo wa API kama tokeni ya kubeba. Sehemu hii ya mwisho haitaji ruhusa maalum katika maelezo, kwa hivyo ipe ufunguo wako kiwango cha chini kabisa kinachohitajika na uangalie jibu badala ya kukisia.
Endpoint hii haichukui kitambulisho cha shirika. Ufunguo wako tayari unalitambua shirika linalohusika, na jibu limewekewa kikomo kwa shirika hilo pekee.
Jaribu
Badilisha chochote kilicho ndani ya mabano ya pembe na maadili yako mwenyewe, na kishikiliaji cha ufunguo na ufunguo kutoka kwa dashibodi yako.
curl -X GET https://api.zinndigital.com/v1/agency/time/entries \
-H "Authorization: Bearer zdk_live_…"Umeingia kwenye akaunti? Dashibodi yako ya kiweko cha API inajaza kitambulisho chako halisi cha shirika na ufunguo wako mwenyewe, na kuendesha ombi dhidi ya API ya moja kwa moja ili uweze kuona jibu halisi. Fungua sehemu hii ya mwisho (endpoint) kwenye konsole ya API
Maelezo
Logged minutes, newest first. An entry that has not been billed carries `rate_minor_per_hour` — the rate that WOULD apply, resolved against its own `work_date` — so the timesheet shows what an hour is worth before it is invoiced. ⛔ `null` there means **unpriced**, not free. Work with no rate card is shown as unpriced with the remedy on the screen; it is never invoiced at zero, because billing it at zero would take it out of the unbilled pool for ever and the agency could never charge for it once the rate was set.
Vigezo
| Jina | Aina | Inayohitajika | Kilicho hiki |
|---|---|---|---|
client_id (query) | string | Hapana | — |
project_id (query) | string | Hapana | — |
user_id (query) | string | Hapana | — |
from (query) | string | Hapana | — |
to (query) | string | Hapana | — |
billed (query) | boolean | Hapana | Only billed (`true`) or only outstanding (`false`) work. |
limit (query) | integer | Hapana | Maximum items to return (page size). |
cursor (query) | string | Hapana | Opaque cursor from a previous page's `page.next_cursor`. |
Majibu
| Jina | Aina | Inayohitajika | Kilicho hiki |
|---|---|---|---|
data | TimeEntry[] | Ndiyo | — |
page | PageMeta | Ndiyo | — |
Hitilafu ambazo mwisho huu unaweza kurudisha
401 · 403