agency-time

GET /v1/agency/time/entries

The timesheet.

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.

Este endpoint no requiere ningún id de organización. Su clave ya identifica la organización a la que pertenece, y la respuesta está delimitada a ella.

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/entries \
  -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

Logged minutes, newest first. An entry that has not been billed carries `rate_minor_per_hour` — the rate that WOULD apply, resolved against its own `work_date` — so the timesheet shows what an hour is worth before it is invoiced. ⛔ `null` there means **unpriced**, not free. Work with no rate card is shown as unpriced with the remedy on the screen; it is never invoiced at zero, because billing it at zero would take it out of the unbilled pool for ever and the agency could never charge for it once the rate was set.

Parámetros

NombreTipoObligatorio¿Qué es esto?
client_id (query)stringNo
project_id (query)stringNo
user_id (query)stringNo
from (query)stringNo
to (query)stringNo
billed (query)booleanNoOnly billed (`true`) or only outstanding (`false`) work.
limit (query)integerNoMaximum items to return (page size).
cursor (query)stringNoOpaque cursor from a previous page's `page.next_cursor`.

Respuesta

NombreTipoObligatorio¿Qué es esto?
dataTimeEntry[]
pagePageMeta

Errores que este endpoint puede devolver

401 · 403