PUT /api/Patient/UpdatePatient

PUT /api/Patient/UpdatePatient

Query parameters

  • id integer(int32)

Body

  • name string | null
  • address string | null
  • dateOfBirth string(date-time)
  • Additional properties are NOT allowed

Body

  • name string | null
  • address string | null
  • dateOfBirth string(date-time)
  • Additional properties are NOT allowed

Body

  • name string | null
  • address string | null
  • dateOfBirth string(date-time)
  • Additional properties are NOT allowed

Body

  • name string | null
  • address string | null
  • dateOfBirth string(date-time)
  • Additional properties are NOT allowed

Responses

  • Success

    Hide response attributes Show response attributes object
    • name string | null
    • address string | null
    • dateOfBirth string(date-time)
    • Additional properties are NOT allowed
    Hide response attributes Show response attributes object
    • name string | null
    • address string | null
    • dateOfBirth string(date-time)
    • Additional properties are NOT allowed
    Hide response attributes Show response attributes object
    • name string | null
    • address string | null
    • dateOfBirth string(date-time)
    • Additional properties are NOT allowed
  • Not Found

    Hide response attributes Show response attributes object
    • type string | null
    • title string | null
    • status integer(int32) | null
    • detail string | null
    • instance string | null
    • Additional properties:
    Hide response attributes Show response attributes object
    • type string | null
    • title string | null
    • status integer(int32) | null
    • detail string | null
    • instance string | null
    • Additional properties:
    Hide response attributes Show response attributes object
    • type string | null
    • title string | null
    • status integer(int32) | null
    • detail string | null
    • instance string | null
    • Additional properties:
  • 500

    Server Error

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"
}