curl --request PUT \
--url https://api.example.com/doctor/{crm} \
--header 'Content-Type: application/json' \
--data '
{
"crm": "<string>",
"email": "<string>",
"password": "<string>",
"name": "<string>",
"specialty": "<string>",
"telephone": "<string>",
"consultationValue": 123
}
'{
"crm": "<string>",
"email": "<string>",
"password": "<string>",
"name": "<string>",
"specialty": "<string>",
"telephone": "<string>",
"consultationValue": 123,
"404 Not Found": {},
"400 Bad Request": {},
"409 Conflict": {}
}curl --request PUT \
--url https://api.example.com/doctor/{crm} \
--header 'Content-Type: application/json' \
--data '
{
"crm": "<string>",
"email": "<string>",
"password": "<string>",
"name": "<string>",
"specialty": "<string>",
"telephone": "<string>",
"consultationValue": 123
}
'{
"crm": "<string>",
"email": "<string>",
"password": "<string>",
"name": "<string>",
"specialty": "<string>",
"telephone": "<string>",
"consultationValue": 123,
"404 Not Found": {},
"400 Bad Request": {},
"409 Conflict": {}
}curl -X PUT http://localhost:8080/doctor/123456789 \
-H "Content-Type: application/json" \
-d '{
"crm": "123456789",
"email": "dr.silva.updated@hospital.com",
"password": "newSecurePassword123",
"name": "Dr. João Silva",
"specialty": "Cardiology",
"telephone": "+5534999887766",
"consultationValue": 300.00
}'
{
"crm": "123456789",
"email": "dr.silva.updated@hospital.com",
"password": "newSecurePassword123",
"name": "Dr. João Silva",
"specialty": "Cardiology",
"telephone": "+5534999887766",
"consultationValue": 300.00
}