Kimlik Doğrulama
Bir API anahtarını bearer token olarak gönderin. Bu uç nokta, teknik özelliklerde belirli bir yetki belirtmemektedir; bu nedenle, varsaymak yerine anahtarınıza ihtiyaç duyduğu en az yetkiyi verin ve yanıtı kontrol edin.
Bu uç nokta hiçbir organizasyon kimliği almaz. Anahtarınız zaten ait olduğu organizasyonu tanımlar ve yanıt bu organizasyonla sınırlandırılır.
Dene
Köşeli parantez içindeki her şeyi kendi değerlerinizle ve anahtar yer tutucusunu panonuzdan bir anahtarla değiştirin.
curl -X GET https://api.zinndigital.com/v1/agency/time/schedules \
-H "Authorization: Bearer zdk_live_…"Oturum açtınız mı? Panonuzdaki API konsolu, gerçek organizasyon kimliğinizi ve kendi anahtarınızı otomatik olarak doldurur ve isteği canlı API üzerinde çalıştırarak gerçek yanıtı görmenizi sağlar. Bu uç noktayı API konsolunda açın
Ayrıntılar
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.
Parametreler
| Ad | Tür | Zorunlu | Ne olduğu |
|---|---|---|---|
limit (query) | integer | Hayır | Maximum items to return (page size). |
cursor (query) | string | Hayır | Opaque cursor from a previous page's `page.next_cursor`. |
Yanıt
| Ad | Tür | Zorunlu | Ne olduğu |
|---|---|---|---|
data | TimeBillingSchedule[] | Evet | — |
page | PageMeta | Evet | — |
Bu uç noktanın dönderebileceği hatalar
401 · 403