Request URL
GET https://app.sms.by/api/v1/financialStatistics
Parameters
| Parameter |
Location |
Type |
Required |
Description |
| token |
query |
string |
Yes |
Your API key |
Responses
200 — Completed successfully
{
"status": "success",
"data": {
"total": 367,
"per_page": 15,
"current_page": 1,
"last_page": 25,
"next_page_url": "https:\/\/localhost\/api\/v1\/financialStatistics?page=2",
"prev_page_url": null,
"from": 1,
"to": 15,
"data": [
{
"id": 393365,
"user_id": 2,
"balance": "-14.75838",
"d_create": 1616407657,
"d_update": 0,
"comment": "[Write-off] - [Belarus, Life, 375257077727] number of parts: 1, cost per 1 part: 14.75838",
"manager_id": 2
}
]
}
}
400 — Incorrect request
404 — Page not found
429 — Request limit exceeded
500 — Server is not available