agency-time

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

Rename, re-assign or archive a project.

Tous les points de terminaison agency-time

Authentification

Envoyez une clé d'API en tant que jeton du porteur (bearer token). Cet endpoint n'indique pas de permission spécifique dans la spécification, attribuez donc à votre clé le minimum requis et vérifiez la réponse plutôt que de faire des suppositions.

Cet endpoint ne prend aucun identifiant d'organisation. Votre clé identifie déjà l'organisation à laquelle elle appartient, et la réponse y est limitée.

Essayer

Remplacez tout ce qui se trouve entre crochets par vos propres valeurs, et le espace réservé à la clé par une clé de votre tableau de bord.

curl -X PATCH https://api.zinndigital.com/v1/agency/time/projects/{projectId} \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{  }'

Connecté ? La console d'API de votre tableau de bord saisit votre véritable ID d'organisation ainsi que votre propre clé, et exécute la requête sur l'API de production afin que vous puissiez voir la réponse réelle. Ouvrir ce point de terminaison dans la console API

Détails

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

Paramètres

NomTypeObligatoireQu'est-ce que c'est
projectId (path)stringOui

Corps de la requête

NomTypeObligatoireQu'est-ce que c'est
namestringNon
client_idstringNon
board_idstringNon
currencystringNon
archivedbooleanNon

Réponse

NomTypeObligatoireQu'est-ce que c'est
idstringOui
namestringOui
client_idstringOuiThe agency's client this work is for, in the agency invoicing suite. `null` means **internal** work — reported on, never invoiced.
board_idstringOuiThe agency project board this work is run on, when there is one.
currencystringOuiISO 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.
archivedbooleanOui
created_atstringOui

Erreurs que cet point de terminaison peut renvoyer

401 · 403 · 404 · 422