agency-time

GET /v1/agency/time/entries

The timesheet.

Sve agency-time krajnje tačke

Autentifikacija

Pošaljite API ključ kao bearer token. Ova krajnja tačka ne navodi specifičnu dozvolu u specifikaciji, zato dodelite svom ključu minimum potrebnih ovlašćenja i proverite odgovor umesto da pretpostavljate.

Ovaj krajnji tačka ne prihvata ID organizacije. Vaš ključ već identifikuje organizaciju kojoj pripada, a odgovor je ograničen na nju.

Isprobajte

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

curl -X GET https://api.zinndigital.com/v1/agency/time/entries \
  -H "Authorization: Bearer zdk_live_…"

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

Logged minutes, newest first. An entry that has not been billed carries `rate_minor_per_hour` — the rate that WOULD apply, resolved against its own `work_date` — so the timesheet shows what an hour is worth before it is invoiced. ⛔ `null` there means **unpriced**, not free. Work with no rate card is shown as unpriced with the remedy on the screen; it is never invoiced at zero, because billing it at zero would take it out of the unbilled pool for ever and the agency could never charge for it once the rate was set.

Parametri

NazivVrstaObaveznoŠta je ovo
client_id (query)stringNe
project_id (query)stringNe
user_id (query)stringNe
from (query)stringNe
to (query)stringNe
billed (query)booleanNeOnly billed (`true`) or only outstanding (`false`) work.
limit (query)integerNeMaximum items to return (page size).
cursor (query)stringNeOpaque cursor from a previous page's `page.next_cursor`.

Odgovor

NazivVrstaObaveznoŠta je ovo
dataTimeEntry[]Da
pagePageMetaDa

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

401 · 403