POST api/Patients/UpdatePatientDetails

Request Information

URI Parameters

None.

Body Parameters

UpdatePatientDetailsRequest
NameDescriptionTypeAdditional information
PatientId

integer

None.

PatientName

string

None.

Father_Husband_Name

string

None.

GenderId

integer

None.

CNIC

string

None.

DOB

date

None.

Address

string

None.

Contact

string

None.

NCDRegistrationNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PatientId": 1,
  "PatientName": "sample string 2",
  "Father_Husband_Name": "sample string 3",
  "GenderId": 4,
  "CNIC": "sample string 5",
  "DOB": "2025-10-26T20:07:01.6370521+05:00",
  "Address": "sample string 7",
  "Contact": "sample string 8",
  "NCDRegistrationNumber": "sample string 9"
}

application/xml, text/xml

Sample:
<UpdatePatientDetailsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PatientReferralsAPI.Models.Patient">
  <Address>sample string 7</Address>
  <CNIC>sample string 5</CNIC>
  <Contact>sample string 8</Contact>
  <DOB>2025-10-26T20:07:01.6370521+05:00</DOB>
  <Father_Husband_Name>sample string 3</Father_Husband_Name>
  <GenderId>4</GenderId>
  <NCDRegistrationNumber>sample string 9</NCDRegistrationNumber>
  <PatientId>1</PatientId>
  <PatientName>sample string 2</PatientName>
</UpdatePatientDetailsRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.