POST api/Patient/SaveMyDoctorInfo
Request Information
URI Parameters
None.
Body Parameters
MyDoctors| Name | Description | Type | Additional information |
|---|---|---|---|
| PatientId | integer |
None. |
|
| DoctorId | integer |
None. |
|
| IsEnablePatientView | boolean |
None. |
|
| IsEnableDoctorView | boolean |
None. |
|
| Type | string |
None. |
|
| Id | integer |
None. |
|
| CreatedBy | string |
None. |
|
| CreatedOn | date |
None. |
|
| ModifiedBy | string |
None. |
|
| ModifiedOn | date |
None. |
|
| IsActive | boolean |
None. |
|
| IsDeleted | boolean |
None. |
|
| TotalCount | integer |
None. |
|
| StartRow | integer |
None. |
|
| EndRow | integer |
None. |
|
| PageNo | integer |
None. |
|
| SystemIp | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PatientId": 1,
"DoctorId": 2,
"IsEnablePatientView": true,
"IsEnableDoctorView": true,
"Type": "sample string 5",
"Id": 6,
"CreatedBy": "sample string 7",
"CreatedOn": "2026-01-12T14:47:42.7506948+08:00",
"ModifiedBy": "sample string 9",
"ModifiedOn": "2026-01-12T14:47:42.7506948+08:00",
"IsActive": true,
"IsDeleted": true,
"TotalCount": 13,
"StartRow": 14,
"EndRow": 15,
"PageNo": 16,
"SystemIp": "sample string 17"
}
application/xml, text/xml
Sample:
<MyDoctors xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Doktors.Domain"> <CreatedBy>sample string 7</CreatedBy> <CreatedOn>2026-01-12T14:47:42.7506948+08:00</CreatedOn> <EndRow>15</EndRow> <Id>6</Id> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <ModifiedBy>sample string 9</ModifiedBy> <ModifiedOn>2026-01-12T14:47:42.7506948+08:00</ModifiedOn> <PageNo>16</PageNo> <StartRow>14</StartRow> <SystemIp>sample string 17</SystemIp> <TotalCount>13</TotalCount> <DoctorId>2</DoctorId> <IsEnableDoctorView>true</IsEnableDoctorView> <IsEnablePatientView>true</IsEnablePatientView> <PatientId>1</PatientId> <Type>sample string 5</Type> </MyDoctors>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseObj| Name | Description | Type | Additional information |
|---|---|---|---|
| status_code | integer |
None. |
|
| status_text | string |
None. |
|
| data | Object |
None. |
|
| http_status | integer |
None. |
|
| reason_pharse | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"status_code": 1,
"status_text": "sample string 2",
"data": {},
"http_status": 4,
"reason_pharse": "sample string 5"
}
application/xml, text/xml
Sample:
<ResponseObj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Doktors.Domain"> <data /> <http_status>4</http_status> <reason_pharse>sample string 5</reason_pharse> <status_code>1</status_code> <status_text>sample string 2</status_text> </ResponseObj>