agency-time

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

Rename, re-assign or archive a project.

Усі кінцеві точки agency-time

Автентифікація

Надішліть ключ API як маркер носія (bearer token). Ця кінцева точка не вказує конкретного дозволу в специфікації, тому надайте своєму ключу мінімально необхідні права та перевірте відповідь, замість того щоб припускати.

Цей кінцевий пункт не потребує ідентифікатора організації. Ваш ключ уже ідентифікує організацію, якій він належить, і відповідь обмежується її межами.

Спробувати

Замініть усе в кутових дужках власними значеннями, а заповнювач ключа — ключем із вашої панелі керування.

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

Увійшли в систему? Консоль API у вашій панелі керування автоматично підставляє ваш реальний ідентифікатор організації та ваш власний ключ, а також виконує запит до робочого API, щоб ви могли побачити справжню відповідь. Відкрийте цю кінцеву точку в консолі API

Деталі

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

Параметри

НазваТипОбов'язковеЩо це таке
projectId (path)stringТак

Тіло запиту

НазваТипОбов'язковеЩо це таке
namestringНі
client_idstringНі
board_idstringНі
currencystringНі
archivedbooleanНі

Відповідь

НазваТипОбов'язковеЩо це таке
idstringТак
namestringТак
client_idstringТакThe agency's client this work is for, in the agency invoicing suite. `null` means **internal** work — reported on, never invoiced.
board_idstringТакThe agency project board this work is run on, when there is one.
currencystringТакISO 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Так

Помилки, які може повертати ця кінцева точка

401 · 403 · 404 · 422