PUT
/api/Patient/UpdatePatient
cURL (application/json-patch+json)
curl \
-X PUT http://api.example.com/api/Patient/UpdatePatient \
-H "Authorization: $API_KEY" \
-H "Content-Type: application/json-patch+json"
curl \
-X PUT http://api.example.com/api/Patient/UpdatePatient \
-H "Authorization: $API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","address":"string","dateOfBirth":"2024-05-04T09:42:00+00:00"}'
curl \
-X PUT http://api.example.com/api/Patient/UpdatePatient \
-H "Authorization: $API_KEY" \
-H "Content-Type: text/json"
curl \
-X PUT http://api.example.com/api/Patient/UpdatePatient \
-H "Authorization: $API_KEY" \
-H "Content-Type: application/*+json"
Request examples
{
"name": "string",
"address": "string",
"dateOfBirth": "2025-05-04T09:42:00Z"
}
Request example
{
"name": "string",
"address": "string",
"dateOfBirth": "2024-05-04T09:42:00+00:00"
}
Request examples
{
"name": "string",
"address": "string",
"dateOfBirth": "2025-05-04T09:42:00Z"
}
Request examples
{
"name": "string",
"address": "string",
"dateOfBirth": "2025-05-04T09:42:00Z"
}
Response examples (200)
{
"name": "string",
"address": "string",
"dateOfBirth": "2024-05-04T09:42:00+00:00"
}
Response examples (200)
{
"name": "string",
"address": "string",
"dateOfBirth": "2025-05-04T09:42:00Z"
}
Response examples (404)
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}
Response examples (404)
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}