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.eyJzdWIiOiI1NTMiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NDI0NjQ5MTcsImV4cCI6MTc0NTA1NjkxNywianRpIjoiZTZmMGZiYTEtYzYwOS00ODg2LWI5ZTMtODJjYTllMzRlZGRlIn0.ICvbC7WxRrI9hojROySb1tsKSVfjgVafYSiR65tXlsk
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: 02908e2a-e79a-4ab4-90a8-29c2e8e21d20
x-runtime: 0.008830
content-length: 86
Body
{
"earned": "500.0",
"vat": "100.0",
"earned_with_vat": "600.0",
"logged": 20.0,
"due": "300.0"
}