Authenticatie
Stuur een API-sleutel mee als bearer token. Dit eindpunt vermeldt geen specifieke toestemming in de specificatie, dus geef uw sleutel de minimale rechten die nodig zijn en controleer het antwoord in plaats van zomaar wat aan te nemen.
Dit eindpunt vereist geen organisatie-id. Uw sleutel identificeert al de organisatie waartoe deze behoort, en het antwoord is hierop afgestemd.
Probeer het
Vervang alles tussen punthaakjes door uw eigen waarden en de sleutelplaatsvervanger door een sleutel uit uw dashboard.
curl -X GET https://api.zinndigital.com/v1/agency/time/rates \
-H "Authorization: Bearer zdk_live_…"Ingelogd? De API-console in je dashboard vult je echte organisatie-id en je eigen sleutel in, en voert het verzoek uit tegen de live API zodat je de daadwerkelijke respons kunt zien. Open dit eindpunt in de API-console
Details
Resolution is most-specific-first — **task → project → client → organisation default** — taking the newest card whose `effective_from` is on or before the **work's** date. ⛔⛔ Against the work's date, never against today. An agency that raises its rate on the 1st must still bill last month at last month's rate; resolving on `now()` silently re-prices every unbilled hour behind it, upward, which is the direction nobody checks.
Parameters
| Naam | Type | Verplicht | Wat dit is |
|---|---|---|---|
include_archived (query) | boolean | Nee | — |
limit (query) | integer | Nee | Maximum items to return (page size). |
cursor (query) | string | Nee | Opaque cursor from a previous page's `page.next_cursor`. |
Reactie
| Naam | Type | Verplicht | Wat dit is |
|---|---|---|---|
data | TimeRate[] | Ja | — |
page | PageMeta | Ja | — |
Fouten die dit eindpunt kan retourneren
401 · 403