agency-time

POST /v1/agency/time/projects

Create a time-tracking project.

Todos os endpoints de agency-time

Autenticação

Envie uma chave de API como um token de portador. A chave deve ter a permissão agency.time.manage; uma chave sem ela é recusada com 403, e não 404.

Onde vai o ID da sua organização

Este endpoint aceita org_id como um campo no corpo JSON.

O ID da sua organização está na tela de chaves de API no seu painel, ao lado da própria chave. É o mesmo ID em todas as chamadas que você fizer.

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 POST https://api.zinndigital.com/v1/agency/time/projects \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "name": <string> }'

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

Requires `agency.time.manage` and the `agency_project_board` entitlement. `currency` is set on the PROJECT rather than derived from whichever rate card wins, because an invoice has exactly one currency: a project whose rates disagreed would produce a document that cannot be issued. A rate card in another currency is refused rather than converted — FX is a driver decision, not a timesheet's.

Corpo da requisição

NomeTipoObrigatórioO que é
namestringSim
client_idstringNão
board_idstringNão
currencystringNão
org_idstringNão

Resposta

NomeTipoObrigatórioO que é
idstringSim
namestringSim
client_idstringSimThe agency's client this work is for, in the agency invoicing suite. `null` means **internal** work — reported on, never invoiced.
board_idstringSimThe agency project board this work is run on, when there is one.
currencystringSimISO currency this project's work is billed in. On the project because an invoice has exactly one currency; a rate card in another currency is refused rather than converted.
archivedbooleanSim
created_atstringSim

Erros que este endpoint pode retornar

401 · 403 · 422