agency-time

PATCH /v1/agency/time/projects/{projectId}

Rename, re-assign or archive a 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.

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

¿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

⛔ Archiving hides a project from the pickers; it never deletes it. Time already logged against it stays on the timesheet and on any invoice it reached, because a project is part of how that money was arrived at. Changing `client_id` re-points FUTURE work only — an entry denormalises its client at creation, so hours already logged stay attributed to the client they were done for.

Parámetros

NombreTipoObligatorio¿Qué es esto?
projectId (path)string

Cuerpo de la solicitud

NombreTipoObligatorio¿Qué es esto?
namestringNo
client_idstringNo
board_idstringNo
currencystringNo
archivedbooleanNo

Respuesta

NombreTipoObligatorio¿Qué es esto?
idstring
namestring
client_idstringThe agency's client this work is for, in the agency invoicing suite. `null` means **internal** work — reported on, never invoiced.
board_idstringThe agency project board this work is run on, when there is one.
currencystringISO 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.
archivedboolean
created_atstring

Errores que este endpoint puede devolver

401 · 403 · 404 · 422