GET api/PrescriptionIntegration/RealisedPrescriptions?PackageID={PackageID}&UserName={UserName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PackageID

integer

Required

UserName

string

Required

Body Parameters

None.

Response Information

Resource Description

PrescriptionServiceResponse
NameDescriptionTypeAdditional information
PrescriptionConfirmations

Collection of PrescriptionServiceConfirmation

None.

PrescribingControl

PrescriptionControlModel

None.

Response Formats

application/json, text/json

Sample:
{
  "prescriptionConfirmations": [
    {
      "prescriptionId": "sample string 1",
      "caseNumber": 1,
      "medsolPrescriptionId": "sample string 2",
      "note": "sample string 3",
      "errorMessage": "sample string 4",
      "statusId": "sample string 5",
      "isSuccess": true
    },
    {
      "prescriptionId": "sample string 1",
      "caseNumber": 1,
      "medsolPrescriptionId": "sample string 2",
      "note": "sample string 3",
      "errorMessage": "sample string 4",
      "statusId": "sample string 5",
      "isSuccess": true
    }
  ],
  "prescribingControl": {
    "dailyControlActive": true,
    "monthlyControlActive": true,
    "monthlyValueControlActive": true,
    "dailyLimit": 4,
    "monthlyLimit": 5,
    "monthlyValueLimit": 6.0,
    "dailyCount": 7,
    "monthlyCount": 8,
    "monthlyValue": 9.0,
    "username": "sample string 10",
    "stampNumber": "sample string 11"
  }
}

application/xml, text/xml

Sample:
<PrescriptionServiceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eMedit.eOsa.BDO.Services.PrescriptionService">
  <PrescribingControl>
    <DailyControlActive>true</DailyControlActive>
    <DailyCount>7</DailyCount>
    <DailyLimit>4</DailyLimit>
    <MonthlyControlActive>true</MonthlyControlActive>
    <MonthlyCount>8</MonthlyCount>
    <MonthlyLimit>5</MonthlyLimit>
    <MonthlyValue>9</MonthlyValue>
    <MonthlyValueControlActive>true</MonthlyValueControlActive>
    <MonthlyValueLimit>6</MonthlyValueLimit>
    <StampNumber>sample string 11</StampNumber>
    <Username>sample string 10</Username>
  </PrescribingControl>
  <PrescriptionConfirmations>
    <PrescriptionServiceConfirmation>
      <CaseNumber>1</CaseNumber>
      <ErrorMessage>sample string 4</ErrorMessage>
      <IsSuccess>true</IsSuccess>
      <MedsolPrescriptionId>sample string 2</MedsolPrescriptionId>
      <Note>sample string 3</Note>
      <PrescriptionId>sample string 1</PrescriptionId>
      <StatusId>sample string 5</StatusId>
    </PrescriptionServiceConfirmation>
    <PrescriptionServiceConfirmation>
      <CaseNumber>1</CaseNumber>
      <ErrorMessage>sample string 4</ErrorMessage>
      <IsSuccess>true</IsSuccess>
      <MedsolPrescriptionId>sample string 2</MedsolPrescriptionId>
      <Note>sample string 3</Note>
      <PrescriptionId>sample string 1</PrescriptionId>
      <StatusId>sample string 5</StatusId>
    </PrescriptionServiceConfirmation>
  </PrescriptionConfirmations>
</PrescriptionServiceResponse>