PUT api/Patients/UpdatePatientInfo/{PatientId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PatientId

integer

Required

Body Parameters

PatientInfoDto
NameDescriptionTypeAdditional information
PatientId

integer

None.

PersonId

integer

None.

ClientId

integer

None.

LocationId

integer

None.

FirstName

string

Required

String length: inclusive between 0 and 50

MiddleName

string

String length: inclusive between 0 and 50

LastName

string

String length: inclusive between 0 and 50

DOB

date

Required

Gender

string

Required

String length: inclusive between 0 and 1

EmailAddress

string

String length: inclusive between 0 and 200

ReceiveEmailMarketing

boolean

None.

ReceiveTextMarketing

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "PatientId": 1,
  "PersonId": 2,
  "ClientId": 1,
  "LocationId": 1,
  "FirstName": "sample string 3",
  "MiddleName": "sample string 4",
  "LastName": "sample string 5",
  "DOB": "2026-04-29T22:08:19.3061439+00:00",
  "Gender": "sample string 7",
  "EmailAddress": "sample string 8",
  "ReceiveEmailMarketing": true,
  "ReceiveTextMarketing": true
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PatientInfoDto'.

Response Information

Resource Description

ApiResponse
NameDescriptionTypeAdditional information
Message

string

None.

Result

Object

None.

StatusCode

integer

None.

StatusGroup

string

None.

Details

Collection of Object

None.

Response Formats

application/json, text/json

Sample:

Sample not available.