curl https://api.medagenda.com/consultations/550e8400-e29b-41d4-a716-446655440000
{
"consultationId": "550e8400-e29b-41d4-a716-446655440000",
"dateTime": "2024-03-15T14:30:00",
"duracaoMinutos": 60,
"patient": {
"cpf": "12345678901",
"name": "João Silva",
"email": "[email protected]",
"dateOfBirth": "1985-06-15",
"address": "Rua das Flores, 123, São Paulo, SP",
"medicalHistory": "Hypertension, controlled with medication"
},
"doctor": {
"crm": "123456SP",
"name": "Dr. Maria Santos",
"email": "[email protected]",
"specialty": "Cardiologia",
"telephone": "+5511987654321",
"consultationValue": 350.00
},
"isUrgent": false,
"observation": "Patient reports mild headaches for the past week"
}
Retrieve a specific consultation by its UUID
curl https://api.medagenda.com/consultations/550e8400-e29b-41d4-a716-446655440000
{
"consultationId": "550e8400-e29b-41d4-a716-446655440000",
"dateTime": "2024-03-15T14:30:00",
"duracaoMinutos": 60,
"patient": {
"cpf": "12345678901",
"name": "João Silva",
"email": "[email protected]",
"dateOfBirth": "1985-06-15",
"address": "Rua das Flores, 123, São Paulo, SP",
"medicalHistory": "Hypertension, controlled with medication"
},
"doctor": {
"crm": "123456SP",
"name": "Dr. Maria Santos",
"email": "[email protected]",
"specialty": "Cardiologia",
"telephone": "+5511987654321",
"consultationValue": 350.00
},
"isUrgent": false,
"observation": "Patient reports mild headaches for the past week"
}
curl https://api.medagenda.com/consultations/550e8400-e29b-41d4-a716-446655440000
{
"consultationId": "550e8400-e29b-41d4-a716-446655440000",
"dateTime": "2024-03-15T14:30:00",
"duracaoMinutos": 60,
"patient": {
"cpf": "12345678901",
"name": "João Silva",
"email": "[email protected]",
"dateOfBirth": "1985-06-15",
"address": "Rua das Flores, 123, São Paulo, SP",
"medicalHistory": "Hypertension, controlled with medication"
},
"doctor": {
"crm": "123456SP",
"name": "Dr. Maria Santos",
"email": "[email protected]",
"specialty": "Cardiologia",
"telephone": "+5511987654321",
"consultationValue": 350.00
},
"isUrgent": false,
"observation": "Patient reports mild headaches for the past week"
}