cURL
curl --request GET \ --url https://api.example.com/professionals \ --header 'Authorization: <authorization>'
{ "200": {}, "401": {}, "404": {}, "500": {}, "professionals": [ { "id": 123, "name": "<string>", "surname": "<string>", "dni": 123, "birthdate": "<string>", "gender": "<string>", "address": "<string>", "phone": "<string>", "email": "<string>", "specialityID": 123, "state": "<string>", "Especialidade": { "name": "<string>" }, "HorarioTrabajos": [ { "dayOfWeek": "<string>", "startTime": "<string>", "endTime": "<string>" } ] } ], "countActives": 123 }
Activo/a
Inactivo/a
Licencia
Show properties
curl -X GET "https://api.clinicavitalis.com/professionals?specialityID=1&state=Activo/a" \ -H "Authorization: Bearer YOUR_JWT_TOKEN"
{ "professionals": [ { "id": 1, "name": "Juan", "surname": "Pérez", "dni": 12345678, "birthdate": "1985-03-15T00:00:00.000Z", "gender": "Masculino", "address": "Av. Corrientes 1234, Buenos Aires", "phone": "+54 11 1234-5678", "email": "[email protected]", "specialityID": 1, "state": "Activo/a", "Especialidade": { "name": "Cardiología" }, "HorarioTrabajos": [ { "dayOfWeek": "Lunes", "startTime": "09:00", "endTime": "17:00" }, { "dayOfWeek": "Miércoles", "startTime": "09:00", "endTime": "17:00" } ] } ], "countActives": 25 }