POST api/TotalAyushCare/GetPrescriptionDetailsByAppointmentId

Documentation for 'GetPrescriptionDetailsByAppointmentId'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Credentials": {
    "Username": "sample string 1",
    "Password": "sample string 2",
    "ClientName": "sample string 3"
  },
  "Prescription": {
    "Id": "sample string 1",
    "PatientId": "sample string 2",
    "DoctorId": "sample string 3",
    "AppointmentDate": "sample string 4",
    "AppointmentId": "sample string 5",
    "Quantity": "sample string 6",
    "Note": "sample string 7",
    "MedicieneDetails": [
      {
        "Id": "sample string 1",
        "PrescriptionId": "sample string 2",
        "ProductId": "sample string 3",
        "ProductName": "sample string 4",
        "Quantity": "sample string 5",
        "BrandName": "sample string 6",
        "BrandId": "sample string 7",
        "CategoryName": "sample string 8",
        "CategoryId": "sample string 9",
        "ProductPrice": "sample string 10",
        "DailyDose": "sample string 11",
        "Units": "sample string 12",
        "Remarks": "sample string 13"
      },
      {
        "Id": "sample string 1",
        "PrescriptionId": "sample string 2",
        "ProductId": "sample string 3",
        "ProductName": "sample string 4",
        "Quantity": "sample string 5",
        "BrandName": "sample string 6",
        "BrandId": "sample string 7",
        "CategoryName": "sample string 8",
        "CategoryId": "sample string 9",
        "ProductPrice": "sample string 10",
        "DailyDose": "sample string 11",
        "Units": "sample string 12",
        "Remarks": "sample string 13"
      },
      {
        "Id": "sample string 1",
        "PrescriptionId": "sample string 2",
        "ProductId": "sample string 3",
        "ProductName": "sample string 4",
        "Quantity": "sample string 5",
        "BrandName": "sample string 6",
        "BrandId": "sample string 7",
        "CategoryName": "sample string 8",
        "CategoryId": "sample string 9",
        "ProductPrice": "sample string 10",
        "DailyDose": "sample string 11",
        "Units": "sample string 12",
        "Remarks": "sample string 13"
      }
    ],
    "FoodDetails": [
      {
        "Id": "sample string 1",
        "PrescriptionId": "sample string 2",
        "CategoryId": "sample string 3",
        "ProductId": "sample string 4",
        "Quantity": "sample string 5"
      },
      {
        "Id": "sample string 1",
        "PrescriptionId": "sample string 2",
        "CategoryId": "sample string 3",
        "ProductId": "sample string 4",
        "Quantity": "sample string 5"
      },
      {
        "Id": "sample string 1",
        "PrescriptionId": "sample string 2",
        "CategoryId": "sample string 3",
        "ProductId": "sample string 4",
        "Quantity": "sample string 5"
      }
    ],
    "Action": "sample string 8",
    "Source": "sample string 9",
    "MedicineSummary": "sample string 10",
    "FoodSummary": "sample string 11",
    "LifeStyleSummary": "sample string 12",
    "CurrentComplaintSummary": "sample string 13",
    "ClinicalExaminationSummary": "sample string 14",
    "ObservationSummary": "sample string 15"
  },
  "Ratings": {
    "Id": "sample string 1",
    "Rating": "sample string 2",
    "Comments": "sample string 3",
    "PatientId": "sample string 4",
    "DrId": "sample string 5",
    "RatingGivenBy": "sample string 6",
    "AddedOn": "sample string 7",
    "Action": "sample string 8",
    "Source": "sample string 9"
  }
}

application/xml, text/xml

Sample:
<PrescriptionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TotalAyushCare.Codes">
  <Credentials>
    <ClientName>sample string 3</ClientName>
    <Password>sample string 2</Password>
    <Username>sample string 1</Username>
  </Credentials>
  <Prescription>
    <Action>sample string 8</Action>
    <AppointmentDate>sample string 4</AppointmentDate>
    <AppointmentId>sample string 5</AppointmentId>
    <ClinicalExaminationSummary>sample string 14</ClinicalExaminationSummary>
    <CurrentComplaintSummary>sample string 13</CurrentComplaintSummary>
    <DoctorId>sample string 3</DoctorId>
    <FoodDetails>
      <FoodDetails>
        <CategoryId>sample string 3</CategoryId>
        <Id>sample string 1</Id>
        <PrescriptionId>sample string 2</PrescriptionId>
        <ProductId>sample string 4</ProductId>
        <Quantity>sample string 5</Quantity>
      </FoodDetails>
      <FoodDetails>
        <CategoryId>sample string 3</CategoryId>
        <Id>sample string 1</Id>
        <PrescriptionId>sample string 2</PrescriptionId>
        <ProductId>sample string 4</ProductId>
        <Quantity>sample string 5</Quantity>
      </FoodDetails>
      <FoodDetails>
        <CategoryId>sample string 3</CategoryId>
        <Id>sample string 1</Id>
        <PrescriptionId>sample string 2</PrescriptionId>
        <ProductId>sample string 4</ProductId>
        <Quantity>sample string 5</Quantity>
      </FoodDetails>
    </FoodDetails>
    <FoodSummary>sample string 11</FoodSummary>
    <Id>sample string 1</Id>
    <LifeStyleSummary>sample string 12</LifeStyleSummary>
    <MedicieneDetails>
      <MedicieneDetails>
        <BrandId>sample string 7</BrandId>
        <BrandName>sample string 6</BrandName>
        <CategoryId>sample string 9</CategoryId>
        <CategoryName>sample string 8</CategoryName>
        <DailyDose>sample string 11</DailyDose>
        <Id>sample string 1</Id>
        <PrescriptionId>sample string 2</PrescriptionId>
        <ProductId>sample string 3</ProductId>
        <ProductName>sample string 4</ProductName>
        <ProductPrice>sample string 10</ProductPrice>
        <Quantity>sample string 5</Quantity>
        <Remarks>sample string 13</Remarks>
        <Units>sample string 12</Units>
      </MedicieneDetails>
      <MedicieneDetails>
        <BrandId>sample string 7</BrandId>
        <BrandName>sample string 6</BrandName>
        <CategoryId>sample string 9</CategoryId>
        <CategoryName>sample string 8</CategoryName>
        <DailyDose>sample string 11</DailyDose>
        <Id>sample string 1</Id>
        <PrescriptionId>sample string 2</PrescriptionId>
        <ProductId>sample string 3</ProductId>
        <ProductName>sample string 4</ProductName>
        <ProductPrice>sample string 10</ProductPrice>
        <Quantity>sample string 5</Quantity>
        <Remarks>sample string 13</Remarks>
        <Units>sample string 12</Units>
      </MedicieneDetails>
      <MedicieneDetails>
        <BrandId>sample string 7</BrandId>
        <BrandName>sample string 6</BrandName>
        <CategoryId>sample string 9</CategoryId>
        <CategoryName>sample string 8</CategoryName>
        <DailyDose>sample string 11</DailyDose>
        <Id>sample string 1</Id>
        <PrescriptionId>sample string 2</PrescriptionId>
        <ProductId>sample string 3</ProductId>
        <ProductName>sample string 4</ProductName>
        <ProductPrice>sample string 10</ProductPrice>
        <Quantity>sample string 5</Quantity>
        <Remarks>sample string 13</Remarks>
        <Units>sample string 12</Units>
      </MedicieneDetails>
    </MedicieneDetails>
    <MedicineSummary>sample string 10</MedicineSummary>
    <Note>sample string 7</Note>
    <ObservationSummary>sample string 15</ObservationSummary>
    <PatientId>sample string 2</PatientId>
    <Quantity>sample string 6</Quantity>
    <Source>sample string 9</Source>
  </Prescription>
  <Ratings>
    <Action>sample string 8</Action>
    <AddedOn>sample string 7</AddedOn>
    <Comments>sample string 3</Comments>
    <DrId>sample string 5</DrId>
    <Id>sample string 1</Id>
    <PatientId>sample string 4</PatientId>
    <Rating>sample string 2</Rating>
    <RatingGivenBy>sample string 6</RatingGivenBy>
    <Source>sample string 9</Source>
  </Ratings>
</PrescriptionRequest>

application/x-www-form-urlencoded

Sample:

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

Response Information

Response body formats

application/json, text/json

Sample:
{
  "message": "sample string 1",
  "errors": [
    {
      "code": "sample string 1",
      "description": "sample string 2"
    },
    {
      "code": "sample string 1",
      "description": "sample string 2"
    },
    {
      "code": "sample string 1",
      "description": "sample string 2"
    }
  ],
  "result": "sample string 2",
  "Patientlist": {
    "PatientId": "sample string 1",
    "PUserName": "sample string 2",
    "PPassword": "sample string 3",
    "FirstName": "sample string 4",
    "LastName": "sample string 5",
    "Phone": "sample string 6",
    "DOB": "sample string 7",
    "Sex": "sample string 8",
    "BloodGroup": "sample string 9",
    "Height": "sample string 10",
    "Weight": "sample string 11",
    "MaritalStatus": "sample string 12",
    "Occupation": "sample string 13",
    "Address1": "sample string 14",
    "Address2": "sample string 15",
    "City": "sample string 16",
    "Zip": "sample string 17",
    "State": "sample string 18",
    "Country": "sample string 19",
    "Remarks": "sample string 20",
    "ExternalLoginType": "sample string 21",
    "ExtLoginID": "sample string 22",
    "ExtLoginTokenID": "sample string 23",
    "Action": "sample string 24",
    "Source": "sample string 25"
  },
  "AppointmentDetails": {
    "AppointmentId": "sample string 1",
    "PatientId": "sample string 2",
    "AppointmentDate": "sample string 3",
    "AppointmentTime": "sample string 4",
    "Category": "sample string 5",
    "PreferredDoctor": "sample string 6",
    "SubCategory": "sample string 7",
    "Note": "sample string 8",
    "AppointmentType": "sample string 9",
    "AppointmentFor": "sample string 10",
    "Action": "sample string 11",
    "Source": "sample string 12",
    "AppointmentStatus": "sample string 13",
    "SessionId": "sample string 14",
    "TokenId": "sample string 15",
    "APIKey": "sample string 16",
    "VideoCallStatus": "sample string 17",
    "TimeZone": "sample string 18",
    "Fees": "sample string 19",
    "DoctorName": "sample string 20",
    "DoctorEmail": "sample string 21",
    "CurrentDateTime": "sample string 22",
    "IsHavePrescription": "sample string 23"
  },
  "Id": "sample string 3",
  "PatientId": "sample string 4",
  "DoctorId": "sample string 5",
  "AppointmentDate": "sample string 6",
  "AppointmentId": "sample string 7",
  "Quantity": "sample string 8",
  "Note": "sample string 9",
  "MedicieneDetails": [
    {
      "Id": "sample string 1",
      "PrescriptionId": "sample string 2",
      "ProductId": "sample string 3",
      "ProductName": "sample string 4",
      "Quantity": "sample string 5",
      "BrandName": "sample string 6",
      "BrandId": "sample string 7",
      "CategoryName": "sample string 8",
      "CategoryId": "sample string 9",
      "ProductPrice": "sample string 10",
      "DailyDose": "sample string 11",
      "Units": "sample string 12",
      "Remarks": "sample string 13"
    },
    {
      "Id": "sample string 1",
      "PrescriptionId": "sample string 2",
      "ProductId": "sample string 3",
      "ProductName": "sample string 4",
      "Quantity": "sample string 5",
      "BrandName": "sample string 6",
      "BrandId": "sample string 7",
      "CategoryName": "sample string 8",
      "CategoryId": "sample string 9",
      "ProductPrice": "sample string 10",
      "DailyDose": "sample string 11",
      "Units": "sample string 12",
      "Remarks": "sample string 13"
    },
    {
      "Id": "sample string 1",
      "PrescriptionId": "sample string 2",
      "ProductId": "sample string 3",
      "ProductName": "sample string 4",
      "Quantity": "sample string 5",
      "BrandName": "sample string 6",
      "BrandId": "sample string 7",
      "CategoryName": "sample string 8",
      "CategoryId": "sample string 9",
      "ProductPrice": "sample string 10",
      "DailyDose": "sample string 11",
      "Units": "sample string 12",
      "Remarks": "sample string 13"
    }
  ],
  "FoodDetails": [
    {
      "Id": "sample string 1",
      "PrescriptionId": "sample string 2",
      "CategoryId": "sample string 3",
      "ProductId": "sample string 4",
      "Quantity": "sample string 5"
    },
    {
      "Id": "sample string 1",
      "PrescriptionId": "sample string 2",
      "CategoryId": "sample string 3",
      "ProductId": "sample string 4",
      "Quantity": "sample string 5"
    },
    {
      "Id": "sample string 1",
      "PrescriptionId": "sample string 2",
      "CategoryId": "sample string 3",
      "ProductId": "sample string 4",
      "Quantity": "sample string 5"
    }
  ],
  "Action": "sample string 10",
  "Source": "sample string 11",
  "MedicineSummary": "sample string 12",
  "FoodSummary": "sample string 13",
  "LifeStyleSummary": "sample string 14",
  "CurrentComplaintSummary": "sample string 15",
  "ClinicalExaminationSummary": "sample string 16",
  "ObservationSummary": "sample string 17"
}

application/xml, text/xml

Sample:
<AppointmentDetailsWithPrescriptionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TotalAyushCare.Codes">
  <Action>sample string 10</Action>
  <AppointmentDate>sample string 6</AppointmentDate>
  <AppointmentId>sample string 7</AppointmentId>
  <ClinicalExaminationSummary>sample string 16</ClinicalExaminationSummary>
  <CurrentComplaintSummary>sample string 15</CurrentComplaintSummary>
  <DoctorId>sample string 5</DoctorId>
  <FoodDetails>
    <FoodDetails>
      <CategoryId>sample string 3</CategoryId>
      <Id>sample string 1</Id>
      <PrescriptionId>sample string 2</PrescriptionId>
      <ProductId>sample string 4</ProductId>
      <Quantity>sample string 5</Quantity>
    </FoodDetails>
    <FoodDetails>
      <CategoryId>sample string 3</CategoryId>
      <Id>sample string 1</Id>
      <PrescriptionId>sample string 2</PrescriptionId>
      <ProductId>sample string 4</ProductId>
      <Quantity>sample string 5</Quantity>
    </FoodDetails>
    <FoodDetails>
      <CategoryId>sample string 3</CategoryId>
      <Id>sample string 1</Id>
      <PrescriptionId>sample string 2</PrescriptionId>
      <ProductId>sample string 4</ProductId>
      <Quantity>sample string 5</Quantity>
    </FoodDetails>
  </FoodDetails>
  <FoodSummary>sample string 13</FoodSummary>
  <Id>sample string 3</Id>
  <LifeStyleSummary>sample string 14</LifeStyleSummary>
  <MedicieneDetails>
    <MedicieneDetails>
      <BrandId>sample string 7</BrandId>
      <BrandName>sample string 6</BrandName>
      <CategoryId>sample string 9</CategoryId>
      <CategoryName>sample string 8</CategoryName>
      <DailyDose>sample string 11</DailyDose>
      <Id>sample string 1</Id>
      <PrescriptionId>sample string 2</PrescriptionId>
      <ProductId>sample string 3</ProductId>
      <ProductName>sample string 4</ProductName>
      <ProductPrice>sample string 10</ProductPrice>
      <Quantity>sample string 5</Quantity>
      <Remarks>sample string 13</Remarks>
      <Units>sample string 12</Units>
    </MedicieneDetails>
    <MedicieneDetails>
      <BrandId>sample string 7</BrandId>
      <BrandName>sample string 6</BrandName>
      <CategoryId>sample string 9</CategoryId>
      <CategoryName>sample string 8</CategoryName>
      <DailyDose>sample string 11</DailyDose>
      <Id>sample string 1</Id>
      <PrescriptionId>sample string 2</PrescriptionId>
      <ProductId>sample string 3</ProductId>
      <ProductName>sample string 4</ProductName>
      <ProductPrice>sample string 10</ProductPrice>
      <Quantity>sample string 5</Quantity>
      <Remarks>sample string 13</Remarks>
      <Units>sample string 12</Units>
    </MedicieneDetails>
    <MedicieneDetails>
      <BrandId>sample string 7</BrandId>
      <BrandName>sample string 6</BrandName>
      <CategoryId>sample string 9</CategoryId>
      <CategoryName>sample string 8</CategoryName>
      <DailyDose>sample string 11</DailyDose>
      <Id>sample string 1</Id>
      <PrescriptionId>sample string 2</PrescriptionId>
      <ProductId>sample string 3</ProductId>
      <ProductName>sample string 4</ProductName>
      <ProductPrice>sample string 10</ProductPrice>
      <Quantity>sample string 5</Quantity>
      <Remarks>sample string 13</Remarks>
      <Units>sample string 12</Units>
    </MedicieneDetails>
  </MedicieneDetails>
  <MedicineSummary>sample string 12</MedicineSummary>
  <Note>sample string 9</Note>
  <ObservationSummary>sample string 17</ObservationSummary>
  <PatientId>sample string 4</PatientId>
  <Quantity>sample string 8</Quantity>
  <Source>sample string 11</Source>
  <AppointmentDetails>
    <APIKey>sample string 16</APIKey>
    <Action>sample string 11</Action>
    <AppointmentDate>sample string 3</AppointmentDate>
    <AppointmentFor>sample string 10</AppointmentFor>
    <AppointmentId>sample string 1</AppointmentId>
    <AppointmentStatus>sample string 13</AppointmentStatus>
    <AppointmentTime>sample string 4</AppointmentTime>
    <AppointmentType>sample string 9</AppointmentType>
    <Category>sample string 5</Category>
    <CurrentDateTime>sample string 22</CurrentDateTime>
    <DoctorEmail>sample string 21</DoctorEmail>
    <DoctorName>sample string 20</DoctorName>
    <Fees>sample string 19</Fees>
    <IsHavePrescription>sample string 23</IsHavePrescription>
    <Note>sample string 8</Note>
    <PatientId>sample string 2</PatientId>
    <PreferredDoctor>sample string 6</PreferredDoctor>
    <SessionId>sample string 14</SessionId>
    <Source>sample string 12</Source>
    <SubCategory>sample string 7</SubCategory>
    <TimeZone>sample string 18</TimeZone>
    <TokenId>sample string 15</TokenId>
    <VideoCallStatus>sample string 17</VideoCallStatus>
  </AppointmentDetails>
  <Patientlist>
    <Action>sample string 24</Action>
    <Address1>sample string 14</Address1>
    <Address2>sample string 15</Address2>
    <BloodGroup>sample string 9</BloodGroup>
    <City>sample string 16</City>
    <Country>sample string 19</Country>
    <DOB>sample string 7</DOB>
    <ExtLoginID>sample string 22</ExtLoginID>
    <ExtLoginTokenID>sample string 23</ExtLoginTokenID>
    <ExternalLoginType>sample string 21</ExternalLoginType>
    <FirstName>sample string 4</FirstName>
    <Height>sample string 10</Height>
    <LastName>sample string 5</LastName>
    <MaritalStatus>sample string 12</MaritalStatus>
    <Occupation>sample string 13</Occupation>
    <PPassword>sample string 3</PPassword>
    <PUserName>sample string 2</PUserName>
    <PatientId>sample string 1</PatientId>
    <Phone>sample string 6</Phone>
    <Remarks>sample string 20</Remarks>
    <Sex>sample string 8</Sex>
    <Source>sample string 25</Source>
    <State>sample string 18</State>
    <Weight>sample string 11</Weight>
    <Zip>sample string 17</Zip>
  </Patientlist>
  <errors>
    <errors>
      <code>sample string 1</code>
      <description>sample string 2</description>
    </errors>
    <errors>
      <code>sample string 1</code>
      <description>sample string 2</description>
    </errors>
    <errors>
      <code>sample string 1</code>
      <description>sample string 2</description>
    </errors>
  </errors>
  <message>sample string 1</message>
  <result>sample string 2</result>
</AppointmentDetailsWithPrescriptionResponse>