agency-time

GET /v1/agency/time/report

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

Todos los endpoints de agency-time

Autenticación

Envía una clave de API como token de portador. Este endpoint no especifica un permiso concreto en la especificación, así que otorga a tu clave los mínimos privilegios necesarios y comprueba la respuesta en lugar de dar por sentado.

Donde va el ID de tu organización

Este endpoint acepta org_id como parámetro de consulta. Omítelo y la llamada abarcará todo tu subárbol de inquilinos; envíalo para acotar la llamada a una sola organización.

El id de tu organización se encuentra en la pantalla de claves de API en tu panel de control, junto a la propia clave. Es el mismo id en cada llamada que realices.

Pruébalo

Reemplaza cualquier elemento entre corchetes angulares por tus propios valores, y el marcador de posición key con una clave de tu panel de control.

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

¿Has iniciado sesión? La consola de la API en tu panel de control rellena el ID de tu organización real y tu propia clave, y ejecuta la solicitud contra la API en vivo para que puedas ver la respuesta real. Abre este endpoint en la consola de la API

Detalles

⛔ **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.

Parámetros

NombreTipoObligatorio¿Qué es esto?
org_id (query)stringNo
from (query)stringNoDefaults to the first of the current month.
to (query)stringNoDefaults to today.
client_id (query)stringNo
user_id (query)stringNo

Respuesta

NombreTipoObligatorio¿Qué es esto?
period_startstring
period_endstring
total_minutesinteger
billable_minutesintegerNoTotal 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_minutesinteger
unbilled_minutesinteger
non_billable_minutesinteger
billed_minor_by_currencyobjectNo
by_userTimeReportBucket[]No
by_clientTimeReportBucket[]No
by_projectTimeReportBucket[]No

Errores que este endpoint puede devolver

401 · 403 · 422