Matrix. Внешние интеграции Help

API. Получение списка квитанций пациента

/api/v1/patients/{patient_id}/receipts

Request parameters

Responses

{ "status": "success", "current_page": 2, "data": [ { "id": 245, "datetime": "2024-06-20T09:08:36.000000Z", "date": "20.06.2024", "time": "14:06", "sum": 700, "paid": 750, "type": 1, "record_id": 1111 } ], "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