POST api/EMR/EncryptData
Request Information
URI Parameters
None.
Body Parameters
SendPrescriptionModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PrescriptionId | integer |
None. |
|
| PharmacyId | integer |
None. |
|
| PhrId | integer |
None. |
|
| PatientId | integer |
None. |
|
| RequestType | integer |
None. |
|
| TransactionId | string |
None. |
|
| Amount | decimal number |
None. |
|
| DiscountAmount | decimal number |
None. |
|
| DiscountDescription | string |
None. |
|
| QP | boolean |
None. |
|
| PaymentMode | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PrescriptionId": 1,
"PharmacyId": 2,
"PhrId": 3,
"PatientId": 4,
"RequestType": 5,
"TransactionId": "sample string 6",
"Amount": 1.0,
"DiscountAmount": 1.0,
"DiscountDescription": "sample string 7",
"QP": true,
"PaymentMode": 9
}
application/xml, text/xml
Sample:
<SendPrescriptionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.ManagePharmacy"> <Amount>1</Amount> <DiscountAmount>1</DiscountAmount> <DiscountDescription>sample string 7</DiscountDescription> <PatientId>4</PatientId> <PaymentMode>9</PaymentMode> <PharmacyId>2</PharmacyId> <PhrId>3</PhrId> <PrescriptionId>1</PrescriptionId> <QP>true</QP> <RequestType>5</RequestType> <TransactionId>sample string 6</TransactionId> </SendPrescriptionModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccess | boolean |
None. |
|
| Message | string |
None. |
|
| Status | integer |
None. |
|
| Result | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccess": true,
"Message": "sample string 2",
"Status": 3,
"Result": "sample string 4"
}
application/xml, text/xml
Sample:
<ResponseOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.Common"> <IsSuccess>true</IsSuccess> <Message>sample string 2</Message> <Result>sample string 4</Result> <Status>3</Status> </ResponseOfstring>