Autentifikacija
Pošaljite API ključ kao bearer token. Ova krajnja tačka ne navodi specifičnu dozvolu u specifikaciji, zato dodelite svom ključu minimum potrebnih ovlašćenja i proverite odgovor umesto da pretpostavljate.
Ovaj krajnji tačka ne prihvata ID organizacije. Vaš ključ već identifikuje organizaciju kojoj pripada, a odgovor je ograničen na nju.
Isprobajte
Zamenite bilo šta u uglastim zagradama sopstvenim vrednostima, a ključni placeholder sa ključem sa vaše kontrolne table.
curl -X GET https://api.zinndigital.com/v1/agency/time/schedules \
-H "Authorization: Bearer zdk_live_…"Prijavljeni ste? API konzola na vašoj kontrolnoj tabli automatski popunjava ID vaše stvarne organizacije i vaš sopstveni ključ, i izvršava zahtev nad API-jem uživo tako da možete videti stvarni odgovor. Otvorite ovu krajnju tačku u API konzoli
Detalji
One row per client, plus one org-wide default (`client_id: null`) covering every client without a row of its own. A per-client row **replaces** the default rather than layering on it — merging two partial schedules would let one client be billed twice. Both cursor columns are on the wire. `last_attempted_at` is advanced for every schedule the sweep reaches, before its result is read; `last_succeeded_at` is what a staleness alarm reads. A screen showing only the first cannot tell a healthy client from one that has been failing for a month.
Parametri
| Naziv | Vrsta | Obavezno | Šta je ovo |
|---|---|---|---|
limit (query) | integer | Ne | Maximum items to return (page size). |
cursor (query) | string | Ne | Opaque cursor from a previous page's `page.next_cursor`. |
Odgovor
| Naziv | Vrsta | Obavezno | Šta je ovo |
|---|---|---|---|
data | TimeBillingSchedule[] | Da | — |
page | PageMeta | Da | — |
Greške koje ovaj krajnji tačka može da vrati
401 · 403