POST api/Doctor/SaveDoctor_PrescriptionItems
Request Information
URI Parameters
None.
Body Parameters
Doctor_PrescriptionItem| Name | Description | Type | Additional information |
|---|---|---|---|
| DoctorId | integer |
None. |
|
| PatientId | integer |
None. |
|
| PrescriptionId | integer |
None. |
|
| AppointmentID | integer |
None. |
|
| Drug | string |
None. |
|
| Route | string |
None. |
|
| Dosage | string |
None. |
|
| Duration | string |
None. |
|
| How_Many_Times_Day | string |
None. |
|
| SubmittedDate | date |
None. |
|
| IsSubmitted | 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:
{
"DoctorId": 1,
"PatientId": 2,
"PrescriptionId": 3,
"AppointmentID": 4,
"Drug": "sample string 5",
"Route": "sample string 6",
"Dosage": "sample string 7",
"Duration": "sample string 8",
"How_Many_Times_Day": "sample string 9",
"SubmittedDate": "2026-01-12T14:52:02.2342031+08:00",
"IsSubmitted": true,
"type": "sample string 12",
"Id": 13,
"CreatedBy": "sample string 14",
"CreatedOn": "2026-01-12T14:52:02.2342031+08:00",
"ModifiedBy": "sample string 16",
"ModifiedOn": "2026-01-12T14:52:02.2342031+08:00",
"IsActive": true,
"IsDeleted": true,
"TotalCount": 20,
"StartRow": 21,
"EndRow": 22,
"PageNo": 23,
"SystemIp": "sample string 24"
}
application/xml, text/xml
Sample:
<Doctor_PrescriptionItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Doktors.Domain"> <CreatedBy>sample string 14</CreatedBy> <CreatedOn>2026-01-12T14:52:02.2342031+08:00</CreatedOn> <EndRow>22</EndRow> <Id>13</Id> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <ModifiedBy>sample string 16</ModifiedBy> <ModifiedOn>2026-01-12T14:52:02.2342031+08:00</ModifiedOn> <PageNo>23</PageNo> <StartRow>21</StartRow> <SystemIp>sample string 24</SystemIp> <TotalCount>20</TotalCount> <AppointmentID>4</AppointmentID> <DoctorId>1</DoctorId> <Dosage>sample string 7</Dosage> <Drug>sample string 5</Drug> <Duration>sample string 8</Duration> <How_Many_Times_Day>sample string 9</How_Many_Times_Day> <IsSubmitted>true</IsSubmitted> <PatientId>2</PatientId> <PrescriptionId>3</PrescriptionId> <Route>sample string 6</Route> <SubmittedDate>2026-01-12T14:52:02.2342031+08:00</SubmittedDate> <type>sample string 12</type> </Doctor_PrescriptionItem>
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>