POST api/VidmedPharmacy/VidmedSagePharmacyCreate
Request Information
URI Parameters
None.
Body Parameters
Collection of USP_GET_PHARMACYLIST_SAGE_Result| Name | Description | Type | Additional information |
|---|---|---|---|
| Amount | decimal number |
None. |
|
| Pharmacy_Issued_Qty | integer |
None. |
|
| User_Id | integer |
None. |
|
| Transaction_Id | string |
None. |
|
| Is_Home_Deliver | boolean |
None. |
|
| Is_Other_Center | boolean |
None. |
|
| Center_Id | integer |
None. |
|
| Drug_Id | integer |
None. |
|
| Case_Number | integer |
None. |
|
| Patient_Firstname | string |
None. |
|
| Patient_Lastname | string |
None. |
|
| Patient_Gender | string |
None. |
|
| Patient_Age | integer |
None. |
|
| Patient_Mobile_Number | string |
None. |
|
| Diagnosis | string |
None. |
|
| Pdf_Url | string |
None. |
|
| Doctor_Name | string |
None. |
|
| Drug_Name | string |
None. |
|
| Batch_No | string |
None. |
|
| Expiry_Date | date |
None. |
|
| Material_Stock_Id | integer |
None. |
|
| Quantity_In_Hand | integer |
None. |
|
| Doctor_Suggested_Qty | integer |
None. |
|
| Issued_Quantity | integer |
None. |
|
| Sale_Price | decimal number |
None. |
|
| Material_Id | integer |
None. |
|
| rn | integer |
None. |
|
| Org_Id | integer |
None. |
|
| Delivery_Charge | decimal number |
None. |
|
| Pharmacy_Id | integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"Amount": 1.0,
"Pharmacy_Issued_Qty": 1,
"User_Id": 1,
"Transaction_Id": "sample string 2",
"Is_Home_Deliver": true,
"Is_Other_Center": true,
"Center_Id": 1,
"Drug_Id": 5,
"Case_Number": 6,
"Patient_Firstname": "sample string 7",
"Patient_Lastname": "sample string 8",
"Patient_Gender": "sample string 9",
"Patient_Age": 1,
"Patient_Mobile_Number": "sample string 10",
"Diagnosis": "sample string 11",
"Pdf_Url": "sample string 12",
"Doctor_Name": "sample string 13",
"Drug_Name": "sample string 14",
"Batch_No": "sample string 15",
"Expiry_Date": "2025-12-17T15:42:41.3277689+05:30",
"Material_Stock_Id": 16,
"Quantity_In_Hand": 17,
"Doctor_Suggested_Qty": 1,
"Issued_Quantity": 1,
"Sale_Price": 18.0,
"Material_Id": 19,
"rn": 1,
"Org_Id": 1,
"Delivery_Charge": 1.0,
"Pharmacy_Id": 1
},
{
"Amount": 1.0,
"Pharmacy_Issued_Qty": 1,
"User_Id": 1,
"Transaction_Id": "sample string 2",
"Is_Home_Deliver": true,
"Is_Other_Center": true,
"Center_Id": 1,
"Drug_Id": 5,
"Case_Number": 6,
"Patient_Firstname": "sample string 7",
"Patient_Lastname": "sample string 8",
"Patient_Gender": "sample string 9",
"Patient_Age": 1,
"Patient_Mobile_Number": "sample string 10",
"Diagnosis": "sample string 11",
"Pdf_Url": "sample string 12",
"Doctor_Name": "sample string 13",
"Drug_Name": "sample string 14",
"Batch_No": "sample string 15",
"Expiry_Date": "2025-12-17T15:42:41.3277689+05:30",
"Material_Stock_Id": 16,
"Quantity_In_Hand": 17,
"Doctor_Suggested_Qty": 1,
"Issued_Quantity": 1,
"Sale_Price": 18.0,
"Material_Id": 19,
"rn": 1,
"Org_Id": 1,
"Delivery_Charge": 1.0,
"Pharmacy_Id": 1
}
]
text/html
Sample:
[{"Amount":1.0,"Pharmacy_Issued_Qty":1,"User_Id":1,"Transaction_Id":"sample string 2","Is_Home_Deliver":true,"Is_Other_Center":true,"Center_Id":1,"Drug_Id":5,"Case_Number":6,"Patient_Firstname":"sample string 7","Patient_Lastname":"sample string 8","Patient_Gender":"sample string 9","Patient_Age":1,"Patient_Mobile_Number":"sample string 10","Diagnosis":"sample string 11","Pdf_Url":"sample string 12","Doctor_Name":"sample string 13","Drug_Name":"sample string 14","Batch_No":"sample string 15","Expiry_Date":"2025-12-17T15:42:41.3277689+05:30","Material_Stock_Id":16,"Quantity_In_Hand":17,"Doctor_Suggested_Qty":1,"Issued_Quantity":1,"Sale_Price":18.0,"Material_Id":19,"rn":1,"Org_Id":1,"Delivery_Charge":1.0,"Pharmacy_Id":1},{"Amount":1.0,"Pharmacy_Issued_Qty":1,"User_Id":1,"Transaction_Id":"sample string 2","Is_Home_Deliver":true,"Is_Other_Center":true,"Center_Id":1,"Drug_Id":5,"Case_Number":6,"Patient_Firstname":"sample string 7","Patient_Lastname":"sample string 8","Patient_Gender":"sample string 9","Patient_Age":1,"Patient_Mobile_Number":"sample string 10","Diagnosis":"sample string 11","Pdf_Url":"sample string 12","Doctor_Name":"sample string 13","Drug_Name":"sample string 14","Batch_No":"sample string 15","Expiry_Date":"2025-12-17T15:42:41.3277689+05:30","Material_Stock_Id":16,"Quantity_In_Hand":17,"Doctor_Suggested_Qty":1,"Issued_Quantity":1,"Sale_Price":18.0,"Material_Id":19,"rn":1,"Org_Id":1,"Delivery_Charge":1.0,"Pharmacy_Id":1}]
application/xml, text/xml
Sample:
<ArrayOfUSP_GET_PHARMACYLIST_SAGE_Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tm.WebAPI.Models">
<USP_GET_PHARMACYLIST_SAGE_Result>
<Amount>1</Amount>
<Batch_No>sample string 15</Batch_No>
<Case_Number>6</Case_Number>
<Center_Id>1</Center_Id>
<Delivery_Charge>1</Delivery_Charge>
<Diagnosis>sample string 11</Diagnosis>
<Doctor_Name>sample string 13</Doctor_Name>
<Doctor_Suggested_Qty>1</Doctor_Suggested_Qty>
<Drug_Id>5</Drug_Id>
<Drug_Name>sample string 14</Drug_Name>
<Expiry_Date>2025-12-17T15:42:41.3277689+05:30</Expiry_Date>
<Is_Home_Deliver>true</Is_Home_Deliver>
<Is_Other_Center>true</Is_Other_Center>
<Issued_Quantity>1</Issued_Quantity>
<Material_Id>19</Material_Id>
<Material_Stock_Id>16</Material_Stock_Id>
<Org_Id>1</Org_Id>
<Patient_Age>1</Patient_Age>
<Patient_Firstname>sample string 7</Patient_Firstname>
<Patient_Gender>sample string 9</Patient_Gender>
<Patient_Lastname>sample string 8</Patient_Lastname>
<Patient_Mobile_Number>sample string 10</Patient_Mobile_Number>
<Pdf_Url>sample string 12</Pdf_Url>
<Pharmacy_Id>1</Pharmacy_Id>
<Pharmacy_Issued_Qty>1</Pharmacy_Issued_Qty>
<Quantity_In_Hand>17</Quantity_In_Hand>
<Sale_Price>18</Sale_Price>
<Transaction_Id>sample string 2</Transaction_Id>
<User_Id>1</User_Id>
<rn>1</rn>
</USP_GET_PHARMACYLIST_SAGE_Result>
<USP_GET_PHARMACYLIST_SAGE_Result>
<Amount>1</Amount>
<Batch_No>sample string 15</Batch_No>
<Case_Number>6</Case_Number>
<Center_Id>1</Center_Id>
<Delivery_Charge>1</Delivery_Charge>
<Diagnosis>sample string 11</Diagnosis>
<Doctor_Name>sample string 13</Doctor_Name>
<Doctor_Suggested_Qty>1</Doctor_Suggested_Qty>
<Drug_Id>5</Drug_Id>
<Drug_Name>sample string 14</Drug_Name>
<Expiry_Date>2025-12-17T15:42:41.3277689+05:30</Expiry_Date>
<Is_Home_Deliver>true</Is_Home_Deliver>
<Is_Other_Center>true</Is_Other_Center>
<Issued_Quantity>1</Issued_Quantity>
<Material_Id>19</Material_Id>
<Material_Stock_Id>16</Material_Stock_Id>
<Org_Id>1</Org_Id>
<Patient_Age>1</Patient_Age>
<Patient_Firstname>sample string 7</Patient_Firstname>
<Patient_Gender>sample string 9</Patient_Gender>
<Patient_Lastname>sample string 8</Patient_Lastname>
<Patient_Mobile_Number>sample string 10</Patient_Mobile_Number>
<Pdf_Url>sample string 12</Pdf_Url>
<Pharmacy_Id>1</Pharmacy_Id>
<Pharmacy_Issued_Qty>1</Pharmacy_Issued_Qty>
<Quantity_In_Hand>17</Quantity_In_Hand>
<Sale_Price>18</Sale_Price>
<Transaction_Id>sample string 2</Transaction_Id>
<User_Id>1</User_Id>
<rn>1</rn>
</USP_GET_PHARMACYLIST_SAGE_Result>
</ArrayOfUSP_GET_PHARMACYLIST_SAGE_Result>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultData| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Status | boolean |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"Status": true,
"Data": {}
}
text/html
Sample:
{"Message":"sample string 1","Status":true,"Data":{}}
application/xml, text/xml
Sample:
<ResultData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tm.WebAPI.Models"> <Data /> <Message>sample string 1</Message> <Status>true</Status> </ResultData>