API. Получение лога бонусов пациента
Request parameters
Responses
{
"status": "success",
"current_page": 2,
"data": [
{
"id": 1,
"type": "За прием",
"operation_date": "2024-05-17T11:36:53.000000Z",
"activated_at": "2024-05-18T11:36:53.000000Z",
"deactivated_at": "2025-05-18T11:36:53.000000Z",
"amount": 200,
"balance": 60,
"status": "Активны",
"note": "За услугу",
"receipt_id": 64
}
],
"first_page_url": "https://{domain}/api/v1/{action}?page=1",
"from": 16,
"last_page": 2,
"last_page_url": "https://{domain}/api/v1/{action}?page=2",
"links": [
{
"url": "https://{domain}/api/v1/{action}?page=2",
"label": "2",
"active": "true"
}
],
"next_page_url": "example",
"path": "https://{domain}/api/v1/{action}",
"per_page": 15,
"prev_page_url": "https://{domain}/api/v1/{action}?page=1",
"to": 25,
"total": 25
}
{
"status": "error",
"message": "Access denied",
"error": "Причина ошибки"
}
{
"status": "error",
"message": "Заголовок ошибки",
"error": "Причина ошибки"
}
12 ноября 2024