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.eyJzdWIiOiI0OTUiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NjM2MjYzNzEsImV4cCI6MTc2NjIxODM3MSwianRpIjoiMjIxYWJkZTktNjA2Mi00Yzg1LWIyY2QtNjkyMmY1MmU2OTZmIn0.36aVyfXSnt6k6zRnJR0whblta0xpwQBnEz6zRIn4tW4
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/"b63eeca4461f66fda57687771df83f53"
cache-control: max-age=0, private, must-revalidate
x-request-id: a321cc76-6d85-4ef7-b42b-d95881631676
x-runtime: 0.005475
content-length: 31
Body
{
"earned": "130.0",
"due": "80.0"
}