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.eyJzdWIiOiI0ODUiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NTMyNjYxODAsImV4cCI6MTc1NTg1ODE4MCwianRpIjoiMDQ2YzE2MDctNjE4ZC00ZDlhLTgyZGQtMjM4NzhmNWI2NzQ2In0.pOd4RFxuptjf-O_MxBT7zwJBPU7LqfIoAV6WQUoOvhw
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: 83111a61-51e0-4057-a784-6e9a58ae21f7
x-runtime: 0.006218
content-length: 31
Body
{
"earned": "130.0",
"due": "80.0"
}