API. Получение списка оказываемых услуг доступных для записи
Request parameters
Responses
{
"status": "success",
"current_page": 2,
"data": [
{
"id": 1,
"name": "Консультация врача",
"duration": 60,
"cost": 1999.99,
"online": "false",
"devices": [
{
"id": 1,
"name": "ТРК-2с",
"cabinet": {
"id": 1,
"name": "Регистратура"
}
}
],
"cabinets": [
{
"id": 1,
"name": "Регистратура"
}
],
"specialties": [
{
"id": 1,
"name": "Врач"
}
]
}
],
"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": "Заголовок ошибки",
"error": "Причина ошибки"
}
{
"status": "error",
"message": "Access denied",
"error": "Причина ошибки"
}
12 ноября 2024