agency-time
GET /v1/agency/time/billing-runs
Billing history — what has been billed, and what it consumed.
אימות
שלח מפתח API כטוקן Bearer. נקודת קצה זו אינה מציינת הרשאת ספציפית במפרט, לכן הקצה למפתח שלך את המינימום הנדרש ובדוק את התגובה במקום להניח הנחות.
נקודת קצה זו אינה דורשת מזהה ארגון. המפתח שלך כבר מזהה את הארגון שאליו הוא שייך, והתגובה מוגבלת אליו בלבד.
נסה זאת
החלף כל דבר בסוגריים זוויתיים בערכים משלך, ואת מציין מיקום המפתח במפתח מלוח הבקרה שלך.
curl -X GET https://api.zinndigital.com/v1/agency/time/billing-runs \
-H "Authorization: Bearer zdk_live_…"מחובר? קונסולת ה-API בלוח הבקרה שלך מזינה את מזהה הארגון האמיתי שלך ואת המפתח שלך, ומריצה את הבקשה מול ה-API הפיזי כך שתוכל לראות את התגובה בפועל. פתח נקודת קצה זו במסוף ה-API
פרטים
`actual` is derived from the time entries themselves rather than read off the run's stored columns, so a divergence between what was sent to the invoicing suite and what the rows now say is visible on the screen instead of theoretical.
פרמטרים
| שם | סוג | נדרש | מה זה |
|---|---|---|---|
client_id (query) | string | לא | — |
status (query) | string<claimed, invoiced, failed, released> | לא | — |
limit (query) | integer | לא | Maximum items to return (page size). |
cursor (query) | string | לא | Opaque cursor from a previous page's `page.next_cursor`. |
תשובה
| שם | סוג | נדרש | מה זה |
|---|---|---|---|
data | TimeBillingRun[] | כן | — |
page | PageMeta | כן | — |
שגיאות שנקודה קצה זו עשויה להחזיר
401 · 403