agency-time

POST /v1/agency/time/projects

Create a time-tracking project.

Sve agency-time krajnje tačke

Autentifikacija

Pošaljite API ključ kao bearer token. Ključ mora imati dozvolu agency.time.manage; ključ bez nje se odbija sa 403, a ne sa 404.

Gde ide ID vaše organizacije

Ova krajnja tačka prihvata org_id kao polje u JSON telu.

ID vaše organizacije nalazi se na ekranu sa API ključevima u vašoj kontrolnoj tabli, pored samog ključa. To je isti ID u svakom pozivu koji uputite.

Isprobajte

Zamenite bilo šta u uglastim zagradama sopstvenim vrednostima, a ključni placeholder sa ključem sa vaše kontrolne table.

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

Prijavljeni ste? API konzola na vašoj kontrolnoj tabli automatski popunjava ID vaše stvarne organizacije i vaš sopstveni ključ, i izvršava zahtev nad API-jem uživo tako da možete videti stvarni odgovor. Otvorite ovu krajnju tačku u API konzoli

Detalji

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.

Telo zahteva

NazivVrstaObaveznoŠta je ovo
namestringDa
client_idstringNe
board_idstringNe
currencystringNe
org_idstringNe

Odgovor

NazivVrstaObaveznoŠta je ovo
idstringDa
namestringDa
client_idstringDaThe agency's client this work is for, in the agency invoicing suite. `null` means **internal** work — reported on, never invoiced.
board_idstringDaThe agency project board this work is run on, when there is one.
currencystringDaISO 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.
archivedbooleanDa
created_atstringDa

Greške koje ovaj krajnji tačka može da vrati

401 · 403 · 422