API. Получение файлов пациента
Request parameters
Responses
{
"status": "success",
"current_page": 2,
"data": [
{
"id": 5,
"name": "test.docx",
"type": "reception_document"
}
],
"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