agency-time

GET /v1/agency/time/entries

The timesheet.

Todos os endpoints de agency-time

Autenticação

Envie uma chave de API como um token bearer. Este endpoint não especifica uma permissão específica na documentação, portanto, conceda à sua chave o mínimo necessário e verifique a resposta em vez de assumir.

Este endpoint não requer um ID de organização. Sua chave já identifica a organização à qual pertence, e a resposta é delimitada a ela.

Experimente

Substitua qualquer item entre colchetes por seus próprios valores e o espaço reservado para a chave por uma chave do seu painel.

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

Conectado? O console da API no seu painel preenche o ID da sua organização real e a sua própria chave, e executa a requisição contra a API de produção para que você possa ver a resposta real. Abra este endpoint no console da API

Detalhes

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

NomeTipoObrigatórioO que é
client_id (query)stringNão
project_id (query)stringNão
user_id (query)stringNão
from (query)stringNão
to (query)stringNão
billed (query)booleanNãoOnly billed (`true`) or only outstanding (`false`) work.
limit (query)integerNãoMaximum items to return (page size).
cursor (query)stringNãoOpaque cursor from a previous page's `page.next_cursor`.

Resposta

NomeTipoObrigatórioO que é
dataTimeEntry[]Sim
pagePageMetaSim

Erros que este endpoint pode retornar

401 · 403