Introduction
This documentation aims to provide all the information you need to work with our API.
Authenticating requests
To authenticate requests, include an Authorization header with the value "Bearer {YOUR_AUTH_KEY}".
All authenticated endpoints are marked with a requires authentication badge in the documentation below.
You can retrieve your token by visiting your dashboard and clicking Generate API token.
Admissions
Gestion des hospitalisations des patients
Lister les admissions
requires authentication
Permet de récupérer la liste des admissions
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/admissions/all?patient_id=1&doctor_id=2&medical_page_id=5&status=active&room_number=A12&start_date=2026-01-01&end_date=2026-12-31&filter_value=ab&trashed=" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"patient_id\": 19,
\"doctor_id\": 14,
\"medical_page_id\": 12,
\"status\": \"transferred\",
\"room_number\": \"aut\",
\"start_date\": \"2026-05-07T16:23:58\",
\"end_date\": \"2026-05-07T16:23:58\",
\"filter_value\": \"architecto\",
\"trashed\": false,
\"page_items\": 6,
\"nbre_items\": 25
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/admissions/all"
);
const params = {
"patient_id": "1",
"doctor_id": "2",
"medical_page_id": "5",
"status": "active",
"room_number": "A12",
"start_date": "2026-01-01",
"end_date": "2026-12-31",
"filter_value": "ab",
"trashed": "0",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"patient_id": 19,
"doctor_id": 14,
"medical_page_id": 12,
"status": "transferred",
"room_number": "aut",
"start_date": "2026-05-07T16:23:58",
"end_date": "2026-05-07T16:23:58",
"filter_value": "architecto",
"trashed": false,
"page_items": 6,
"nbre_items": 25
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Créer une admission
requires authentication
Permet d'enregistrer une nouvelle hospitalisation.
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/admissions" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"patient_id\": 1,
\"doctor_id\": 2,
\"medical_page_id\": 5,
\"admitted_at\": \"2026-05-05 10:00:00\",
\"discharged_at\": \"2026-05-10 12:00:00\",
\"room_number\": \"A12\",
\"status\": \"active\",
\"notes\": \"deserunt\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/admissions"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"patient_id": 1,
"doctor_id": 2,
"medical_page_id": 5,
"admitted_at": "2026-05-05 10:00:00",
"discharged_at": "2026-05-10 12:00:00",
"room_number": "A12",
"status": "active",
"notes": "deserunt"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Afficher une admission
requires authentication
Retourne les détails d'une admission.
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/admissions/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/admissions/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/admissions/1 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Modifier une admission
requires authentication
Tous les champs sont modifiables
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/admissions/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"patient_id\": 10,
\"doctor_id\": 3,
\"medical_page_id\": 10,
\"room_number\": \"hhhfbffkuvvqt\",
\"admitted_at\": \"2026-05-07T16:23:58\",
\"discharged_at\": \"2026-05-07T16:23:58\",
\"status\": \"active\",
\"notes\": \"quam\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/admissions/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"patient_id": 10,
"doctor_id": 3,
"medical_page_id": 10,
"room_number": "hhhfbffkuvvqt",
"admitted_at": "2026-05-07T16:23:58",
"discharged_at": "2026-05-07T16:23:58",
"status": "active",
"notes": "quam"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Mettre en corbeille
requires authentication
Body : ids[]
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/admissions/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
5
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/admissions/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
5
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Restaurer
requires authentication
Body : ids[]
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/admissions/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
8
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/admissions/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
8
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Authentification
Gestion de l'authentification des utilisateurs
Fonction permettant à un utilisateur déjà inscrit de se connecter
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/login" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"username\": \"consequuntur\",
\"password\": \"Hq}?W0)-%\\\\Ge3eQ\\\"`[\",
\"device_key\": \"rerum\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/login"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"username": "consequuntur",
"password": "Hq}?W0)-%\\Ge3eQ\"`[",
"device_key": "rerum"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fonction permettant à un utilisateur connecté de se déconnecter
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/logout" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/logout"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Avance sur salaire / Salary advance
Gestion des avances sur salaire
Afficher la liste filtrée des avances sur salaire
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/salaries-advances/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 14,
\"nbre_items\": 14,
\"filter_value\": \"magnam\",
\"trashed\": true,
\"user_id\": 3,
\"user_approve_id\": 11,
\"date\": \"2026-05-07\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/salaries-advances/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 14,
"nbre_items": 14,
"filter_value": "magnam",
"trashed": true,
"user_id": 3,
"user_approve_id": 11,
"date": "2026-05-07"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Show the form for creating a new resource.
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/salaries-advances" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"salary_advances\": [
{
\"user_approve_id\": 2,
\"amount\": \"corrupti\",
\"reason\": \"dignissimos\"
}
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/salaries-advances"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"salary_advances": [
{
"user_approve_id": 2,
"amount": "corrupti",
"reason": "dignissimos"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Afficher une retenue sur salaire spécifique
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/salaries-advances/vel" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/salaries-advances/vel"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/salaries-advances/vel could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Mettre à jour une retenue sur salaire spécifique
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/salaries-advances/cupiditate" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_approve_id\": 7,
\"status\": \"in_progress\",
\"reason\": \"ut\",
\"comments\": \"quisquam\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/salaries-advances/cupiditate"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_approve_id": 7,
"status": "in_progress",
"reason": "ut",
"comments": "quisquam"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Archiver (soft delete) les avances sur salaire spécifiées.
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/salaries-advances/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
19
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/salaries-advances/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
19
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Restaurer les avances sur salaire archivées.
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/salaries-advances/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
8
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/salaries-advances/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
8
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Avertissements
Gestion des avertissements
Lister les avertissements
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/warnings/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 37,
\"nbre_items\": 3,
\"user_id\": 1,
\"date\": \"2026-05-07\",
\"filter_value\": \"olgmgajcyesocigkqhzlrmb\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/warnings/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 37,
"nbre_items": 3,
"user_id": 1,
"date": "2026-05-07",
"filter_value": "olgmgajcyesocigkqhzlrmb"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Ajouter un ou plusieurs avertissements
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/warnings" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"warnings\": [
{
\"user_id\": 19,
\"reason\": \"delectus\",
\"date\": \"2026-05-07\"
}
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/warnings"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"warnings": [
{
"user_id": 19,
"reason": "delectus",
"date": "2026-05-07"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Afficher les détails d'un avertissement
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/warnings/16" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/warnings/16"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/warnings/16 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Modifier les détails d'un avertissement
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/warnings/3" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_id\": 20,
\"date\": \"2026-05-07\",
\"page_items\": 19,
\"nbre_items\": 3,
\"filter_value\": \"quia\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/warnings/3"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_id": 20,
"date": "2026-05-07",
"page_items": 19,
"nbre_items": 3,
"filter_value": "quia"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Mettre un ou plusieurs avertissements en corbeille (soft delete)
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/warnings/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"warning_ids\": [
20
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/warnings/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"warning_ids": [
20
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Restaurer un ou plusieurs avertissements de la corbeille
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/warnings/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"warning_ids\": [
13
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/warnings/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"warning_ids": [
13
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Supprimer définitivement un ou plusieurs avertissements
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/warnings/destroy" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"warning_ids\": [
7
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/warnings/destroy"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"warning_ids": [
7
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Bons d'achats
Gestion des bons d'achat
Afficher une liste filtrée des bons d'achat
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/purchase-orders/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 50,
\"nbre_items\": 17,
\"filter_value\": \"ltlmpohzovcppham\",
\"status\": \"delivered\",
\"priority\": \"urgent\",
\"supplier_id\": 18,
\"responsible_id\": 17,
\"medication_ids\": [
7
],
\"trashed\": true
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/purchase-orders/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 50,
"nbre_items": 17,
"filter_value": "ltlmpohzovcppham",
"status": "delivered",
"priority": "urgent",
"supplier_id": 18,
"responsible_id": 17,
"medication_ids": [
7
],
"trashed": true
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Enregistrer un bon d'achat
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/purchase-orders" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"supplier_id\": 19,
\"responsible_id\": 2,
\"description\": \"Id perspiciatis animi sint ipsam omnis vel.\",
\"status\": \"pending_approval\",
\"priority\": \"medium\",
\"quotation_file\": \"voluptates\",
\"medications\": [
{
\"id\": 11,
\"unit_price\": 43,
\"quantity\": 48
}
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/purchase-orders"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"supplier_id": 19,
"responsible_id": 2,
"description": "Id perspiciatis animi sint ipsam omnis vel.",
"status": "pending_approval",
"priority": "medium",
"quotation_file": "voluptates",
"medications": [
{
"id": 11,
"unit_price": 43,
"quantity": 48
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Afficher un bon d'achat spécifique
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/purchase-orders/5" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/purchase-orders/5"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/purchase-orders/5 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update the specified resource in storage.
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/purchase-orders/14" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"supplier_id\": 19,
\"responsible_id\": 10,
\"description\": \"Perspiciatis ipsam et eos iure nihil ex veniam.\",
\"status\": \"delivered\",
\"priority\": \"urgent\",
\"quotation_file\": \"molestiae\",
\"medications\": [
{
\"id\": 17,
\"unit_price\": 36,
\"quantity\": 2
}
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/purchase-orders/14"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"supplier_id": 19,
"responsible_id": 10,
"description": "Perspiciatis ipsam et eos iure nihil ex veniam.",
"status": "delivered",
"priority": "urgent",
"quotation_file": "molestiae",
"medications": [
{
"id": 17,
"unit_price": 36,
"quantity": 2
}
]
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fonction pour le multiple archivage des bonds d'achat
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/purchase-orders/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
7
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/purchase-orders/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
7
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fonction de restauration multiples des bonds d'achat
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/purchase-orders/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
14
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/purchase-orders/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
14
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Caisse / Facturation
Gestion des factures et paiements MS-Care
Lister les factures
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/invoices/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 38,
\"nbre_items\": 12,
\"filter_value\": \"qixjgzxsnn\",
\"patient_id\": 6,
\"cashier_id\": 5,
\"status\": \"saepe\",
\"payment_mode\": \"esse\",
\"date_from\": \"2026-05-07\",
\"date_to\": \"2026-05-07\",
\"trashed\": false
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/invoices/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 38,
"nbre_items": 12,
"filter_value": "qixjgzxsnn",
"patient_id": 6,
"cashier_id": 5,
"status": "saepe",
"payment_mode": "esse",
"date_from": "2026-05-07",
"date_to": "2026-05-07",
"trashed": false
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Créer une facture avec ses lignes
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/invoices" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"patient_id\": 16,
\"medical_page_id\": 2,
\"discount\": 3,
\"payment_mode\": \"eos\",
\"notes\": \"tempora\",
\"mm_operator\": \"est\",
\"mm_payer_number\": \"laboriosam\",
\"mm_transaction_ref\": \"in\",
\"mm_payment_date\": \"2026-05-07\",
\"insurance_name\": \"accusamus\",
\"insurance_ref\": \"illum\",
\"insurance_amount\": 0,
\"patient_amount\": 80,
\"items\": [
{
\"item_type\": \"quis\",
\"label\": \"qui\",
\"quantity\": 78,
\"unit_price\": 7,
\"lab_request_id\": 20,
\"nursing_act_id\": 11,
\"medication_id\": 7,
\"prescription_id\": 15
}
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/invoices"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"patient_id": 16,
"medical_page_id": 2,
"discount": 3,
"payment_mode": "eos",
"notes": "tempora",
"mm_operator": "est",
"mm_payer_number": "laboriosam",
"mm_transaction_ref": "in",
"mm_payment_date": "2026-05-07",
"insurance_name": "accusamus",
"insurance_ref": "illum",
"insurance_amount": 0,
"patient_amount": 80,
"items": [
{
"item_type": "quis",
"label": "qui",
"quantity": 78,
"unit_price": 7,
"lab_request_id": 20,
"nursing_act_id": 11,
"medication_id": 7,
"prescription_id": 15
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Afficher une facture
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/invoices/16" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/invoices/16"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/invoices/16 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Mettre à jour une facture (paiement complémentaire)
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/invoices/7" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"amount_paid\": 34,
\"payment_mode\": \"distinctio\",
\"discount\": 70,
\"notes\": \"reiciendis\",
\"mm_operator\": \"aliquam\",
\"mm_payer_number\": \"non\",
\"mm_transaction_ref\": \"autem\",
\"mm_payment_date\": \"2026-05-07\",
\"insurance_name\": \"ut\",
\"insurance_ref\": \"sed\",
\"insurance_amount\": 72,
\"patient_amount\": 18
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/invoices/7"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"amount_paid": 34,
"payment_mode": "distinctio",
"discount": 70,
"notes": "reiciendis",
"mm_operator": "aliquam",
"mm_payer_number": "non",
"mm_transaction_ref": "autem",
"mm_payment_date": "2026-05-07",
"insurance_name": "ut",
"insurance_ref": "sed",
"insurance_amount": 72,
"patient_amount": 18
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Annuler une facture (avec traçabilité)
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/invoices/15/cancel" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/invoices/15/cancel"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Archiver des factures
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/invoices/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
1
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/invoices/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
1
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Restaurer des factures
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/invoices/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
3
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/invoices/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
3
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Carnet Médical
Gestion des carnets médicaux
Lister les carnets médicaux
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/medical-books/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 64,
\"nbre_items\": 8,
\"filter_value\": \"zciinoipiwlsxvyqphipyp\",
\"responsible_doctor_id\": 1,
\"health_center_id\": 13,
\"patient_id\": 5,
\"trashed\": false,
\"start_date\": \"2026-05-07\",
\"end_date\": \"2026-05-07\",
\"ckd_stage\": \"sint\",
\"dialysis_center\": \"ut\",
\"current_doctor_name\": \"sed\",
\"ckd_diagnosis_date\": \"2026-05-07T16:23:58\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/medical-books/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 64,
"nbre_items": 8,
"filter_value": "zciinoipiwlsxvyqphipyp",
"responsible_doctor_id": 1,
"health_center_id": 13,
"patient_id": 5,
"trashed": false,
"start_date": "2026-05-07",
"end_date": "2026-05-07",
"ckd_stage": "sint",
"dialysis_center": "ut",
"current_doctor_name": "sed",
"ckd_diagnosis_date": "2026-05-07T16:23:58"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Ajouter un carnet médical
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/medical-books" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "patient_id=11"\
--form "responsible_doctor_id=20"\
--form "health_center_id=17"\
--form "blood_type=B-"\
--form "known_allergies=inventore"\
--form "chronic_diseases=aspernatur"\
--form "observation=eos"\
--form "status=rejected"\
--form "current_doctor_name=vitae"\
--form "current_doctor_phone=consequatur"\
--form "current_doctor_address=aspernatur"\
--form "medical_history=minima"\
--form "current_treatments=ut"\
--form "known_kidney_diseases=quas"\
--form "autoimmune_or_infectious_diseases=dolor"\
--form "allergies=id"\
--form "ckd_stage=aperiam"\
--form "ckd_diagnosis_date=2026-05-07T16:23:58"\
--form "ckd_etiology=ut"\
--form "recent_biological_tests=qui"\
--form "dry_weight=68617.528"\
--form "dialysis_indicated="\
--form "dialysis_type=hemodialysis"\
--form "dialysis_center=exercitationem"\
--form "dialysis_frequency=voluptates"\
--form "dialysis_complications=veritatis"\
--form "renal_imaging_file=@/tmp/php9SA1tv" const url = new URL(
"https://vitacare.ms-hotel.net/api/medical-books"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('patient_id', '11');
body.append('responsible_doctor_id', '20');
body.append('health_center_id', '17');
body.append('blood_type', 'B-');
body.append('known_allergies', 'inventore');
body.append('chronic_diseases', 'aspernatur');
body.append('observation', 'eos');
body.append('status', 'rejected');
body.append('current_doctor_name', 'vitae');
body.append('current_doctor_phone', 'consequatur');
body.append('current_doctor_address', 'aspernatur');
body.append('medical_history', 'minima');
body.append('current_treatments', 'ut');
body.append('known_kidney_diseases', 'quas');
body.append('autoimmune_or_infectious_diseases', 'dolor');
body.append('allergies', 'id');
body.append('ckd_stage', 'aperiam');
body.append('ckd_diagnosis_date', '2026-05-07T16:23:58');
body.append('ckd_etiology', 'ut');
body.append('recent_biological_tests', 'qui');
body.append('dry_weight', '68617.528');
body.append('dialysis_indicated', '');
body.append('dialysis_type', 'hemodialysis');
body.append('dialysis_center', 'exercitationem');
body.append('dialysis_frequency', 'voluptates');
body.append('dialysis_complications', 'veritatis');
body.append('renal_imaging_file', document.querySelector('input[name="renal_imaging_file"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Afficher les infos d'un carnet médical
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/medical-books/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/medical-books/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/medical-books/1 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Modifier un carnet médical
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/medical-books/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "patient_id=12"\
--form "responsible_doctor_id=20"\
--form "health_center_id=6"\
--form "blood_type=A-"\
--form "known_allergies=enim"\
--form "chronic_diseases=voluptates"\
--form "observation=magnam"\
--form "status=undone"\
--form "current_doctor_name=praesentium"\
--form "current_doctor_phone=eveniet"\
--form "current_doctor_address=magnam"\
--form "medical_history=magni"\
--form "current_treatments=nulla"\
--form "known_kidney_diseases=voluptatibus"\
--form "autoimmune_or_infectious_diseases=quia"\
--form "allergies=eaque"\
--form "ckd_stage=quae"\
--form "ckd_diagnosis_date=2026-05-07T16:23:58"\
--form "ckd_etiology=qui"\
--form "recent_biological_tests=repellat"\
--form "dry_weight=3.365152"\
--form "dialysis_indicated="\
--form "dialysis_type=hemodialysis"\
--form "dialysis_center=praesentium"\
--form "dialysis_frequency=voluptatem"\
--form "dialysis_complications=quia"\
--form "renal_imaging_file=@/tmp/phptZQBLD" const url = new URL(
"https://vitacare.ms-hotel.net/api/medical-books/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
};
const body = new FormData();
body.append('patient_id', '12');
body.append('responsible_doctor_id', '20');
body.append('health_center_id', '6');
body.append('blood_type', 'A-');
body.append('known_allergies', 'enim');
body.append('chronic_diseases', 'voluptates');
body.append('observation', 'magnam');
body.append('status', 'undone');
body.append('current_doctor_name', 'praesentium');
body.append('current_doctor_phone', 'eveniet');
body.append('current_doctor_address', 'magnam');
body.append('medical_history', 'magni');
body.append('current_treatments', 'nulla');
body.append('known_kidney_diseases', 'voluptatibus');
body.append('autoimmune_or_infectious_diseases', 'quia');
body.append('allergies', 'eaque');
body.append('ckd_stage', 'quae');
body.append('ckd_diagnosis_date', '2026-05-07T16:23:58');
body.append('ckd_etiology', 'qui');
body.append('recent_biological_tests', 'repellat');
body.append('dry_weight', '3.365152');
body.append('dialysis_indicated', '');
body.append('dialysis_type', 'hemodialysis');
body.append('dialysis_center', 'praesentium');
body.append('dialysis_frequency', 'voluptatem');
body.append('dialysis_complications', 'quia');
body.append('renal_imaging_file', document.querySelector('input[name="renal_imaging_file"]').files[0]);
fetch(url, {
method: "PUT",
headers,
body,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Archiver plusieurs medical_books
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/medical-books/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
17
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/medical-books/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
17
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Restaurer plusieurs medical_books
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/medical-books/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
6
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/medical-books/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
6
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Catalogue Actes Infirmiers
POST api/nursing-act-catalogs/all
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/nursing-act-catalogs/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 9,
\"nbre_items\": 17,
\"filter_value\": \"xwlogmncwrrscub\",
\"start_date\": \"2026-05-07\",
\"end_date\": \"2026-05-07\",
\"type\": \"nesciunt\",
\"is_active\": true,
\"trashed\": true
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/nursing-act-catalogs/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 9,
"nbre_items": 17,
"filter_value": "xwlogmncwrrscub",
"start_date": "2026-05-07",
"end_date": "2026-05-07",
"type": "nesciunt",
"is_active": true,
"trashed": true
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/nursing-act-catalogs
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/nursing-act-catalogs" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"tqccwtcbiqetwmmobhdpbej\",
\"type\": \"similique\",
\"description\": \"Explicabo beatae et fugiat adipisci molestiae neque.\",
\"price\": 16,
\"is_active\": true
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/nursing-act-catalogs"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "tqccwtcbiqetwmmobhdpbej",
"type": "similique",
"description": "Explicabo beatae et fugiat adipisci molestiae neque.",
"price": 16,
"is_active": true
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/nursing-act-catalogs/{nursing_act_catalog}
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/nursing-act-catalogs/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/nursing-act-catalogs/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/nursing-act-catalogs/1 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/nursing-act-catalogs/{nursing_act_catalog}
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/nursing-act-catalogs/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"ddkkcdrolpbaolzu\",
\"type\": \"adipisci\",
\"description\": \"Et maxime repudiandae nihil modi.\",
\"price\": 47,
\"is_active\": true
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/nursing-act-catalogs/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "ddkkcdrolpbaolzu",
"type": "adipisci",
"description": "Et maxime repudiandae nihil modi.",
"price": 47,
"is_active": true
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/nursing-act-catalogs/trash
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/nursing-act-catalogs/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
5
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/nursing-act-catalogs/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
5
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/nursing-act-catalogs/restore
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/nursing-act-catalogs/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
1
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/nursing-act-catalogs/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
1
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Catalogue Examens Laboratoire
POST api/lab-exam-catalogs/all
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/lab-exam-catalogs/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 84,
\"nbre_items\": 4,
\"filter_value\": \"tervgnahieuntjhra\",
\"type\": \"ratione\",
\"start_date\": \"2026-05-07\",
\"end_date\": \"2026-05-07\",
\"is_active\": true,
\"trashed\": false
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/lab-exam-catalogs/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 84,
"nbre_items": 4,
"filter_value": "tervgnahieuntjhra",
"type": "ratione",
"start_date": "2026-05-07",
"end_date": "2026-05-07",
"is_active": true,
"trashed": false
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/lab-exam-catalogs
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/lab-exam-catalogs" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"jugzxshnxcndeqwgyptsnwv\",
\"code\": \"hg\",
\"type\": \"qui\",
\"description\": \"Velit atque natus itaque aliquid enim.\",
\"price\": 70,
\"turnaround_hours\": 14,
\"preparation_instructions\": \"commodi\",
\"sample_required\": \"sed\",
\"is_active\": true
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/lab-exam-catalogs"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "jugzxshnxcndeqwgyptsnwv",
"code": "hg",
"type": "qui",
"description": "Velit atque natus itaque aliquid enim.",
"price": 70,
"turnaround_hours": 14,
"preparation_instructions": "commodi",
"sample_required": "sed",
"is_active": true
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/lab-exam-catalogs/{lab_exam_catalog}
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/lab-exam-catalogs/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/lab-exam-catalogs/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/lab-exam-catalogs/1 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/lab-exam-catalogs/{lab_exam_catalog}
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/lab-exam-catalogs/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"ieghobwnzxdxmvwhittpbo\",
\"type\": \"impedit\",
\"description\": \"Non ut qui possimus consequatur.\",
\"price\": 5,
\"turnaround_hours\": 70,
\"preparation_instructions\": \"sed\",
\"sample_required\": \"hic\",
\"is_active\": true
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/lab-exam-catalogs/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "ieghobwnzxdxmvwhittpbo",
"type": "impedit",
"description": "Non ut qui possimus consequatur.",
"price": 5,
"turnaround_hours": 70,
"preparation_instructions": "sed",
"sample_required": "hic",
"is_active": true
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/lab-exam-catalogs/trash
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/lab-exam-catalogs/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
2
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/lab-exam-catalogs/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
2
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/lab-exam-catalogs/restore
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/lab-exam-catalogs/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
17
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/lab-exam-catalogs/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
17
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Centres de santé
Gestion des centres de santé
Lister les centres de santé
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/health-centers/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 33,
\"nbre_items\": 9,
\"start_date\": \"2026-05-07\",
\"end_date\": \"2026-05-07\",
\"filter_value\": \"eapqcogusehpelyby\",
\"responsible_id\": 19,
\"trashed\": false
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/health-centers/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 33,
"nbre_items": 9,
"start_date": "2026-05-07",
"end_date": "2026-05-07",
"filter_value": "eapqcogusehpelyby",
"responsible_id": 19,
"trashed": false
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Ajouter un centre de santé
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/health-centers" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"responsible_id\": 15,
\"name\": \"uk\",
\"code\": \"hfvy\",
\"description\": \"Quod voluptatibus autem maiores qui voluptatem repellendus enim.\",
\"address\": \"emsugjcqseonxvaw\",
\"city\": \"xguedonduzyctkd\",
\"country\": \"ovka\",
\"phone\": \"rdy\",
\"logo\": \"javtzm\",
\"email\": \"kertzmann.vito@example.net\",
\"website\": \"pqvohraehyohxmklrsupn\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/health-centers"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"responsible_id": 15,
"name": "uk",
"code": "hfvy",
"description": "Quod voluptatibus autem maiores qui voluptatem repellendus enim.",
"address": "emsugjcqseonxvaw",
"city": "xguedonduzyctkd",
"country": "ovka",
"phone": "rdy",
"logo": "javtzm",
"email": "kertzmann.vito@example.net",
"website": "pqvohraehyohxmklrsupn"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Afficher les informations d'un centre de santé
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/health-centers/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/health-centers/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/health-centers/1 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Modifier les informations d'un centre de santé
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/health-centers/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"responsible_id\": 18,
\"name\": \"mqnmppzgbuedph\",
\"code\": \"wcrd\",
\"description\": \"Assumenda voluptatem deserunt ipsa omnis libero molestiae omnis.\",
\"address\": \"iojswfvwcig\",
\"city\": \"auquwtkdpjhnlgqeciewy\",
\"country\": \"vzpvtzmpuukherlbqorpa\",
\"phone\": \"bpywugtzjzjmzm\",
\"logo\": \"kpll\",
\"email\": \"marjolaine18@example.com\",
\"website\": \"mruquloajnrzgitmepara\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/health-centers/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"responsible_id": 18,
"name": "mqnmppzgbuedph",
"code": "wcrd",
"description": "Assumenda voluptatem deserunt ipsa omnis libero molestiae omnis.",
"address": "iojswfvwcig",
"city": "auquwtkdpjhnlgqeciewy",
"country": "vzpvtzmpuukherlbqorpa",
"phone": "bpywugtzjzjmzm",
"logo": "kpll",
"email": "marjolaine18@example.com",
"website": "mruquloajnrzgitmepara"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Archiver plusieurs health_centers
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/health-centers/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
16
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/health-centers/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
16
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Restaurer plusieurs health_centers
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/health-centers/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
5
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/health-centers/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
5
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Chat
Gestion des discussions du chat
Lister les discussions (privées et en groupe)
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/chat/rooms/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 88,
\"nbre_items\": 16,
\"filter_value\": \"gopbyxlcytdx\",
\"is_group\": true
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/chat/rooms/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 88,
"nbre_items": 16,
"filter_value": "gopbyxlcytdx",
"is_group": true
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Démarrer une discussion
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/chat/rooms" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"tkvdunnprhcpwsljy\",
\"photo\": \"uyhwwtonkkqowvqh\",
\"participants\": [
4
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/chat/rooms"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "tkvdunnprhcpwsljy",
"photo": "uyhwwtonkkqowvqh",
"participants": [
4
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Afficher les infos d'une discussion
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/chat/rooms/6" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/chat/rooms/6"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/chat/rooms/6 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Modifier une discussion
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/chat/rooms/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"eh\",
\"photo\": \"bbnptxfclbpjhudpyoijdqz\",
\"participants\": [
12
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/chat/rooms/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "eh",
"photo": "bbnptxfclbpjhudpyoijdqz",
"participants": [
12
]
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Gestion des messages du chat
Lister les messages
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/chat/messages/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 18,
\"nbre_items\": 10,
\"filter_value\": \"bzpkgsol\",
\"message_room_id\": 18,
\"user_id\": 8
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/chat/messages/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 18,
"nbre_items": 10,
"filter_value": "bzpkgsol",
"message_room_id": 18,
"user_id": 8
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Ajouter un message
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/chat/messages" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"message_room_id\": 2,
\"body\": \"quibusdam\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/chat/messages"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"message_room_id": 2,
"body": "quibusdam"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Afficher un message
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/chat/messages/5" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/chat/messages/5"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/chat/messages/5 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Modifier un message
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/chat/messages/9" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"body\": \"est\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/chat/messages/9"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"body": "est"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Checkups patients
Gestion des checkups patients
Lister les checkups patients
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/check-ups/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 15,
\"nbre_items\": 16,
\"filter_value\": \"aqxixaksebgwkkgcp\",
\"patient_id\": 18,
\"medical_page_id\": 19,
\"date\": \"2026-05-07\",
\"start_date\": \"2026-05-07\",
\"end_date\": \"2026-05-07\",
\"alert_status\": \"warning\",
\"trashed\": true
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/check-ups/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 15,
"nbre_items": 16,
"filter_value": "aqxixaksebgwkkgcp",
"patient_id": 18,
"medical_page_id": 19,
"date": "2026-05-07",
"start_date": "2026-05-07",
"end_date": "2026-05-07",
"alert_status": "warning",
"trashed": true
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Ajouter un checkup patient
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/check-ups" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"patient_id\": 7,
\"medical_page_id\": 10,
\"dialysis_session_id\": 14,
\"weight_kg\": 549.7,
\"blood_pressure_systolic\": 1,
\"blood_pressure_diastolic\": 15,
\"heart_rate\": 19,
\"temperature_c\": 44468.37517,
\"blood_glucose\": 607943529.62977,
\"urine_output_ml\": 14,
\"spo2\": 19,
\"creatinine\": 9.4053,
\"urea\": 701056.355,
\"creatinine_clearance\": 460534784.0818688,
\"potassium\": 636.91125011,
\"sodium\": 271571963.71419716,
\"phosphorus\": 3.68138194,
\"calcium\": 1034.3236,
\"hemoglobin\": 25.789,
\"notes\": \"sit\",
\"date\": \"2026-05-07T16:23:58\",
\"alert_status\": \"normal\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/check-ups"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"patient_id": 7,
"medical_page_id": 10,
"dialysis_session_id": 14,
"weight_kg": 549.7,
"blood_pressure_systolic": 1,
"blood_pressure_diastolic": 15,
"heart_rate": 19,
"temperature_c": 44468.37517,
"blood_glucose": 607943529.62977,
"urine_output_ml": 14,
"spo2": 19,
"creatinine": 9.4053,
"urea": 701056.355,
"creatinine_clearance": 460534784.0818688,
"potassium": 636.91125011,
"sodium": 271571963.71419716,
"phosphorus": 3.68138194,
"calcium": 1034.3236,
"hemoglobin": 25.789,
"notes": "sit",
"date": "2026-05-07T16:23:58",
"alert_status": "normal"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Afficher les infos d'un checkup patient
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/check-ups/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/check-ups/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/check-ups/1 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Modifier un checkup patient
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/check-ups/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"patient_id\": 4,
\"medical_page_id\": 5,
\"dialysis_session_id\": 16,
\"weight_kg\": 5825.76,
\"blood_pressure_systolic\": 18,
\"blood_pressure_diastolic\": 13,
\"heart_rate\": 7,
\"temperature_c\": 13.3,
\"blood_glucose\": 63,
\"urine_output_ml\": 19,
\"spo2\": 1,
\"creatinine\": 663591609.2,
\"urea\": 6787052.638083335,
\"creatinine_clearance\": 5071,
\"potassium\": 549670059.374243,
\"sodium\": 265,
\"phosphorus\": 52575.472357,
\"calcium\": 647911,
\"hemoglobin\": 743.695,
\"notes\": \"quisquam\",
\"date\": \"2026-05-07T16:23:58\",
\"alert_status\": \"warning\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/check-ups/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"patient_id": 4,
"medical_page_id": 5,
"dialysis_session_id": 16,
"weight_kg": 5825.76,
"blood_pressure_systolic": 18,
"blood_pressure_diastolic": 13,
"heart_rate": 7,
"temperature_c": 13.3,
"blood_glucose": 63,
"urine_output_ml": 19,
"spo2": 1,
"creatinine": 663591609.2,
"urea": 6787052.638083335,
"creatinine_clearance": 5071,
"potassium": 549670059.374243,
"sodium": 265,
"phosphorus": 52575.472357,
"calcium": 647911,
"hemoglobin": 743.695,
"notes": "quisquam",
"date": "2026-05-07T16:23:58",
"alert_status": "warning"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Archiver plusieurs patient_check_ups
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/check-ups/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
16
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/check-ups/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
16
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Restaurer plusieurs patient_check_ups
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/check-ups/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
14
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/check-ups/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
14
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Clôture de Caisse
Gestion des clôtures journalières de caisse MS-Care
POST api/cash-closures/all
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/cash-closures/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 24,
\"nbre_items\": 3,
\"cashier_id\": 20,
\"status\": \"open\",
\"date_from\": \"2026-05-07\",
\"date_to\": \"2026-05-07\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/cash-closures/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 24,
"nbre_items": 3,
"cashier_id": 20,
"status": "open",
"date_from": "2026-05-07",
"date_to": "2026-05-07"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Créer une clôture de caisse — calcule automatiquement les totaux du jour
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/cash-closures" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"closure_date\": \"2026-05-07\",
\"notes\": \"labore\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/cash-closures"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"closure_date": "2026-05-07",
"notes": "labore"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/cash-closures/{cash_closure}
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/cash-closures/11" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/cash-closures/11"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/cash-closures/11 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Clôturer définitivement (passer à closed)
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/cash-closures/12" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"status\": \"closed\",
\"notes\": \"esse\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/cash-closures/12"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"status": "closed",
"notes": "esse"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Contrats
Gestion des contrats employés
Retourne la liste des contrats avec la possibilité de filtrer et paginer les résultats.
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/contracts/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 9,
\"nbre_items\": 13,
\"filter_value\": \"et\",
\"position\": \"alias\",
\"status\": \"Pending\",
\"trashed\": false
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/contracts/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 9,
"nbre_items": 13,
"filter_value": "et",
"position": "alias",
"status": "Pending",
"trashed": false
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Affiche les détails d’un contrat spécifique à partir de son identifiant.
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/contracts/repellendus" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/contracts/repellendus"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/contracts/repellendus could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Crée un nouveau contrat pour un utilisateur, après vérification d'absence de contrat actif.
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/contracts" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_id\": 7,
\"user_approve_id\": 20,
\"type\": \"consequatur\",
\"description\": \"Dolorem fugiat facilis consequatur magni magnam ducimus eveniet.\",
\"start_date\": \"2026-05-07T16:23:58\",
\"duration\": 72,
\"working_hours\": \"necessitatibus\",
\"position\": \"dolor\",
\"gross_salary\": 86,
\"status\": \"Active\",
\"service_benefits\": \"deleniti\",
\"bonus\": \"cupiditate\",
\"number_days_off\": 12
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/contracts"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_id": 7,
"user_approve_id": 20,
"type": "consequatur",
"description": "Dolorem fugiat facilis consequatur magni magnam ducimus eveniet.",
"start_date": "2026-05-07T16:23:58",
"duration": 72,
"working_hours": "necessitatibus",
"position": "dolor",
"gross_salary": 86,
"status": "Active",
"service_benefits": "deleniti",
"bonus": "cupiditate",
"number_days_off": 12
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Met à jour les informations d’un contrat donné.
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/contracts/sed" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_id\": 8,
\"user_approve_id\": 1,
\"type\": \"Stage\",
\"description\": \"Quasi animi repudiandae et ipsa nihil.\",
\"start_date\": \"2026-05-07T16:23:58\",
\"duration\": 57,
\"working_hours\": \"est\",
\"position\": \"aut\",
\"gross_salary\": 51,
\"status\": \"Pending\",
\"service_benefits\": \"et\",
\"bonus\": \"modi\",
\"number_days_off\": 20
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/contracts/sed"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_id": 8,
"user_approve_id": 1,
"type": "Stage",
"description": "Quasi animi repudiandae et ipsa nihil.",
"start_date": "2026-05-07T16:23:58",
"duration": 57,
"working_hours": "est",
"position": "aut",
"gross_salary": 51,
"status": "Pending",
"service_benefits": "et",
"bonus": "modi",
"number_days_off": 20
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Archiver (soft delete) les contrats spécifiées.
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/contracts/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
14
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/contracts/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
14
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Restaurer les contrats archivés.
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/contracts/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
20
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/contracts/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
20
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Supprimer définitivement les contrats spécifiés.
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/contracts/destroy" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
10
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/contracts/destroy"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
10
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Demande d'approvisionnement | Supply demand
Contrôleur chargé de la gestion des demandes d'approvisionnement.
Crée une nouvelle demande d'approvisionnement.
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/supply-demands" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"yawanowvnlqntqlrejyiw\",
\"description\": \"Rem illo perspiciatis repellendus velit non.\",
\"responsible_id\": 7,
\"status\": \"refused\",
\"priority\": \"medium\",
\"medications\": [
{
\"id\": 18,
\"unit_price\": 1,
\"quantity\": 59,
\"supplier_id\": 4
}
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/supply-demands"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "yawanowvnlqntqlrejyiw",
"description": "Rem illo perspiciatis repellendus velit non.",
"responsible_id": 7,
"status": "refused",
"priority": "medium",
"medications": [
{
"id": 18,
"unit_price": 1,
"quantity": 59,
"supplier_id": 4
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Affiche la liste paginée des demandes d'approvisionnement, avec filtres optionnels.
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/supply-demands/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filter_value\": \"aut\",
\"responsible_id\": 19,
\"priority\": \"high\",
\"status\": \"refused\",
\"medication_ids\": [
5
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/supply-demands/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"filter_value": "aut",
"responsible_id": 19,
"priority": "high",
"status": "refused",
"medication_ids": [
5
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Affiche les détails d'une demande d'approvisionnement spécifique.
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/supply-demands/8" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/supply-demands/8"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/supply-demands/8 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Met à jour les informations d'une demande d'approvisionnement existante.
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/supply-demands/10" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"gtw\",
\"description\": \"Culpa voluptatem aut rerum nulla at temporibus.\",
\"responsible_id\": 18,
\"status\": \"pending\",
\"priority\": \"high\",
\"medications\": [
{
\"id\": 5,
\"unit_price\": 14,
\"quantity\": 63,
\"supplier_id\": 18
}
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/supply-demands/10"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "gtw",
"description": "Culpa voluptatem aut rerum nulla at temporibus.",
"responsible_id": 18,
"status": "pending",
"priority": "high",
"medications": [
{
"id": 5,
"unit_price": 14,
"quantity": 63,
"supplier_id": 18
}
]
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Met en corbeille (suppression logique) une ou plusieurs demandes d'approvisionnement.
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/supply-demands/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"supply_demand_ids\": [
17
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/supply-demands/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"supply_demand_ids": [
17
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Restaure une ou plusieurs demandes d'approvisionnement supprimées (suppression logique).
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/supply-demands/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"supply_demand_ids\": [
2
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/supply-demands/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"supply_demand_ids": [
2
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Demande d'explication / Explanation Request
Gestion des demandes d'explication
Afficher les demandes d'explication
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/explanation-requests/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 68,
\"nbre_items\": 16,
\"filter_value\": \"vjoledzrvikjfdlz\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/explanation-requests/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 68,
"nbre_items": 16,
"filter_value": "vjoledzrvikjfdlz"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Creer une demande d'explication
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/explanation-requests" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"molestiae\",
\"description\": \"Error facilis vel at provident est omnis adipisci.\",
\"idUser\": 12,
\"idResponsable\": 13,
\"image\": \"ut\",
\"comments\": \"enim\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/explanation-requests"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "molestiae",
"description": "Error facilis vel at provident est omnis adipisci.",
"idUser": 12,
"idResponsable": 13,
"image": "ut",
"comments": "enim"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Afficher une demande d'explication spécifique
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/explanation-requests/2" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/explanation-requests/2"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/explanation-requests/2 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Mettre a jour une demande d'explication
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/explanation-requests/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"dicta\",
\"description\": \"Dolor qui rerum distinctio ut beatae.\",
\"idUser\": 2,
\"idResponsable\": 1,
\"image\": \"rerum\",
\"comments\": \"unde\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/explanation-requests/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "dicta",
"description": "Dolor qui rerum distinctio ut beatae.",
"idUser": 2,
"idResponsable": 1,
"image": "rerum",
"comments": "unde"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Archiver (soft delete) les demandes d'explication.
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/explanation-requests/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
15
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/explanation-requests/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
15
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Restaurer les demandes d'explication archivées.
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/explanation-requests/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
1
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/explanation-requests/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
1
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Demande de congé
Gestion des demandes de congé employé
Lister les congés enregistrés
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/holidays/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_id\": 14,
\"user_approve_id\": 11,
\"status\": \"rejected\",
\"archive\": \"only_trashed\",
\"date\": \"2026-05-07T16:23:58\",
\"page_items\": 11,
\"nbre_items\": 12,
\"filter_value\": \"reprehenderit\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/holidays/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_id": 14,
"user_approve_id": 11,
"status": "rejected",
"archive": "only_trashed",
"date": "2026-05-07T16:23:58",
"page_items": 11,
"nbre_items": 12,
"filter_value": "reprehenderit"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Enregistrer une demande de congé
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/holidays" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"type\": \"ut\",
\"start_date\": \"2026-05-07T16:23:58\",
\"end_date\": \"2026-05-07T16:23:58\",
\"days_taken\": 9,
\"reason\": \"ynsjpajhhnapdnmwo\",
\"user_approve_id\": 10
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/holidays"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"type": "ut",
"start_date": "2026-05-07T16:23:58",
"end_date": "2026-05-07T16:23:58",
"days_taken": 9,
"reason": "ynsjpajhhnapdnmwo",
"user_approve_id": 10
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Afficher les détails d'une retenue sur salaire
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/holidays/16" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/holidays/16"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/holidays/16 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Modifier une demande de congé
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/holidays/5" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"type\": \"cumque\",
\"start_date\": \"2120-08-15\",
\"end_date\": \"2078-04-10\",
\"days_taken\": 1,
\"reason\": \"zqzxojesb\",
\"status\": \"in_progress\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/holidays/5"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"type": "cumque",
"start_date": "2120-08-15",
"end_date": "2078-04-10",
"days_taken": 1,
"reason": "zqzxojesb",
"status": "in_progress"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Archiver une ou plusieurs demandes de congés
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/holidays/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"idHolidays\": [
9
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/holidays/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"idHolidays": [
9
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Restaurer une ou plusieurs demandes de congés
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/holidays/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"idHolidays\": [
1
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/holidays/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"idHolidays": [
1
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Demandes de Permissions
Contrôleur pour la gestion des demandes de permission des utilisateurs
Affiche une liste paginée des demandes de permission.
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/permission-requests/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"status\": \"approved\",
\"departure\": \"2026-05-07\",
\"return\": \"2026-05-07\",
\"duration\": 19,
\"page_items\": 7,
\"nbre_items\": 5,
\"filter_value\": \"oeeycnpokelfklhdzsuepxzi\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/permission-requests/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"status": "approved",
"departure": "2026-05-07",
"return": "2026-05-07",
"duration": 19,
"page_items": 7,
"nbre_items": 5,
"filter_value": "oeeycnpokelfklhdzsuepxzi"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Crée une nouvelle demande de permission.
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/permission-requests" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"reason\": \"voluptatem\",
\"departure\": \"2026-05-07\",
\"return\": \"2057-04-27\",
\"duration\": 57,
\"status\": \"pending\",
\"user_approve_id\": 10
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/permission-requests"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"reason": "voluptatem",
"departure": "2026-05-07",
"return": "2057-04-27",
"duration": 57,
"status": "pending",
"user_approve_id": 10
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Affiche les détails d'une demande de permission spécifique.
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/permission-requests/est" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/permission-requests/est"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/permission-requests/est could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Met à jour une demande de permission si elle est encore en attente.
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/permission-requests/sunt" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"reason\": \"totam\",
\"departure\": \"2026-05-07\",
\"return\": \"2085-11-16\",
\"duration\": 74,
\"status\": \"approved\",
\"user_approve_id\": 19
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/permission-requests/sunt"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"reason": "totam",
"departure": "2026-05-07",
"return": "2085-11-16",
"duration": 74,
"status": "approved",
"user_approve_id": 19
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Archiver (soft delete) les presences spécifiées.
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/permission-requests/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
7
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/permission-requests/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
7
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Restaurer les permission_requests archivés.
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/permission-requests/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
7
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/permission-requests/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
7
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Départements
Gestion des départements
Lister les départements
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/departments/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 46,
\"nbre_items\": 20,
\"filter_value\": \"rasquhabvgjboloj\",
\"start_date\": \"2026-05-07T16:23:58\",
\"end_date\": \"2026-05-07T16:23:58\",
\"responsible_id\": 4,
\"health_center_id\": 5,
\"trashed\": true
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/departments/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 46,
"nbre_items": 20,
"filter_value": "rasquhabvgjboloj",
"start_date": "2026-05-07T16:23:58",
"end_date": "2026-05-07T16:23:58",
"responsible_id": 4,
"health_center_id": 5,
"trashed": true
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Ajouter un département
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/departments" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"responsible_id\": 9,
\"health_center_id\": 10,
\"name\": \"arkvqmb\",
\"description\": \"Et sed qui commodi vel illo.\",
\"phone\": \"blhaqcceleqsa\",
\"email\": \"luettgen.nedra@example.com\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/departments"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"responsible_id": 9,
"health_center_id": 10,
"name": "arkvqmb",
"description": "Et sed qui commodi vel illo.",
"phone": "blhaqcceleqsa",
"email": "luettgen.nedra@example.com"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Afficher les infos d'un département
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/departments/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/departments/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/departments/1 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Modifier un département
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/departments/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"responsible_id\": 9,
\"health_center_id\": 4,
\"name\": \"nltamaploqnzonjuujboug\",
\"description\": \"Culpa molestiae omnis maxime sint tempore.\",
\"phone\": \"rkugltgm\",
\"email\": \"bwilliamson@example.com\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/departments/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"responsible_id": 9,
"health_center_id": 4,
"name": "nltamaploqnzonjuujboug",
"description": "Culpa molestiae omnis maxime sint tempore.",
"phone": "rkugltgm",
"email": "bwilliamson@example.com"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Archiver plusieurs medical_books
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/departments/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
10
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/departments/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
10
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Restaurer plusieurs medical_books
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/departments/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
15
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/departments/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
15
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Endpoints
Lister les rendez-vous
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/rendez-vous/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 17,
\"nbre_items\": 11,
\"filter_value\": \"shqpxiqmaxmcberrudeukmssr\",
\"patient_id\": 13,
\"doctor_id\": 5,
\"start_date\": \"2026-05-07\",
\"end_date\": \"2026-05-07\",
\"date\": \"2026-05-07\",
\"status\": \"validated\",
\"trashed\": false
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/rendez-vous/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 17,
"nbre_items": 11,
"filter_value": "shqpxiqmaxmcberrudeukmssr",
"patient_id": 13,
"doctor_id": 5,
"start_date": "2026-05-07",
"end_date": "2026-05-07",
"date": "2026-05-07",
"status": "validated",
"trashed": false
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Ajouter un rendez-vous
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/rendez-vous" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"patient_id\": 19,
\"doctor_id\": 4,
\"date\": \"2026-05-07\",
\"hour\": \"16:23\",
\"description\": \"Et iure qui quaerat libero possimus sed.\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/rendez-vous"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"patient_id": 19,
"doctor_id": 4,
"date": "2026-05-07",
"hour": "16:23",
"description": "Et iure qui quaerat libero possimus sed."
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Afficher les infos d'un rendez-vous
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/rendez-vous/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/rendez-vous/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/rendez-vous/1 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Modifier un rendez-vous
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/rendez-vous/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"patient_id\": 15,
\"doctor_id\": 2,
\"date\": \"2026-05-07\",
\"hour\": \"16:23\",
\"description\": \"Sed perspiciatis consequatur vel hic corrupti.\",
\"status\": \"done\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/rendez-vous/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"patient_id": 15,
"doctor_id": 2,
"date": "2026-05-07",
"hour": "16:23",
"description": "Sed perspiciatis consequatur vel hic corrupti.",
"status": "done"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Archiver plusieurs rendez_vous
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/rendez-vous/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
4
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/rendez-vous/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
4
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Restaurer plusieurs rendez_vous
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/rendez-vous/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
18
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/rendez-vous/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
18
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/dashboardfounder
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/dashboardfounder" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"health_center_id\": 7
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/dashboardfounder"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"health_center_id": 7
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Exécutions de planning de soins
Gestion des exécutions de planning de soins
POST api/care-schedule-executions/all
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/care-schedule-executions/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 71,
\"nbre_items\": 13,
\"filter_value\": \"cyhavajbmyn\",
\"care_schedule_id\": 7,
\"nurse_id\": 20,
\"status\": \"done\",
\"nursing_act_id\": 4,
\"date_from\": \"2026-05-07\",
\"date_to\": \"2026-05-07\",
\"trashed\": false
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/care-schedule-executions/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 71,
"nbre_items": 13,
"filter_value": "cyhavajbmyn",
"care_schedule_id": 7,
"nurse_id": 20,
"status": "done",
"nursing_act_id": 4,
"date_from": "2026-05-07",
"date_to": "2026-05-07",
"trashed": false
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/care-schedule-executions
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/care-schedule-executions" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"care_schedule_id\": 9,
\"nurse_id\": 19,
\"scheduled_at\": \"2026-05-07T16:23:58\",
\"executed_at\": \"2026-05-07T16:23:58\",
\"status\": \"pending\",
\"observations\": \"autem\",
\"nursing_act_id\": 7
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/care-schedule-executions"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"care_schedule_id": 9,
"nurse_id": 19,
"scheduled_at": "2026-05-07T16:23:58",
"executed_at": "2026-05-07T16:23:58",
"status": "pending",
"observations": "autem",
"nursing_act_id": 7
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/care-schedule-executions/{care_schedule_execution}
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/care-schedule-executions/11" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/care-schedule-executions/11"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/care-schedule-executions/11 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/care-schedule-executions/{care_schedule_execution}
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/care-schedule-executions/19" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"care_schedule_id\": 8,
\"nurse_id\": 9,
\"scheduled_at\": \"2026-05-07T16:23:58\",
\"executed_at\": \"2026-05-07T16:23:58\",
\"status\": \"done\",
\"observations\": \"sed\",
\"nursing_act_id\": 15
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/care-schedule-executions/19"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"care_schedule_id": 8,
"nurse_id": 9,
"scheduled_at": "2026-05-07T16:23:58",
"executed_at": "2026-05-07T16:23:58",
"status": "done",
"observations": "sed",
"nursing_act_id": 15
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/care-schedule-executions/trash
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/care-schedule-executions/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
18
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/care-schedule-executions/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
18
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/care-schedule-executions/restore
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/care-schedule-executions/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
2
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/care-schedule-executions/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
2
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Forum
Catégories Gestion des catégories de forum
Lister les categories de forum
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/forum/categories/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 63,
\"nbre_items\": 10,
\"start_date\": \"2026-05-07\",
\"end_date\": \"2026-05-07\",
\"filter_value\": \"xcketvazpibbcvbjv\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/forum/categories/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 63,
"nbre_items": 10,
"start_date": "2026-05-07",
"end_date": "2026-05-07",
"filter_value": "xcketvazpibbcvbjv"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Ajouter une catégorie de forum
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/forum/categories" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"miaduswomrbtomdfidn\",
\"description\": \"Culpa laboriosam et sit necessitatibus numquam at magnam.\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/forum/categories"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "miaduswomrbtomdfidn",
"description": "Culpa laboriosam et sit necessitatibus numquam at magnam."
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Afficher les infos d'une catégorie de forum
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/forum/categories/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/forum/categories/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/forum/categories/1 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Modifier une catégorie de forum
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/forum/categories/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"teaotizkcnkoit\",
\"description\": \"Quam cum ea blanditiis non ipsum adipisci vel.\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/forum/categories/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "teaotizkcnkoit",
"description": "Quam cum ea blanditiis non ipsum adipisci vel."
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Archiver plusieurs categories de forum
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/forum/categories/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
6
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/forum/categories/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
6
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Restaurer plusieurs categories de forum
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/forum/categories/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
7
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/forum/categories/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
7
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Questions Gestion des questions de forum
Lister les questions de forum
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/forum/questions/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 59,
\"nbre_items\": 17,
\"filter_value\": \"skfapvlg\",
\"start_date\": \"2026-05-07\",
\"end_date\": \"2026-05-07\",
\"forum_category_id\": 13,
\"user_id\": 1
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/forum/questions/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 59,
"nbre_items": 17,
"filter_value": "skfapvlg",
"start_date": "2026-05-07",
"end_date": "2026-05-07",
"forum_category_id": 13,
"user_id": 1
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Ajouter une question de forum
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/forum/questions" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"forum_category_id\": 20,
\"title\": \"iktwhqza\",
\"body\": \"quod\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/forum/questions"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"forum_category_id": 20,
"title": "iktwhqza",
"body": "quod"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Afficher les infos d'une question de forum
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/forum/questions/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/forum/questions/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/forum/questions/1 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Modifier une question de forum
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/forum/questions/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"forum_category_id\": 5,
\"title\": \"t\",
\"body\": \"laudantium\",
\"is_resolved\": false
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/forum/questions/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"forum_category_id": 5,
"title": "t",
"body": "laudantium",
"is_resolved": false
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Archiver plusieurs questions de forum
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/forum/questions/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
6
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/forum/questions/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
6
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Restaurer plusieurs questions de forum
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/forum/questions/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
15
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/forum/questions/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
15
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Réponses Gestion des réponses aux questions de forum
Lister les réponses de forum
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/forum/answers/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 35,
\"nbre_items\": 1,
\"start_date\": \"2026-05-07\",
\"end_date\": \"2026-05-07\",
\"filter_value\": \"bfpuwfobib\",
\"forum_category_id\": 17,
\"forum_question_id\": 4,
\"user_id\": 4
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/forum/answers/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 35,
"nbre_items": 1,
"start_date": "2026-05-07",
"end_date": "2026-05-07",
"filter_value": "bfpuwfobib",
"forum_category_id": 17,
"forum_question_id": 4,
"user_id": 4
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Ajouter une réponse à une question de forum
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/forum/answers" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"forum_question_id\": 4,
\"body\": \"qui\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/forum/answers"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"forum_question_id": 4,
"body": "qui"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Afficher les infos d'une réponse à une question de forum
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/forum/answers/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/forum/answers/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/forum/answers/1 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Modifier une réponse à une question de forum
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/forum/answers/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"forum_question_id\": 15,
\"body\": \"est\",
\"is_accepted\": false
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/forum/answers/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"forum_question_id": 15,
"body": "est",
"is_accepted": false
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Archiver plusieurs questions de forum
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/forum/answers/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
2
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/forum/answers/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
2
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Restaurer plusieurs réponses aux questions de forum
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/forum/answers/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
1
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/forum/answers/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
1
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Laboratoire
Gestion des demandes et résultats d'examens laboratoire
Lister les demandes d'examens
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/lab-requests/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 49,
\"nbre_items\": 8,
\"filter_value\": \"yjjepgnpwdhreqqnirspsj\",
\"patient_id\": 9,
\"doctor_id\": 12,
\"technician_id\": 4,
\"status\": \"requested\",
\"lab_exam_pack_id\": 9,
\"date_from\": \"2026-05-07\",
\"date_to\": \"2026-05-07\",
\"trashed\": false
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/lab-requests/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 49,
"nbre_items": 8,
"filter_value": "yjjepgnpwdhreqqnirspsj",
"patient_id": 9,
"doctor_id": 12,
"technician_id": 4,
"status": "requested",
"lab_exam_pack_id": 9,
"date_from": "2026-05-07",
"date_to": "2026-05-07",
"trashed": false
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Créer une demande d'examen labo
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/lab-requests" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"patient_id\": 10,
\"doctor_id\": 14,
\"medical_page_id\": 18,
\"lab_exam_catalog_id\": 11,
\"lab_exam_pack_id\": 16,
\"exam_name\": \"dnueefwplegzpwrgykvywqsjg\",
\"clinical_info\": \"ut\",
\"price\": 39,
\"requested_at\": \"2026-05-07T16:23:58\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/lab-requests"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"patient_id": 10,
"doctor_id": 14,
"medical_page_id": 18,
"lab_exam_catalog_id": 11,
"lab_exam_pack_id": 16,
"exam_name": "dnueefwplegzpwrgykvywqsjg",
"clinical_info": "ut",
"price": 39,
"requested_at": "2026-05-07T16:23:58"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Afficher une demande d'examen
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/lab-requests/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/lab-requests/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/lab-requests/1 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Mettre à jour le statut et les résultats d'un examen
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/lab-requests/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"status\": \"in\",
\"technician_id\": 15,
\"validator_id\": 12,
\"clinical_info\": \"est\",
\"sampled_at\": \"2026-05-07T16:23:58\",
\"result_at\": \"2026-05-07T16:23:58\",
\"validated_at\": \"2026-05-07T16:23:58\",
\"price\": 72,
\"results\": [
{
\"parameter_name\": \"magnam\",
\"value\": \"voluptatem\",
\"unit\": \"qui\",
\"reference_range\": \"odit\",
\"is_abnormal\": true,
\"notes\": \"voluptatem\"
}
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/lab-requests/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"status": "in",
"technician_id": 15,
"validator_id": 12,
"clinical_info": "est",
"sampled_at": "2026-05-07T16:23:58",
"result_at": "2026-05-07T16:23:58",
"validated_at": "2026-05-07T16:23:58",
"price": 72,
"results": [
{
"parameter_name": "magnam",
"value": "voluptatem",
"unit": "qui",
"reference_range": "odit",
"is_abnormal": true,
"notes": "voluptatem"
}
]
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Archiver des demandes labo
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/lab-requests/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
8
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/lab-requests/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
8
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Restaurer des demandes labo
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/lab-requests/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
18
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/lab-requests/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
18
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Médicaments
Gestion des médicaments
Lister les médicaments
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/medications/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 87,
\"nbre_items\": 10,
\"start_date\": \"2026-05-07\",
\"end_date\": \"2026-05-07\",
\"filter_value\": \"nsiaajekichn\",
\"name\": \"fokbkirfyzxvcdbrc\",
\"trashed\": true
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/medications/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 87,
"nbre_items": 10,
"start_date": "2026-05-07",
"end_date": "2026-05-07",
"filter_value": "nsiaajekichn",
"name": "fokbkirfyzxvcdbrc",
"trashed": true
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Ajout d'un médicament
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/medications" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"hbgrdcarykuqcc\",
\"description\": \"Ea tenetur cupiditate consequuntur eos saepe iusto.\",
\"photo\": \"perferendis\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/medications"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "hbgrdcarykuqcc",
"description": "Ea tenetur cupiditate consequuntur eos saepe iusto.",
"photo": "perferendis"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Afficher un médicament
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/medications/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/medications/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/medications/1 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Modifier un médicament
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/medications/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"yuib\",
\"description\": \"Est aliquam voluptatem animi facilis eius voluptatem fugiat eius.\",
\"photo\": \"est\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/medications/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "yuib",
"description": "Est aliquam voluptatem animi facilis eius voluptatem fugiat eius.",
"photo": "est"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Archiver plusieurs médicaments
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/medications/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
7
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/medications/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
7
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Restaurer plusieurs médicaments
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/medications/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
16
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/medications/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
16
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Notes de frais / Expense Reports
Gestion des notes de frais
Afficher les notes de frais
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/expense-reports/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"status\": \"paid\",
\"date\": \"2026-05-07\",
\"page_items\": 79,
\"nbre_items\": 6,
\"filter_value\": \"mhwagttinjwdqdfdimhw\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/expense-reports/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"status": "paid",
"date": "2026-05-07",
"page_items": 79,
"nbre_items": 6,
"filter_value": "mhwagttinjwdqdfdimhw"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Afficher une note de frais spécifique
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/expense-reports/a" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/expense-reports/a"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/expense-reports/a could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Créer une note de frais
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/expense-reports" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"libelle\": \"et\",
\"amount\": 46,
\"description\": \"Voluptas voluptatem velit esse eveniet rerum amet.\",
\"date\": \"2026-05-07\",
\"status\": \"paid\",
\"idUserApprove\": 4
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/expense-reports"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"libelle": "et",
"amount": 46,
"description": "Voluptas voluptatem velit esse eveniet rerum amet.",
"date": "2026-05-07",
"status": "paid",
"idUserApprove": 4
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Mettre à jour une note de frais
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/expense-reports/et" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"libelle\": \"ratione\",
\"amount\": 29,
\"description\": \"Omnis quos ea molestiae non voluptates.\",
\"date\": \"2026-05-07\",
\"status\": \"paid\",
\"idUserApprove\": 6
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/expense-reports/et"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"libelle": "ratione",
"amount": 29,
"description": "Omnis quos ea molestiae non voluptates.",
"date": "2026-05-07",
"status": "paid",
"idUserApprove": 6
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Archiver (soft delete) les notes de frais.
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/expense-reports/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
15
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/expense-reports/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
15
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Restaurer les notes de frais archivées.
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/expense-reports/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
9
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/expense-reports/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
9
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Supprimer définitivement les notes de frais spécifiées.
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/expense-reports/destroy" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
9
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/expense-reports/destroy"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
9
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Nourritures
Gestion des nourritures
Lister les nourritures
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/foods/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 8,
\"nbre_items\": 17,
\"filter_value\": \"qmvfbm\",
\"trashed\": true,
\"start_date\": \"2026-05-07\",
\"end_date\": \"2026-05-07\",
\"name\": \"onbdywmic\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/foods/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 8,
"nbre_items": 17,
"filter_value": "qmvfbm",
"trashed": true,
"start_date": "2026-05-07",
"end_date": "2026-05-07",
"name": "onbdywmic"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Ajouter une nourriture
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/foods" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"lzwjzhpqyccgmtrquaycdh\",
\"description\": \"Laboriosam dolores debitis impedit eos tempore.\",
\"potassium_mg\": \"wfmunvwj\",
\"sodium_mg\": \"nlwtaccqwpejrttrnjh\",
\"phosphorus_mg\": \"opouvwnfbbprkqqbmolhc\",
\"photo\": \"rhotzwmuvwcvfpfzguypdehx\",
\"food_alternatives\": [
{
\"alternative_id\": 9,
\"reason\": \"miwatoguxsalh\"
}
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/foods"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "lzwjzhpqyccgmtrquaycdh",
"description": "Laboriosam dolores debitis impedit eos tempore.",
"potassium_mg": "wfmunvwj",
"sodium_mg": "nlwtaccqwpejrttrnjh",
"phosphorus_mg": "opouvwnfbbprkqqbmolhc",
"photo": "rhotzwmuvwcvfpfzguypdehx",
"food_alternatives": [
{
"alternative_id": 9,
"reason": "miwatoguxsalh"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Afficher une nourriture
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/foods/6" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/foods/6"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/foods/6 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Modifier une nourriture
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/foods/12" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"m\",
\"description\": \"Rerum alias inventore recusandae sunt.\",
\"potassium_mg\": \"ykeofpux\",
\"sodium_mg\": \"ygncjtyqztenb\",
\"phosphorus_mg\": \"p\",
\"photo\": \"nho\",
\"food_alternatives\": [
{
\"alternative_id\": 8,
\"reason\": \"mshfz\"
}
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/foods/12"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "m",
"description": "Rerum alias inventore recusandae sunt.",
"potassium_mg": "ykeofpux",
"sodium_mg": "ygncjtyqztenb",
"phosphorus_mg": "p",
"photo": "nho",
"food_alternatives": [
{
"alternative_id": 8,
"reason": "mshfz"
}
]
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Archiver plusieurs nourritures
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/foods/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
20
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/foods/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
20
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Restaurer plusieurs nourritures
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/foods/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
14
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/foods/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
14
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Packs d'examens de laboratoire
Gestion des packs d'examens de laboratoire
POST api/lab-exam-packs/all
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/lab-exam-packs/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 85,
\"nbre_items\": 1,
\"filter_value\": \"kzhawrdqbgrmdnhxmpeqzm\",
\"is_active\": true,
\"trashed\": true
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/lab-exam-packs/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 85,
"nbre_items": 1,
"filter_value": "kzhawrdqbgrmdnhxmpeqzm",
"is_active": true,
"trashed": true
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/lab-exam-packs
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/lab-exam-packs" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"vii\",
\"description\": \"Aliquam ex odio qui quod nulla voluptatem illo ea.\",
\"price\": 88,
\"is_active\": true
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/lab-exam-packs"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "vii",
"description": "Aliquam ex odio qui quod nulla voluptatem illo ea.",
"price": 88,
"is_active": true
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/lab-exam-packs/{labExamPack_id}
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/lab-exam-packs/18" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/lab-exam-packs/18"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/lab-exam-packs/18 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/lab-exam-packs/{labExamPack_id}
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/lab-exam-packs/4" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"xsxjc\",
\"description\": \"Quia eum deleniti id quidem consequuntur ipsum.\",
\"price\": 69,
\"is_active\": false,
\"exam_ids\": [
8
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/lab-exam-packs/4"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "xsxjc",
"description": "Quia eum deleniti id quidem consequuntur ipsum.",
"price": 69,
"is_active": false,
"exam_ids": [
8
]
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/lab-exam-packs/{labExamPack_id}
requires authentication
Example request:
curl --request DELETE \
"https://vitacare.ms-hotel.net/api/lab-exam-packs/17" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/lab-exam-packs/17"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/lab-exam-packs/trash
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/lab-exam-packs/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
16
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/lab-exam-packs/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
16
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/lab-exam-packs/restore
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/lab-exam-packs/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
19
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/lab-exam-packs/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
19
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Page Médicale
Gestion de pages d'un carnet médical
Lister les pagse de carnets médicaux
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/medical-pages/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 87,
\"nbre_items\": 5,
\"filter_value\": \"tiamzyzcgydrakakdy\",
\"doctor_id\": 11,
\"medical_book_id\": 16,
\"department_id\": 8,
\"consultation_date\": \"2026-05-07\",
\"status\": \"completed\",
\"start_date\": \"2026-05-07T16:23:58\",
\"end_date\": \"2026-05-07T16:23:58\",
\"trashed\": false,
\"consultation_type\": \"follow_up\",
\"disease_history\": \"aut\",
\"current_treatments\": \"soluta\",
\"family_history\": \"inventore\",
\"blood_pressure\": \"ipsam\",
\"heart_rate\": 4,
\"respiratory_rate\": 15,
\"temperature_c\": 5.644305,
\"spo2\": 16,
\"blood_glucose\": 14.3612,
\"weight_kg\": 673026.35,
\"height_cm\": 5586562.722452287,
\"bmi\": 32699175.4,
\"pain_score\": 16,
\"general_condition\": \"good\",
\"general_condition_notes\": \"aut\",
\"physical_examination\": \"minus\",
\"hypothesis\": \"nobis\",
\"icd10_code\": \"et\",
\"severity\": \"moderate\",
\"discharge_decision\": \"referred\",
\"next_appointment\": \"2026-05-07\",
\"additional_notes\": \"est\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/medical-pages/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 87,
"nbre_items": 5,
"filter_value": "tiamzyzcgydrakakdy",
"doctor_id": 11,
"medical_book_id": 16,
"department_id": 8,
"consultation_date": "2026-05-07",
"status": "completed",
"start_date": "2026-05-07T16:23:58",
"end_date": "2026-05-07T16:23:58",
"trashed": false,
"consultation_type": "follow_up",
"disease_history": "aut",
"current_treatments": "soluta",
"family_history": "inventore",
"blood_pressure": "ipsam",
"heart_rate": 4,
"respiratory_rate": 15,
"temperature_c": 5.644305,
"spo2": 16,
"blood_glucose": 14.3612,
"weight_kg": 673026.35,
"height_cm": 5586562.722452287,
"bmi": 32699175.4,
"pain_score": 16,
"general_condition": "good",
"general_condition_notes": "aut",
"physical_examination": "minus",
"hypothesis": "nobis",
"icd10_code": "et",
"severity": "moderate",
"discharge_decision": "referred",
"next_appointment": "2026-05-07",
"additional_notes": "est"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Ajouter une page de carnet médical
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/medical-pages" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"medical_book_id\": 14,
\"department_id\": 3,
\"doctor_id\": 8,
\"consultation_date\": \"2026-05-07\",
\"reason_for_visit\": \"dolore\",
\"clinical_notes\": \"facilis\",
\"diagnosis\": \"aut\",
\"free_notes\": \"corporis\",
\"status\": \"in_progress\",
\"consultation_type\": \"emergency\",
\"disease_history\": \"neque\",
\"current_treatments\": \"enim\",
\"family_history\": \"et\",
\"blood_pressure\": \"sit\",
\"heart_rate\": 13,
\"respiratory_rate\": 10,
\"temperature_c\": 106255.3859543,
\"spo2\": 2,
\"blood_glucose\": 771669.6854,
\"weight_kg\": 2025.89348387,
\"height_cm\": 37146583.10469,
\"bmi\": 0.610641,
\"pain_score\": 4,
\"general_condition\": \"critical\",
\"general_condition_notes\": \"dolore\",
\"physical_examination\": \"omnis\",
\"hypothesis\": \"maxime\",
\"icd10_code\": \"totam\",
\"severity\": \"critical\",
\"discharge_decision\": \"home\",
\"next_appointment\": \"2026-05-07\",
\"additionnal_notes\": \"facere\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/medical-pages"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"medical_book_id": 14,
"department_id": 3,
"doctor_id": 8,
"consultation_date": "2026-05-07",
"reason_for_visit": "dolore",
"clinical_notes": "facilis",
"diagnosis": "aut",
"free_notes": "corporis",
"status": "in_progress",
"consultation_type": "emergency",
"disease_history": "neque",
"current_treatments": "enim",
"family_history": "et",
"blood_pressure": "sit",
"heart_rate": 13,
"respiratory_rate": 10,
"temperature_c": 106255.3859543,
"spo2": 2,
"blood_glucose": 771669.6854,
"weight_kg": 2025.89348387,
"height_cm": 37146583.10469,
"bmi": 0.610641,
"pain_score": 4,
"general_condition": "critical",
"general_condition_notes": "dolore",
"physical_examination": "omnis",
"hypothesis": "maxime",
"icd10_code": "totam",
"severity": "critical",
"discharge_decision": "home",
"next_appointment": "2026-05-07",
"additionnal_notes": "facere"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Afficher les infos d'une page de carnet médical
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/medical-pages/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/medical-pages/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/medical-pages/1 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Modifier une page de carnet médical
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/medical-pages/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"medical_book_id\": 18,
\"department_id\": 13,
\"doctor_id\": 2,
\"consultation_date\": \"2026-05-07\",
\"reason_for_visit\": \"soluta\",
\"clinical_notes\": \"velit\",
\"diagnosis\": \"nihil\",
\"free_notes\": \"voluptatem\",
\"recommendations\": \"assumenda\",
\"status\": \"completed\",
\"consultation_type\": \"emergency\",
\"disease_history\": \"perspiciatis\",
\"current_treatments\": \"magni\",
\"family_history\": \"voluptatum\",
\"blood_pressure\": \"tptoukkfxvhvtan\",
\"heart_rate\": 2,
\"respiratory_rate\": 15,
\"temperature_c\": 3175.07869,
\"spo2\": 9,
\"blood_glucose\": 169903688.290478,
\"weight_kg\": 203152.76105489,
\"height_cm\": 47097.415481,
\"bmi\": 102.176,
\"pain_score\": 20,
\"general_condition\": \"critical\",
\"general_condition_notes\": \"aut\",
\"physical_examination\": \"accusantium\",
\"hypothesis\": \"porro\",
\"icd10_code\": \"est\",
\"severity\": \"moderate\",
\"discharge_decision\": \"referred\",
\"next_appointment\": \"2026-05-07\",
\"additionnal_notes\": \"ex\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/medical-pages/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"medical_book_id": 18,
"department_id": 13,
"doctor_id": 2,
"consultation_date": "2026-05-07",
"reason_for_visit": "soluta",
"clinical_notes": "velit",
"diagnosis": "nihil",
"free_notes": "voluptatem",
"recommendations": "assumenda",
"status": "completed",
"consultation_type": "emergency",
"disease_history": "perspiciatis",
"current_treatments": "magni",
"family_history": "voluptatum",
"blood_pressure": "tptoukkfxvhvtan",
"heart_rate": 2,
"respiratory_rate": 15,
"temperature_c": 3175.07869,
"spo2": 9,
"blood_glucose": 169903688.290478,
"weight_kg": 203152.76105489,
"height_cm": 47097.415481,
"bmi": 102.176,
"pain_score": 20,
"general_condition": "critical",
"general_condition_notes": "aut",
"physical_examination": "accusantium",
"hypothesis": "porro",
"icd10_code": "est",
"severity": "moderate",
"discharge_decision": "referred",
"next_appointment": "2026-05-07",
"additionnal_notes": "ex"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Archiver plusieurs medical_pages
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/medical-pages/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
8
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/medical-pages/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
8
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Restaurer plusieurs medical_pages
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/medical-pages/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
8
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/medical-pages/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
8
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Permissions
Gestion des permissions
Afficher la liste des permissions
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/permissions/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 66,
\"nbre_items\": 2,
\"filter_value\": \"exercitationem\",
\"ressource\": \"sequi\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/permissions/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 66,
"nbre_items": 2,
"filter_value": "exercitationem",
"ressource": "sequi"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/permissions
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/permissions" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"permissions\": [
{
\"name\": \"voluptas\",
\"description\": \"Et temporibus earum quia omnis autem aperiam maiores.\",
\"ressource\": \"velit\",
\"code\": \"consequatur\"
}
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/permissions"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"permissions": [
{
"name": "voluptas",
"description": "Et temporibus earum quia omnis autem aperiam maiores.",
"ressource": "velit",
"code": "consequatur"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Afficher une permission spécifique
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/permissions/et" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/permissions/et"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/permissions/et could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Mettre a jour une permission spécifique
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/permissions/atque" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"laborum\",
\"permissions\": [
{
\"description\": \"Id dignissimos ut autem deleniti placeat officiis officiis.\",
\"ressource\": \"a\",
\"code\": \"placeat\"
}
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/permissions/atque"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "laborum",
"permissions": [
{
"description": "Id dignissimos ut autem deleniti placeat officiis officiis.",
"ressource": "a",
"code": "placeat"
}
]
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Pharmacie — Lots & Stock
POST api/medication-batches/all
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/medication-batches/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 27,
\"nbre_items\": 2,
\"filter_value\": \"tneqxqnlwc\",
\"start_date\": \"2026-05-07\",
\"end_date\": \"2026-05-07\",
\"medication_id\": 11,
\"expiry_alert\": false,
\"trashed\": false
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/medication-batches/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 27,
"nbre_items": 2,
"filter_value": "tneqxqnlwc",
"start_date": "2026-05-07",
"end_date": "2026-05-07",
"medication_id": 11,
"expiry_alert": false,
"trashed": false
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/medication-batches
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/medication-batches" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"medication_id\": 2,
\"batch_number\": \"s\",
\"expiry_date\": \"2026-05-07\",
\"quantity_in\": 18,
\"purchase_price\": 23,
\"supplier\": \"mvmio\",
\"received_date\": \"2026-05-07\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/medication-batches"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"medication_id": 2,
"batch_number": "s",
"expiry_date": "2026-05-07",
"quantity_in": 18,
"purchase_price": 23,
"supplier": "mvmio",
"received_date": "2026-05-07"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/medication-batches/{medication_batch}
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/medication-batches/18" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/medication-batches/18"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/medication-batches/18 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/medication-batches/{medication_batch}
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/medication-batches/13" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"batch_number\": \"loaexmbrizxmcdd\",
\"expiry_date\": \"2026-05-07\",
\"quantity_in\": 12,
\"purchase_price\": 68,
\"supplier\": \"c\",
\"received_date\": \"2026-05-07\",
\"expiry_alert\": false
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/medication-batches/13"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"batch_number": "loaexmbrizxmcdd",
"expiry_date": "2026-05-07",
"quantity_in": 12,
"purchase_price": 68,
"supplier": "c",
"received_date": "2026-05-07",
"expiry_alert": false
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/medication-batches/trash
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/medication-batches/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
13
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/medication-batches/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
13
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/medication-batches/restore
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/medication-batches/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
10
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/medication-batches/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
10
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Planification des soins
Gestion des plannings de soins infirmiers
Lister les plannings de soins
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/care-schedules/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 46,
\"nbre_items\": 3,
\"start_date\": \"2026-05-07\",
\"end_date\": \"2026-05-07\",
\"filter_value\": \"fsqpehxgqzefv\",
\"is_active\": false,
\"trashed\": true
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/care-schedules/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 46,
"nbre_items": 3,
"start_date": "2026-05-07",
"end_date": "2026-05-07",
"filter_value": "fsqpehxgqzefv",
"is_active": false,
"trashed": true
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Ajout d'un planning de soin
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/care-schedules" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"patient_id\": \"dolor\",
\"admission_id\": 18,
\"medical_page_id\": \"eos\",
\"nursing_act_catalog_id\": \"optio\",
\"act_name\": \"cahuqtjqljlv\",
\"dosage\": \"pkgsdo\",
\"scheduled_time\": \"16:23\",
\"frequency\": \"zpweeeqtyfztudckymzqobkp\",
\"start_date\": \"2026-05-07T16:23:58\",
\"end_date\": \"2118-12-28\",
\"is_active\": true,
\"notes\": \"sed\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/care-schedules"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"patient_id": "dolor",
"admission_id": 18,
"medical_page_id": "eos",
"nursing_act_catalog_id": "optio",
"act_name": "cahuqtjqljlv",
"dosage": "pkgsdo",
"scheduled_time": "16:23",
"frequency": "zpweeeqtyfztudckymzqobkp",
"start_date": "2026-05-07T16:23:58",
"end_date": "2118-12-28",
"is_active": true,
"notes": "sed"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Afficher un planning de soin
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/care-schedules/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/care-schedules/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/care-schedules/1 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Modifier un planning de soin
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/care-schedules/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"admission_id\": 17,
\"act_name\": \"mzaqozut\",
\"dosage\": \"hasvjzhdesp\",
\"scheduled_time\": \"16:23\",
\"frequency\": \"bsdiftqicpcqowxobdff\",
\"start_date\": \"2026-05-07T16:23:58\",
\"end_date\": \"2104-01-06\",
\"is_active\": false,
\"notes\": \"sit\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/care-schedules/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"admission_id": 17,
"act_name": "mzaqozut",
"dosage": "hasvjzhdesp",
"scheduled_time": "16:23",
"frequency": "bsdiftqicpcqowxobdff",
"start_date": "2026-05-07T16:23:58",
"end_date": "2104-01-06",
"is_active": false,
"notes": "sit"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Archiver plusieurs plannings de soins
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/care-schedules/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
19
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/care-schedules/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
19
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Restaurer plusieurs plannings de soins
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/care-schedules/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
1
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/care-schedules/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
1
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Prescriptions
Gestion des prescriptions
Lister les prescriptions
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/prescriptions/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 41,
\"nbre_items\": 19,
\"filter_value\": \"hr\",
\"patient_id\": 12,
\"medical_page_id\": 3,
\"status\": \"cancelled\",
\"start_date\": \"2026-05-07T16:23:58\",
\"end_date\": \"2026-05-07T16:23:58\",
\"trashed\": false
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/prescriptions/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 41,
"nbre_items": 19,
"filter_value": "hr",
"patient_id": 12,
"medical_page_id": 3,
"status": "cancelled",
"start_date": "2026-05-07T16:23:58",
"end_date": "2026-05-07T16:23:58",
"trashed": false
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Ajouter une prescription
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/prescriptions" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"patient_id\": 8,
\"medical_page_id\": 3,
\"start_date\": \"2026-05-07\",
\"end_date\": \"2103-08-22\",
\"frequency\": \"corrupti\",
\"dosage\": \"corrupti\",
\"description\": \"Harum qui possimus eaque est et.\",
\"status\": \"pending\",
\"medications\": [
{
\"medication_id\": 3,
\"dosage\": 4,
\"frequency\": \"animi\",
\"description\": \"Voluptatem quod excepturi tempore quod nostrum.\"
}
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/prescriptions"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"patient_id": 8,
"medical_page_id": 3,
"start_date": "2026-05-07",
"end_date": "2103-08-22",
"frequency": "corrupti",
"dosage": "corrupti",
"description": "Harum qui possimus eaque est et.",
"status": "pending",
"medications": [
{
"medication_id": 3,
"dosage": 4,
"frequency": "animi",
"description": "Voluptatem quod excepturi tempore quod nostrum."
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Afficher les infos d'une prescription
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/prescriptions/3" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/prescriptions/3"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/prescriptions/3 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Modifier une prescription
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/prescriptions/3" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"patient_id\": 18,
\"medical_page_id\": 6,
\"start_date\": \"2026-05-07\",
\"end_date\": \"2059-09-03\",
\"frequency\": \"minus\",
\"dosage\": \"expedita\",
\"description\": \"Et voluptatem provident beatae quis voluptatem qui incidunt.\",
\"status\": \"cancelled\",
\"medications\": [
{
\"medication_id\": 3,
\"dosage\": 36,
\"frequency\": \"in\",
\"description\": \"Et laborum error recusandae voluptatem voluptatem voluptatibus quo ut.\"
}
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/prescriptions/3"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"patient_id": 18,
"medical_page_id": 6,
"start_date": "2026-05-07",
"end_date": "2059-09-03",
"frequency": "minus",
"dosage": "expedita",
"description": "Et voluptatem provident beatae quis voluptatem qui incidunt.",
"status": "cancelled",
"medications": [
{
"medication_id": 3,
"dosage": 36,
"frequency": "in",
"description": "Et laborum error recusandae voluptatem voluptatem voluptatibus quo ut."
}
]
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Archiver plusieurs prescriptions
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/prescriptions/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
18
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/prescriptions/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
18
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Restaurer plusieurs prescriptions
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/prescriptions/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
6
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/prescriptions/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
6
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Prises de Médicaments
Gestion des prises de médicaments
Lister les prises de médicaments
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/medications-intakes/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 63,
\"nbre_items\": 8,
\"filter_value\": \"lds\",
\"trashed\": false,
\"prescription_id\": 3,
\"medication_id\": 11,
\"start_date\": \"2026-05-07\",
\"end_date\": \"2106-12-28\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/medications-intakes/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 63,
"nbre_items": 8,
"filter_value": "lds",
"trashed": false,
"prescription_id": 3,
"medication_id": 11,
"start_date": "2026-05-07",
"end_date": "2106-12-28"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Ajouter une prise de médicament
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/medications-intakes" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"prescription_id\": 15,
\"medication_id\": 19,
\"is_taken\": false,
\"date_time\": \"2026-05-07 16:23\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/medications-intakes"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"prescription_id": 15,
"medication_id": 19,
"is_taken": false,
"date_time": "2026-05-07 16:23"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Afficher une prise de médicament
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/medications-intakes/19" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/medications-intakes/19"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/medications-intakes/19 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Modifier une prise de médicament
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/medications-intakes/14" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"prescription_id\": 5,
\"medication_id\": 9,
\"is_taken\": false,
\"date_time\": \"2026-05-07 16:23\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/medications-intakes/14"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"prescription_id": 5,
"medication_id": 9,
"is_taken": false,
"date_time": "2026-05-07 16:23"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Archiver plusieurs prises de médicaments
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/medications-intakes/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
7
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/medications-intakes/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
7
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Restaurer plusieurs prises de médicaments
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/medications-intakes/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
11
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/medications-intakes/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
11
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Recettes
Gestion des recettes
Lister les recettes
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/recipes/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 8,
\"nbre_items\": 12,
\"start_date\": \"2026-05-07\",
\"end_date\": \"2026-05-07\",
\"filter_value\": \"jnjwrcw\",
\"is_low_potassium\": true,
\"is_low_sodium\": false
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/recipes/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 8,
"nbre_items": 12,
"start_date": "2026-05-07",
"end_date": "2026-05-07",
"filter_value": "jnjwrcw",
"is_low_potassium": true,
"is_low_sodium": false
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Ajouter une recette
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/recipes" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"optio\",
\"description\": \"Ab excepturi temporibus qui qui iste suscipit odio.\",
\"instructions\": \"quo\",
\"preparation_time\": 7,
\"servings\": 11,
\"is_low_potassium\": false,
\"is_low_sodium\": false,
\"calories\": 19,
\"sodium_mg\": 19,
\"potassium_mg\": 16,
\"photo\": \"sed\",
\"foods\": [
{
\"food_id\": 13,
\"quantity\": \"facere\",
\"description\": \"Non animi voluptatem voluptas recusandae impedit harum.\"
}
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/recipes"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "optio",
"description": "Ab excepturi temporibus qui qui iste suscipit odio.",
"instructions": "quo",
"preparation_time": 7,
"servings": 11,
"is_low_potassium": false,
"is_low_sodium": false,
"calories": 19,
"sodium_mg": 19,
"potassium_mg": 16,
"photo": "sed",
"foods": [
{
"food_id": 13,
"quantity": "facere",
"description": "Non animi voluptatem voluptas recusandae impedit harum."
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Afficher les infos d'une recette
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/recipes/3" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/recipes/3"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/recipes/3 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Modifier une recette
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/recipes/17" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"possimus\",
\"description\": \"Repudiandae voluptatem beatae odit.\",
\"instructions\": \"repellendus\",
\"preparation_time\": \"corporis\",
\"servings\": \"ut\",
\"is_low_potassium\": false,
\"is_low_sodium\": true,
\"calories\": \"quo\",
\"sodium_mg\": \"vero\",
\"potassium_mg\": \"dolorum\",
\"photo\": \"voluptatum\",
\"foods\": [
{
\"food_id\": 17,
\"quantity\": \"aut\",
\"description\": \"Autem ea et id blanditiis itaque sint ducimus quis.\"
}
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/recipes/17"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "possimus",
"description": "Repudiandae voluptatem beatae odit.",
"instructions": "repellendus",
"preparation_time": "corporis",
"servings": "ut",
"is_low_potassium": false,
"is_low_sodium": true,
"calories": "quo",
"sodium_mg": "vero",
"potassium_mg": "dolorum",
"photo": "voluptatum",
"foods": [
{
"food_id": 17,
"quantity": "aut",
"description": "Autem ea et id blanditiis itaque sint ducimus quis."
}
]
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Archiver plusieurs recettes
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/recipes/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
2
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/recipes/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
2
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Restaurer plusieurs recettes
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/recipes/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
15
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/recipes/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
15
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Retenue sur salaire / Salary deduction
Gestion des retenus sur salaire
Afficher la liste filtrée des retenues sur salaire
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/salary-deductions/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_id\": 11,
\"user_approve_id\": 1,
\"date\": \"2026-05-07\",
\"status\": \"in_progress\",
\"page_items\": 6,
\"trashed\": false,
\"nbre_items\": 2,
\"filter_value\": \"ivplh\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/salary-deductions/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_id": 11,
"user_approve_id": 1,
"date": "2026-05-07",
"status": "in_progress",
"page_items": 6,
"trashed": false,
"nbre_items": 2,
"filter_value": "ivplh"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Show the form for creating a new resource.
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/salary-deductions" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"salary_deductions\": [
{
\"user_id\": 9,
\"user_approve_id\": 16,
\"reason\": \"ipsum\",
\"amount\": 72,
\"date\": \"2026-05-07\",
\"status\": \"rejected\"
}
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/salary-deductions"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"salary_deductions": [
{
"user_id": 9,
"user_approve_id": 16,
"reason": "ipsum",
"amount": 72,
"date": "2026-05-07",
"status": "rejected"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Afficher une retenue sur salaire spécifique
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/salary-deductions/4" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/salary-deductions/4"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/salary-deductions/4 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Mettre à jour une retenue sur salaire spécifique
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/salary-deductions/16" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_id\": 12,
\"user_approve_id\": 5,
\"reason\": \"ipsa\",
\"amount\": 57,
\"date\": \"2026-05-07\",
\"status\": \"pending_approval\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/salary-deductions/16"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_id": 12,
"user_approve_id": 5,
"reason": "ipsa",
"amount": 57,
"date": "2026-05-07",
"status": "pending_approval"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Archiver (soft delete) les retenues sur salaire spécifiées.
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/salary-deductions/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
7
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/salary-deductions/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
7
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Restaurer les feedbacks archivés.
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/salary-deductions/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
13
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/salary-deductions/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
13
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Rôles
Gestion des rôles
Lister les roles
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/roles/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 37,
\"nbre_items\": 4,
\"filter_value\": \"sed\",
\"types\": [
\"non\"
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/roles/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 37,
"nbre_items": 4,
"filter_value": "sed",
"types": [
"non"
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Ajouter une liste de role
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/roles" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"voluptatem\",
\"permissions\": [
2
],
\"description\": \"Ullam eum et qui eveniet autem qui eaque.\",
\"type\": \"consequatur\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/roles"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "voluptatem",
"permissions": [
2
],
"description": "Ullam eum et qui eveniet autem qui eaque.",
"type": "consequatur"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Afficher un role spécifique
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/roles/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/roles/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/roles/1 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Modifier ou un role spécifique
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/roles/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"vel\",
\"permissions\": [
8
],
\"description\": \"Nostrum error dolorem soluta molestiae laborum a.\",
\"type\": \"voluptatem\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/roles/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "vel",
"permissions": [
8
],
"description": "Nostrum error dolorem soluta molestiae laborum a.",
"type": "voluptatem"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Sanctions
Gestion des sanctions utilisateurs
List sanctions
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/sanctions/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 9,
\"nbre_items\": 1,
\"filter_value\": \"voluptatum\",
\"trashed\": false,
\"user_id\": 2,
\"type\": \"necessitatibus\",
\"created_by\": 16
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/sanctions/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 9,
"nbre_items": 1,
"filter_value": "voluptatum",
"trashed": false,
"user_id": 2,
"type": "necessitatibus",
"created_by": 16
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Show sanction
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/sanctions/13" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/sanctions/13"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/sanctions/13 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Create sanctions
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/sanctions" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"sanctions\": [
{
\"user_id\": 4,
\"type\": \"est\",
\"reasons\": \"sed\",
\"description\": \"Aspernatur quis itaque aliquam tempore voluptatem qui occaecati non.\"
}
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/sanctions"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"sanctions": [
{
"user_id": 4,
"type": "est",
"reasons": "sed",
"description": "Aspernatur quis itaque aliquam tempore voluptatem qui occaecati non."
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update sanction
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/sanctions/18" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_id\": 13,
\"type\": \"repudiandae\",
\"reasons\": \"sed\",
\"description\": \"Est tenetur rem perspiciatis qui qui beatae nihil.\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/sanctions/18"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_id": 13,
"type": "repudiandae",
"reasons": "sed",
"description": "Est tenetur rem perspiciatis qui qui beatae nihil."
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Trash
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/sanctions/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
19
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/sanctions/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
19
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Restore
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/sanctions/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
10
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/sanctions/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
10
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Destroy permanently
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/sanctions/destroy" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
6
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/sanctions/destroy"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
6
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Soins Infirmiers
Gestion des actes infirmiers MS-Care
POST api/nursing-acts/all
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/nursing-acts/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 61,
\"nbre_items\": 15,
\"filter_value\": \"ebjnsfupfwdwzjsqcb\",
\"patient_id\": 10,
\"nurse_id\": 4,
\"medical_page_id\": 1,
\"act_type\": \"ut\",
\"external_prescription_ref\": \"facilis\",
\"nursing_act_origin\": \"dolor\",
\"date_from\": \"2026-05-07\",
\"date_to\": \"2026-05-07\",
\"trashed\": true
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/nursing-acts/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 61,
"nbre_items": 15,
"filter_value": "ebjnsfupfwdwzjsqcb",
"patient_id": 10,
"nurse_id": 4,
"medical_page_id": 1,
"act_type": "ut",
"external_prescription_ref": "facilis",
"nursing_act_origin": "dolor",
"date_from": "2026-05-07",
"date_to": "2026-05-07",
"trashed": true
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/nursing-acts
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/nursing-acts" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"patient_id\": 5,
\"nurse_id\": 6,
\"medical_page_id\": 15,
\"nursing_act_catalog_id\": 14,
\"patient_check_up_id\": 16,
\"act_name\": \"bekdyxqdyxcuhshdpsflkschb\",
\"act_type\": \"magni\",
\"reason\": \"voluptas\",
\"acts_performed\": \"repudiandae\",
\"patient_evolution\": \"et\",
\"observations\": \"molestias\",
\"incidents\": \"voluptatem\",
\"external_prescription_ref\": \"laborum\",
\"nursing_act_origin\": \"consequuntur\",
\"price\": 46,
\"date\": \"2026-05-07T16:23:58\",
\"hour\": \"16:23\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/nursing-acts"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"patient_id": 5,
"nurse_id": 6,
"medical_page_id": 15,
"nursing_act_catalog_id": 14,
"patient_check_up_id": 16,
"act_name": "bekdyxqdyxcuhshdpsflkschb",
"act_type": "magni",
"reason": "voluptas",
"acts_performed": "repudiandae",
"patient_evolution": "et",
"observations": "molestias",
"incidents": "voluptatem",
"external_prescription_ref": "laborum",
"nursing_act_origin": "consequuntur",
"price": 46,
"date": "2026-05-07T16:23:58",
"hour": "16:23"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/nursing-acts/{nursing_act}
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/nursing-acts/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/nursing-acts/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/nursing-acts/1 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PUT api/nursing-acts/{nursing_act}
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/nursing-acts/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"patient_id\": 19,
\"nurse_id\": 3,
\"medical_page_id\": 19,
\"nursing_act_catalog_id\": 10,
\"patient_check_up_id\": 18,
\"act_name\": \"hklyldseegsdzudeqviuprhie\",
\"act_type\": \"in\",
\"reason\": \"molestias\",
\"acts_performed\": \"earum\",
\"patient_evolution\": \"ut\",
\"observations\": \"impedit\",
\"incidents\": \"at\",
\"external_prescription_ref\": \"numquam\",
\"nursing_act_origin\": \"quas\",
\"price\": 78,
\"date\": \"2026-05-07T16:23:58\",
\"hour\": \"16:23\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/nursing-acts/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"patient_id": 19,
"nurse_id": 3,
"medical_page_id": 19,
"nursing_act_catalog_id": 10,
"patient_check_up_id": 18,
"act_name": "hklyldseegsdzudeqviuprhie",
"act_type": "in",
"reason": "molestias",
"acts_performed": "earum",
"patient_evolution": "ut",
"observations": "impedit",
"incidents": "at",
"external_prescription_ref": "numquam",
"nursing_act_origin": "quas",
"price": 78,
"date": "2026-05-07T16:23:58",
"hour": "16:23"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/nursing-acts/trash
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/nursing-acts/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
19
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/nursing-acts/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
19
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/nursing-acts/restore
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/nursing-acts/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
13
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/nursing-acts/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
13
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Séances de dialyse
Gestion des séances de dialyse
Lister les séances de dialyse
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/dialysis-sessions/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"page_items\": 76,
\"nbre_items\": 15,
\"filter_value\": \"rhsawippvoxvmgnwz\",
\"trashed\": false,
\"patient_id\": 10,
\"doctor_id\": 6,
\"start_date\": \"2026-05-07\",
\"end_date\": \"2080-07-25\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/dialysis-sessions/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"page_items": 76,
"nbre_items": 15,
"filter_value": "rhsawippvoxvmgnwz",
"trashed": false,
"patient_id": 10,
"doctor_id": 6,
"start_date": "2026-05-07",
"end_date": "2080-07-25"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Ajouter une séance de dialyse
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/dialysis-sessions" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"patient_id\": 3,
\"doctor_id\": 2,
\"session_start\": \"repellendus\",
\"session_end\": \"eligendi\",
\"weight_before\": \"enim\",
\"weight_after\": \"et\",
\"fluid_removed\": \"molestiae\",
\"blood_pressure_post\": \"eum\",
\"side_effects\": \"voluptas\",
\"description\": \"Repellat est voluptatem assumenda aliquid.\",
\"observation\": \"similique\",
\"status\": \"pending\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/dialysis-sessions"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"patient_id": 3,
"doctor_id": 2,
"session_start": "repellendus",
"session_end": "eligendi",
"weight_before": "enim",
"weight_after": "et",
"fluid_removed": "molestiae",
"blood_pressure_post": "eum",
"side_effects": "voluptas",
"description": "Repellat est voluptatem assumenda aliquid.",
"observation": "similique",
"status": "pending"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Afficher une séance de dialyse
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/dialysis-sessions/9" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/dialysis-sessions/9"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/dialysis-sessions/9 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Modifier une séance de dialyse
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/dialysis-sessions/20" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"patient_id\": 17,
\"doctor_id\": 6,
\"session_start\": \"eaque\",
\"session_end\": \"modi\",
\"blood_pressure_post\": \"velit\",
\"side_effects\": \"rem\",
\"status\": \"cancelled\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/dialysis-sessions/20"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"patient_id": 17,
"doctor_id": 6,
"session_start": "eaque",
"session_end": "modi",
"blood_pressure_post": "velit",
"side_effects": "rem",
"status": "cancelled"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Archiver plusieurs séances de dialyse
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/dialysis-sessions/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
10
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/dialysis-sessions/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
10
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Restaurer plusieurs séances de dialyse
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/dialysis-sessions/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"ids\": [
10
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/dialysis-sessions/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"ids": [
10
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Upload de fichier
Gestion des uploads de fichiers
Upload d'un fichier
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/upload-photo" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"photo\": \"thjpqdmb\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/upload-photo"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"photo": "thjpqdmb"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Utilisateurs
Gestion des utilisateurs
Fonction qui permet de recuperer la liste des utilisateurs
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/users/all" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"role_id\": 5,
\"page_items\": 28,
\"nbre_items\": 13,
\"filter_value\": \"aut\",
\"in_order_name\": false,
\"start_date\": \"2026-05-07\",
\"end_date\": \"2026-05-07\",
\"health_center_id\": 5,
\"department_id\": 12,
\"coverage_type\": \"partial\",
\"marital_status\": \"single\",
\"is_patient\": true,
\"insurance_name\": \"doloribus\",
\"company_name\": \"sit\",
\"role_types\": [
\"odio\"
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/users/all"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"role_id": 5,
"page_items": 28,
"nbre_items": 13,
"filter_value": "aut",
"in_order_name": false,
"start_date": "2026-05-07",
"end_date": "2026-05-07",
"health_center_id": 5,
"department_id": 12,
"coverage_type": "partial",
"marital_status": "single",
"is_patient": true,
"insurance_name": "doloribus",
"company_name": "sit",
"role_types": [
"odio"
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fonction qui permet d'ajouter un utilisateur sans passer par la verification
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/users" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"username\": \"gcdqlmpdbbak\",
\"firstname\": \"ljzsin\",
\"lastname\": \"jcgggduzsujskgl\",
\"gender\": \"female\",
\"birthday\": \"2026-05-07T16:23:58\",
\"birth_place\": \"ojssetdy\",
\"marital_status\": \"single\",
\"nationality\": \"woxexreslkvaij\",
\"nui\": \"ymyhrfzxazklud\",
\"niss\": \"yzrwxjinipvsasbckmdfllse\",
\"email\": \"qgutkowski@example.com\",
\"phone\": \"g\",
\"phone2\": \"kzlzpykhr\",
\"city\": \"byk\",
\"address\": \"pgepmtlsvayal\",
\"country\": \"mlthgjdqjbpfwaqitxawlsq\",
\"password\": \"DAHFF<Nvr\",
\"photo\": \"perspiciatis\",
\"specialty\": \"deu\",
\"license_number\": \"itzpqbkgqggl\",
\"years_of_experience\": 41,
\"work_schedule\": \"ybclooioad\",
\"role_id\": 3,
\"health_center_id\": 9,
\"department_id\": 7,
\"mutuality_number\": \"ry\",
\"coverage_type\": \"obligatory\",
\"guardian_name\": \"fgcptfzdrkyu\",
\"guardian_contact\": \"rqbxnmstvrz\",
\"guardian_relation\": \"vkhkximufjjj\",
\"insurance_name\": \"olndbqbyggahsfkdumac\",
\"insurance_number\": \"pljckhoarbzfi\",
\"company_name\": \"pucuiquujnyhcjpu\",
\"is_patient\": true,
\"reference\": \"wdomyzxuhxkcyratslotw\",
\"cni\": \"dvpxpojlnbdzwohsbqtyeo\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/users"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"username": "gcdqlmpdbbak",
"firstname": "ljzsin",
"lastname": "jcgggduzsujskgl",
"gender": "female",
"birthday": "2026-05-07T16:23:58",
"birth_place": "ojssetdy",
"marital_status": "single",
"nationality": "woxexreslkvaij",
"nui": "ymyhrfzxazklud",
"niss": "yzrwxjinipvsasbckmdfllse",
"email": "qgutkowski@example.com",
"phone": "g",
"phone2": "kzlzpykhr",
"city": "byk",
"address": "pgepmtlsvayal",
"country": "mlthgjdqjbpfwaqitxawlsq",
"password": "DAHFF<Nvr",
"photo": "perspiciatis",
"specialty": "deu",
"license_number": "itzpqbkgqggl",
"years_of_experience": 41,
"work_schedule": "ybclooioad",
"role_id": 3,
"health_center_id": 9,
"department_id": 7,
"mutuality_number": "ry",
"coverage_type": "obligatory",
"guardian_name": "fgcptfzdrkyu",
"guardian_contact": "rqbxnmstvrz",
"guardian_relation": "vkhkximufjjj",
"insurance_name": "olndbqbyggahsfkdumac",
"insurance_number": "pljckhoarbzfi",
"company_name": "pucuiquujnyhcjpu",
"is_patient": true,
"reference": "wdomyzxuhxkcyratslotw",
"cni": "dvpxpojlnbdzwohsbqtyeo"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Cette route permet d'afficher les informations d'un utilisateur
requires authentication
Example request:
curl --request GET \
--get "https://vitacare.ms-hotel.net/api/users/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://vitacare.ms-hotel.net/api/users/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "The route api/users/1 could not be found."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Changer un mot de passe
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/users/update-password/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"password\": \"HXXEk6\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/users/update-password/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"password": "HXXEk6"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fonction permettant de mettre à jour les informations d'un utilisateur
requires authentication
Example request:
curl --request PUT \
"https://vitacare.ms-hotel.net/api/users/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"firstname\": \"drdsnkgeekhymrovuxyobit\",
\"lastname\": \"inyghnyucocgfwcwqprdt\",
\"gender\": \"male\",
\"birthday\": \"2026-05-07T16:23:58\",
\"birth_place\": \"rkufjjxlscbgxgrftlizatz\",
\"marital_status\": \"widowed\",
\"nationality\": \"unskptjtdltwqiqh\",
\"nui\": \"fwhgkcmpjkhyp\",
\"niss\": \"ftogojfkolgkx\",
\"connexion_type\": \"phone\",
\"email\": \"rhiannon02@example.org\",
\"phone\": \"xyyanegbtdlwesmcpe\",
\"phone2\": \"hcaxdzpiigbx\",
\"city\": \"wl\",
\"address\": \"hknfznpm\",
\"country\": \"kjhonvoqeait\",
\"password\": \"Xc&>XH=QUzCTk6-\",
\"photo\": \"ut\",
\"specialty\": \"vetbbhhqlavggshuj\",
\"license_number\": \"etskimjgrqzavsjxkwxcvik\",
\"years_of_experience\": 6,
\"work_schedule\": \"ujtcbcgwgexeibifncfdnxkq\",
\"role_id\": 12,
\"health_center_id\": 8,
\"department_id\": 1,
\"mutuality_number\": \"nitjwegsjxsed\",
\"coverage_type\": \"partial\",
\"guardian_name\": \"ezgseqhgppqvg\",
\"guardian_contact\": \"qhfi\",
\"guardian_relation\": \"dbggalmjafgjxlj\",
\"insurance_name\": \"mcmpwtzjsilkbiyksctwujyo\",
\"insurance_number\": \"apuepxp\",
\"company_name\": \"bmelkjsyqkaxwqcixqszfqqr\",
\"is_patient\": true,
\"reference\": \"s\"
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/users/1"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"firstname": "drdsnkgeekhymrovuxyobit",
"lastname": "inyghnyucocgfwcwqprdt",
"gender": "male",
"birthday": "2026-05-07T16:23:58",
"birth_place": "rkufjjxlscbgxgrftlizatz",
"marital_status": "widowed",
"nationality": "unskptjtdltwqiqh",
"nui": "fwhgkcmpjkhyp",
"niss": "ftogojfkolgkx",
"connexion_type": "phone",
"email": "rhiannon02@example.org",
"phone": "xyyanegbtdlwesmcpe",
"phone2": "hcaxdzpiigbx",
"city": "wl",
"address": "hknfznpm",
"country": "kjhonvoqeait",
"password": "Xc&>XH=QUzCTk6-",
"photo": "ut",
"specialty": "vetbbhhqlavggshuj",
"license_number": "etskimjgrqzavsjxkwxcvik",
"years_of_experience": 6,
"work_schedule": "ujtcbcgwgexeibifncfdnxkq",
"role_id": 12,
"health_center_id": 8,
"department_id": 1,
"mutuality_number": "nitjwegsjxsed",
"coverage_type": "partial",
"guardian_name": "ezgseqhgppqvg",
"guardian_contact": "qhfi",
"guardian_relation": "dbggalmjafgjxlj",
"insurance_name": "mcmpwtzjsilkbiyksctwujyo",
"insurance_number": "apuepxp",
"company_name": "bmelkjsyqkaxwqcixqszfqqr",
"is_patient": true,
"reference": "s"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fonction pour le multiple archivage des utilisateurs
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/users/trash" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_ids\": [
8
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/users/trash"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_ids": [
8
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fonction de restauration multiples d'utilisateurs
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/users/restore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_ids\": [
20
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/users/restore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_ids": [
20
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Fonction de suppression définitive multiple d'utilisateurs
requires authentication
Example request:
curl --request POST \
"https://vitacare.ms-hotel.net/api/users/destroy" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_ids\": [
5
]
}"
const url = new URL(
"https://vitacare.ms-hotel.net/api/users/destroy"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_ids": [
5
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.