agency-time

DELETE /v1/agency/time/rates/{rateId}

Archive a rate card.

כל נקודות הקצה מסוג agency-time

אימות

שלח מפתח API כטוקן Bearer. נקודת קצה זו אינה מציינת הרשאת ספציפית במפרט, לכן הקצה למפתח שלך את המינימום הנדרש ובדוק את התגובה במקום להניח הנחות.

נקודת קצה זו אינה דורשת מזהה ארגון. המפתח שלך כבר מזהה את הארגון שאליו הוא שייך, והתגובה מוגבלת אליו בלבד.

נסה זאת

החלף כל דבר בסוגריים זוויתיים בערכים משלך, ואת מציין מיקום המפתח במפתח מלוח הבקרה שלך.

curl -X DELETE https://api.zinndigital.com/v1/agency/time/rates/{rateId} \
  -H "Authorization: Bearer zdk_live_…"

מחובר? קונסולת ה-API בלוח הבקרה שלך מזינה את מזהה הארגון האמיתי שלך ואת המפתח שלך, ומריצה את הבקשה מול ה-API הפיזי כך שתוכל לראות את התגובה בפועל. פתח נקודת קצה זו במסוף ה-API

פרטים

⛔ Archives; never deletes. A rate card that priced an invoice is part of how that money was arrived at, and a deleted row makes an issued document unexplainable.

פרמטרים

שםסוגנדרשמה זה
rateId (path)stringכן

תשובה

שםסוגנדרשמה זה
idstringכן
scopestring<task, project, client, org>כן
scope_idstringלאThe task/project/client this applies to. `null` exactly when scope is `org`.
kindstring<hourly, fixed>כן
amount_minorintegerכןMinor units. For `hourly`, the price of ONE HOUR — ⛔ never a price per minute, and never divided by 60 anywhere on this API.
currencystringכן
effective_fromstringכןApplies to work done on or after this date. Resolution is against the **work's** date, never today, so a rate rise does not re-price last month.
archivedbooleanכן

שגיאות שנקודה קצה זו עשויה להחזיר

401 · 403 · 404