agency-time

GET /v1/agency/time/report

Time reporting for a period, by person, client and project.

Të gjitha pikat e skajshme agency-time

Autentifikimi

Drgoni një çelës API si një token mbajtës. Ky pikëndalim nuk specifikon një leje specifike në specifikim, prandaj jepini çelësit tuaj minimumin e nevojshëm dhe kontrolloni përgjigjen në vend që të supozoni.

Ku shkon id i organizatës suaj

Ky endpoint pranon org_id si parametër kërkimi. Lëreni bosh dhe thirrja do të mbulojë të gjithë nëndrurin tuaj të qiramarrjes; dërgojeni atë për ta ngushtuar thirrjen në një organizatë të vetme.

ID-ja e organizatës suaj ndodhet në ekranin e çelësave API në panelin tuaj të kontrollit, pranë vetë çelësit. Është i njëjti ID në çdo thirrje që bëni.

Provoje

Zëvendësoni çdo gjë brenda kllapave këndore me vlerat tuaja dhe vendbanuesin e çelësit me një çelës nga paneli juaj.

curl -X GET https://api.zinndigital.com/v1/agency/time/report \
  -H "Authorization: Bearer zdk_live_…"

Jeni kyçur? Konsola e API-së në panelin tuaj plotëson ID-në tuaj reale të organizatës dhe çelësin tuaj, dhe ekzekuton kërkesën kundrejt API-së live, kështu që ju mund të shihni përgjigjen aktuale. Hapni këtë pikë fundore në konsolën e API-së

Detajet

⛔ **Unbilled, unpriced and non-billable are three different things and this says which.** Collapsing them is how an agency loses money quietly: hours with no rate card and hours marked internal both contribute nothing to revenue, but one is money about to be lost and the other is a decision they made. `billable_minutes` is the total minus non-billable — *not* "billed". An hour logged as billable and not yet invoiced is billable work, and calling it anything else is how an agency talks itself out of chasing it.

Parametrat

EmriLlojiKërkohetÇfarë është kjo
org_id (query)stringJo
from (query)stringJoDefaults to the first of the current month.
to (query)stringJoDefaults to today.
client_id (query)stringJo
user_id (query)stringJo

Përgjigja

EmriLlojiKërkohetÇfarë është kjo
period_startstringPo
period_endstringPo
total_minutesintegerPo
billable_minutesintegerJoTotal minus NON-BILLABLE — ⛔ not "billed". An hour logged as billable and not yet invoiced is billable work, and calling it anything else is how an agency talks itself out of ch…
billed_minutesintegerPo
unbilled_minutesintegerPo
non_billable_minutesintegerPo
billed_minor_by_currencyobjectJo
by_userTimeReportBucket[]Jo
by_clientTimeReportBucket[]Jo
by_projectTimeReportBucket[]Jo

Gabimet që ky pikëndalim mund të kthejë

401 · 403 · 422