POST api/EMR/EncryptData

Request Information

URI Parameters

None.

Body Parameters

SendPrescriptionModel
NameDescriptionTypeAdditional information
PrescriptionId

integer

None.

PharmacyId

integer

None.

PhrId

integer

None.

PatientId

integer

None.

RequestType

integer

None.

TransactionId

string

None.

Amount

decimal number

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
}

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>
  <PatientId>4</PatientId>
  <PharmacyId>2</PharmacyId>
  <PhrId>3</PhrId>
  <PrescriptionId>1</PrescriptionId>
  <RequestType>5</RequestType>
  <TransactionId>sample string 6</TransactionId>
</SendPrescriptionModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SendPrescriptionModel'.

Response Information

Resource Description

ResponseOfString
NameDescriptionTypeAdditional 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>