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.eyJzdWIiOiI0ODUiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NjA5NTA0NDIsImV4cCI6MTc2MzU0MjQ0MiwianRpIjoiZDA0M2M1MGMtOTQzOS00YmY4LTk4YWItYjFjZjdjYzFhODg4In0.aiRi9xqWipsSyNBs6sfaECitiKgIObVozUSup-d9aAU
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: a174dab3-f944-498c-b6c5-3557087370c5
x-runtime: 0.005211
content-length: 31
Body
{
"earned": "130.0",
"due": "80.0"
}