agency-time

GET /v1/agency/time/entries

The timesheet.

Lahat ng agency-time endpoint

Pagpapatotoo

Magpadala ng API key bilang bearer token. Ang endpoint na ito ay hindi naglatag ng tiyak na pahintulot sa pagtutukoy, kaya ibigay sa iyong key ang pinakamababang kailangan nito at suriin ang tugon sa halip na umasa.

Ang endpoint na ito ay hindi nangangailangan ng id ng organisasyon. Natutukoy na ng iyong key ang organisasyong kinabibilangan nito, at nakatuon ang tugon dito.

Subukan ito

Palitan ang anuman sa loob ng mga panaklong na may anggulo ng iyong sariling mga halaga, at ang placeholder ng key na may key mula sa iyong dashboard.

curl -X GET https://api.zinndigital.com/v1/agency/time/entries \
  -H "Authorization: Bearer zdk_live_…"

Nakalagda? Ang API console sa iyong dashboard ay awtomatikong naglalagay ng iyong tunay na ID ng organisasyon at sariling susi, at pinapatakbo ang kahilingan laban sa live na API upang makita mo ang aktwal na tugon. Buksan ang endpoint na ito sa console ng API

Mga Detalye

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.

Mga Parameter

PangalanUriKailanganAno ito
client_id (query)stringHindi
project_id (query)stringHindi
user_id (query)stringHindi
from (query)stringHindi
to (query)stringHindi
billed (query)booleanHindiOnly billed (`true`) or only outstanding (`false`) work.
limit (query)integerHindiMaximum items to return (page size).
cursor (query)stringHindiOpaque cursor from a previous page's `page.next_cursor`.

Tugon

PangalanUriKailanganAno ito
dataTimeEntry[]Oo
pagePageMetaOo

Mga error na maibabalik ng endpoint na ito

401 · 403