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.eyJzdWIiOiI1NTIiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NTMyNjYxODIsImV4cCI6MTc1NTg1ODE4MiwianRpIjoiNTM0NGZhY2MtOTk2Yy00ZDk1LWJmZWUtM2NkMTRkMTA2ODUzIn0.vbdCfbQ4OOW9LBGLxL5ObyDUUEOFLWXYtRyEnpfGb9M
Host: example.org
Cookie:
Query Parameters
{}=
Body
{
}
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: ac41237e-a93f-4486-a21c-186fb3f9c46a
x-runtime: 0.007864
content-length: 86
Body
{
"earned": "500.0",
"vat": "100.0",
"earned_with_vat": "600.0",
"logged": 20.0,
"due": "300.0"
}