אימות
שלח מפתח API כטוקן Bearer. נקודת קצה זו אינה מציינת הרשאת ספציפית במפרט, לכן הקצה למפתח שלך את המינימום הנדרש ובדוק את התגובה במקום להניח הנחות.
נקודת קצה זו אינה דורשת מזהה ארגון. המפתח שלך כבר מזהה את הארגון שאליו הוא שייך, והתגובה מוגבלת אליו בלבד.
נסה זאת
החלף כל דבר בסוגריים זוויתיים בערכים משלך, ואת מציין מיקום המפתח במפתח מלוח הבקרה שלך.
curl -X GET https://api.zinndigital.com/v1/agency/time/rates \
-H "Authorization: Bearer zdk_live_…"מחובר? קונסולת ה-API בלוח הבקרה שלך מזינה את מזהה הארגון האמיתי שלך ואת המפתח שלך, ומריצה את הבקשה מול ה-API הפיזי כך שתוכל לראות את התגובה בפועל. פתח נקודת קצה זו במסוף ה-API
פרטים
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.
פרמטרים
| שם | סוג | נדרש | מה זה |
|---|---|---|---|
include_archived (query) | boolean | לא | — |
limit (query) | integer | לא | Maximum items to return (page size). |
cursor (query) | string | לא | Opaque cursor from a previous page's `page.next_cursor`. |
תשובה
| שם | סוג | נדרש | מה זה |
|---|---|---|---|
data | TimeRate[] | כן | — |
page | PageMeta | כן | — |
שגיאות שנקודה קצה זו עשויה להחזיר
401 · 403