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.eyJzdWIiOiI1NTIiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NjA5NTA0NDMsImV4cCI6MTc2MzU0MjQ0MywianRpIjoiNWNhOTVjZTUtMDViYS00N2M5LTk4OGYtN2U3NzY2OGEzMmE2In0.OuqQ4PccHMuBTiQX7KE5MpGng5JnwF_l6yspwXanUkM
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: d0d2842f-b06c-4825-904b-9d4669b0bc67
x-runtime: 0.008386
content-length: 86
Body
{
"earned": "500.0",
"vat": "100.0",
"earned_with_vat": "600.0",
"logged": 20.0,
"due": "300.0"
}