POST api/NewPatientRegister

Request Information

URI Parameters

None.

Body Parameters

PatientRegistration
NameDescriptionTypeAdditional information
FirstName

string

None.

MiddleName

string

None.

BranchId

integer

None.

SurName

string

None.

Name

string

None.

BirthDate

date

None.

Age

integer

None.

Gender

string

None.

HomeAddress1

string

None.

HomeAddress2

string

None.

HomePostal

string

None.

HomeCity

string

None.

HomeState

string

None.

HomeCountry

integer

None.

MT_AppointmentType

integer

None.

HomePhone

string

None.

whatsappNo

string

None.

EMailHome

string

None.

LoginUser

string

None.

AppointmentId

integer

None.

patientSource

string

None.

patientSubSource

string

None.

DoctorPhone

string

None.

Diagnosis

Collection of integer

None.

CP_Diagnosis_Note

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FirstName": "sample string 1",
  "MiddleName": "sample string 2",
  "BranchId": 3,
  "SurName": "sample string 4",
  "Name": "sample string 5",
  "BirthDate": "2026-01-15T19:19:15.7168898+05:30",
  "Age": 7,
  "Gender": "sample string 8",
  "HomeAddress1": "sample string 9",
  "HomeAddress2": "sample string 10",
  "HomePostal": "sample string 11",
  "HomeCity": "sample string 12",
  "HomeState": "sample string 13",
  "HomeCountry": 14,
  "MT_AppointmentType": 15,
  "HomePhone": "sample string 16",
  "whatsappNo": "sample string 17",
  "EMailHome": "sample string 18",
  "LoginUser": "sample string 19",
  "AppointmentId": 20,
  "patientSource": "sample string 21",
  "patientSubSource": "sample string 22",
  "DoctorPhone": "sample string 23",
  "Diagnosis": [
    1,
    2
  ],
  "CP_Diagnosis_Note": "sample string 24"
}

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 'PatientRegistration'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.