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.eyJzdWIiOiI1NDkiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3Mzc1NTE1NjIsImV4cCI6MTc0MDE0MzU2MiwianRpIjoiZTIxNGNmMGEtYWEyMi00NzVlLWJiOWUtYzMyNTQyNTFkY2Q2In0.tVCSs6VwFTje-BmmHmjy0hxEfAYbbZR5scibJzgNY7s
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/"f9d442eb317fec2ae16412b2aa020bc1"
cache-control: max-age=0, private, must-revalidate
x-request-id: ccc46a7b-1db3-43ab-b0f0-7172c1929850
x-runtime: 0.007992
content-length: 50
Body
{
"earned": "3047.54",
"logged": 52.0,
"due": "1023.45"
}