Get timesheets total
Finance > Timesheets
GET timesheets counters
Endpoint
GET /api/v1/finance/timesheets/totals
Parameters
Name | Description |
---|---|
from_date | Filter by date |
to_date | Filter by date |
by_job | Filter by job ID |
by_company | Filter by company ID |
Request
Route
GET /api/v1/finance/timesheets/totals
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI1NTIiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NDg1MTY1MDUsImV4cCI6MTc1MTEwODUwNSwianRpIjoiNzcyMTRkYTctZjc3NS00ZDc4LTkwNzgtMWNiNGRkMzA4OGM4In0.tloE856BY2zRZ0GWQN2Y6v2WHqikahva9gZ9R0ilPmk
Host: example.org
Cookie:
Query Parameters
{}=
Response
Simulated Response
Status
200
Headers
x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"b03b3eb8ebd1deb63bdd8ed2aa7709a1"
cache-control: max-age=0, private, must-revalidate
x-request-id: cecaa28e-8f72-46a7-b78b-03cdab745289
x-runtime: 0.007742
content-length: 86
Body
{
"earned": "500.0",
"vat": "100.0",
"earned_with_vat": "600.0",
"logged": 20.0,
"due": "300.0"
}