POST api/Patient/Patient_Registration
Request Information
URI Parameters
None.
Body Parameters
Register| Name | Description | Type | Additional information |
|---|---|---|---|
| pat_fname | string |
None. |
|
| pat_lname | string |
None. |
|
| pat_mob | string |
None. |
|
| pat_dob | date |
None. |
|
| pat_city | string |
None. |
|
| pat_country | integer |
None. |
|
| pat_nat | integer |
None. |
|
| app_branch | integer |
None. |
|
| app_fdate | date |
None. |
|
| app_ftime | integer |
None. |
|
| app_doctor | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"pat_fname": "sample string 1",
"pat_lname": "sample string 2",
"pat_mob": "sample string 3",
"pat_dob": "2026-02-04T06:29:50.6872837+04:00",
"pat_city": "sample string 5",
"pat_country": 6,
"pat_nat": 7,
"app_branch": 8,
"app_fdate": "2026-02-04T06:29:50.6872837+04:00",
"app_ftime": 10,
"app_doctor": 11
}
application/xml, text/xml
Sample:
<Register xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GMCHC_API.Models"> <app_branch>8</app_branch> <app_doctor>11</app_doctor> <app_fdate>2026-02-04T06:29:50.6872837+04:00</app_fdate> <app_ftime>10</app_ftime> <pat_city>sample string 5</pat_city> <pat_country>6</pat_country> <pat_dob>2026-02-04T06:29:50.6872837+04:00</pat_dob> <pat_fname>sample string 1</pat_fname> <pat_lname>sample string 2</pat_lname> <pat_mob>sample string 3</pat_mob> <pat_nat>7</pat_nat> </Register>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |