Get rewards total
Finance > Rewards
GET timesheets counters
Endpoint
GET /api/v1/finance/rewards/totals
Parameters
Name | Description | In |
---|---|---|
from_date | Filter by date | |
to_date | Filter by date | |
by_kind required | Filter by kind | ["hourly", "referral"] |
Request
Route
GET /api/v1/finance/rewards/totals
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI0NjYiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3Mzc1NTE1NjAsImV4cCI6MTc0MDE0MzU2MCwianRpIjoiMTUzYmJmM2YtZjJkMy00OGE1LWI1YTUtM2E3N2QzM2IwYzM3In0.h03TrG7NRaDU64FX9M2B6FQnoUJ2j0etaf76R4GQ89Y
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/"b63eeca4461f66fda57687771df83f53"
cache-control: max-age=0, private, must-revalidate
x-request-id: 378237e1-c123-4e38-8db4-83e62b2e09ce
x-runtime: 0.006266
content-length: 31
Body
{
"earned": "130.0",
"due": "80.0"
}