પ્રમાણીકરણ
બિયરર ટૉકન તરીકે API કી મોકલો. આ એન્ડપૉઇન્ટ સ્પેશિફિકેશનમાં કોઈ ચોક્કસ પરવાનગી જણાવતું નથી, તેથી ધારણા બાંધવાને બદલે તમારી કીને તેની જરૂરિયાત મુજબ ન્યૂનતમ પરવાનગી આપો અને રિસ્પોન્સ તપાસો.
આ એન્ડપૉઇન્ટ કોઈ સંસ્થા આઈડી (organisation id) લેતું નથી. તમારી કી (key) પહેલેથી જ તે જે સંસ્થા સાથે સંબંધિત છે તેની ઓળખ કરે છે, અને પ્રતિસાદ (response) તે જ પૂરતો મર્યાદિત છે.
આયમાવો
કોઈપણ કૌંસમાં રહેલી બાબતને તમારા પોતાના મૂલ્યોથી બદલો અને કી પ્લેસહોલ્ડરને તમારા ડેશબોર્ડની કીથી બદલો.
curl -X GET https://api.zinndigital.com/v1/agency/time/entries \
-H "Authorization: Bearer zdk_live_…"साइन ઇન કરેલ છે? તમારા ડેશબોર્ડમાં આવેલું API કન્સોલ તમારી વાસ્તવિક સંસ્થાની આઈડી અને તમારી પોતાની કી ભરે છે, અને લાઇવ API સામે વિનંતી ચલાવે છે જેથી તમે વાસ્તવિક પ્રતિસાદ જોઈ શકો. આ અંતિમબિંદુને API કન્સોલમાં ખોલો
વિગતો
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.
પેરામીટર્સ
| નામ | પ્રકાર | જરૂરી | તે શું છે |
|---|---|---|---|
client_id (query) | string | ના | — |
project_id (query) | string | ના | — |
user_id (query) | string | ના | — |
from (query) | string | ના | — |
to (query) | string | ના | — |
billed (query) | boolean | ના | Only billed (`true`) or only outstanding (`false`) work. |
limit (query) | integer | ના | Maximum items to return (page size). |
cursor (query) | string | ના | Opaque cursor from a previous page's `page.next_cursor`. |
જવાબ
| નામ | પ્રકાર | જરૂરી | તે શું છે |
|---|---|---|---|
data | TimeEntry[] | હા | — |
page | PageMeta | હા | — |
આ એન્ડપોઇન્ટ જે ભૂલો પરત કરી શકે છે
401 · 403