POST api/TotalAyushCare/PrescriptionList

Documentation for 'PrescriptionList'.

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"
  },
  "details": {
    "Action": "sample string 1",
    "Source": "sample string 2",
    "SearchType": "sample string 3",
    "UserId": "sample string 4",
    "Id": "sample string 5",
    "FromDate": "sample string 6",
    "ToDate": "sample string 7",
    "Status": "sample string 8",
    "SearchValue": "sample string 9",
    "AppointmentType": "sample string 10",
    "DoctorId": "sample string 11"
  }
}

application/xml, text/xml

Sample:
<PrescriptionListRequest 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>
  <details>
    <Action>sample string 1</Action>
    <AppointmentType>sample string 10</AppointmentType>
    <DoctorId>sample string 11</DoctorId>
    <FromDate>sample string 6</FromDate>
    <Id>sample string 5</Id>
    <SearchType>sample string 3</SearchType>
    <SearchValue>sample string 9</SearchValue>
    <Source>sample string 2</Source>
    <Status>sample string 8</Status>
    <ToDate>sample string 7</ToDate>
    <UserId>sample string 4</UserId>
  </details>
</PrescriptionListRequest>

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 'PrescriptionListRequest'.

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",
  "Productlist": [
    {
      "Id": "sample string 1",
      "Name": "sample string 2",
      "Description": "sample string 3",
      "MakeId": "sample string 4",
      "CategoryId": "sample string 5",
      "InitialPrice": "sample string 6",
      "DiscountPercentage": "sample string 7",
      "Price": "sample string 8",
      "DefaultImage": "sample string 9",
      "Unit": "sample string 10",
      "Note": "sample string 11",
      "ExpiryDate": "sample string 12",
      "AddBy": "sample string 13",
      "Action": "sample string 14",
      "Source": "sample string 15"
    },
    {
      "Id": "sample string 1",
      "Name": "sample string 2",
      "Description": "sample string 3",
      "MakeId": "sample string 4",
      "CategoryId": "sample string 5",
      "InitialPrice": "sample string 6",
      "DiscountPercentage": "sample string 7",
      "Price": "sample string 8",
      "DefaultImage": "sample string 9",
      "Unit": "sample string 10",
      "Note": "sample string 11",
      "ExpiryDate": "sample string 12",
      "AddBy": "sample string 13",
      "Action": "sample string 14",
      "Source": "sample string 15"
    },
    {
      "Id": "sample string 1",
      "Name": "sample string 2",
      "Description": "sample string 3",
      "MakeId": "sample string 4",
      "CategoryId": "sample string 5",
      "InitialPrice": "sample string 6",
      "DiscountPercentage": "sample string 7",
      "Price": "sample string 8",
      "DefaultImage": "sample string 9",
      "Unit": "sample string 10",
      "Note": "sample string 11",
      "ExpiryDate": "sample string 12",
      "AddBy": "sample string 13",
      "Action": "sample string 14",
      "Source": "sample string 15"
    }
  ],
  "Makelist": [
    {
      "MakeMasterID": "sample string 1",
      "Name": "sample string 2",
      "ContactPerson": "sample string 3",
      "Phone1": "sample string 4",
      "Phone2": "sample string 5",
      "Email": "sample string 6",
      "BankName": "sample string 7",
      "AccountNumber": "sample string 8",
      "IFSCCode": "sample string 9",
      "AccountName": "sample string 10",
      "AddBy": "sample string 11",
      "Action": "sample string 12",
      "Source": "sample string 13"
    },
    {
      "MakeMasterID": "sample string 1",
      "Name": "sample string 2",
      "ContactPerson": "sample string 3",
      "Phone1": "sample string 4",
      "Phone2": "sample string 5",
      "Email": "sample string 6",
      "BankName": "sample string 7",
      "AccountNumber": "sample string 8",
      "IFSCCode": "sample string 9",
      "AccountName": "sample string 10",
      "AddBy": "sample string 11",
      "Action": "sample string 12",
      "Source": "sample string 13"
    },
    {
      "MakeMasterID": "sample string 1",
      "Name": "sample string 2",
      "ContactPerson": "sample string 3",
      "Phone1": "sample string 4",
      "Phone2": "sample string 5",
      "Email": "sample string 6",
      "BankName": "sample string 7",
      "AccountNumber": "sample string 8",
      "IFSCCode": "sample string 9",
      "AccountName": "sample string 10",
      "AddBy": "sample string 11",
      "Action": "sample string 12",
      "Source": "sample string 13"
    }
  ],
  "Categorylist": [
    {
      "CategoryId": "sample string 1",
      "CategoryName": "sample string 2",
      "Description": "sample string 3",
      "AddBy": "sample string 4",
      "Action": "sample string 5",
      "Source": "sample string 6"
    },
    {
      "CategoryId": "sample string 1",
      "CategoryName": "sample string 2",
      "Description": "sample string 3",
      "AddBy": "sample string 4",
      "Action": "sample string 5",
      "Source": "sample string 6"
    },
    {
      "CategoryId": "sample string 1",
      "CategoryName": "sample string 2",
      "Description": "sample string 3",
      "AddBy": "sample string 4",
      "Action": "sample string 5",
      "Source": "sample string 6"
    }
  ]
}

application/xml, text/xml

Sample:
<PrescriptionListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TotalAyushCare.Codes">
  <Categorylist>
    <Category>
      <Action>sample string 5</Action>
      <AddBy>sample string 4</AddBy>
      <CategoryId>sample string 1</CategoryId>
      <CategoryName>sample string 2</CategoryName>
      <Description>sample string 3</Description>
      <Source>sample string 6</Source>
    </Category>
    <Category>
      <Action>sample string 5</Action>
      <AddBy>sample string 4</AddBy>
      <CategoryId>sample string 1</CategoryId>
      <CategoryName>sample string 2</CategoryName>
      <Description>sample string 3</Description>
      <Source>sample string 6</Source>
    </Category>
    <Category>
      <Action>sample string 5</Action>
      <AddBy>sample string 4</AddBy>
      <CategoryId>sample string 1</CategoryId>
      <CategoryName>sample string 2</CategoryName>
      <Description>sample string 3</Description>
      <Source>sample string 6</Source>
    </Category>
  </Categorylist>
  <Makelist>
    <MakeMasterDetails>
      <AccountName>sample string 10</AccountName>
      <AccountNumber>sample string 8</AccountNumber>
      <Action>sample string 12</Action>
      <AddBy>sample string 11</AddBy>
      <BankName>sample string 7</BankName>
      <ContactPerson>sample string 3</ContactPerson>
      <Email>sample string 6</Email>
      <IFSCCode>sample string 9</IFSCCode>
      <MakeMasterID>sample string 1</MakeMasterID>
      <Name>sample string 2</Name>
      <Phone1>sample string 4</Phone1>
      <Phone2>sample string 5</Phone2>
      <Source>sample string 13</Source>
    </MakeMasterDetails>
    <MakeMasterDetails>
      <AccountName>sample string 10</AccountName>
      <AccountNumber>sample string 8</AccountNumber>
      <Action>sample string 12</Action>
      <AddBy>sample string 11</AddBy>
      <BankName>sample string 7</BankName>
      <ContactPerson>sample string 3</ContactPerson>
      <Email>sample string 6</Email>
      <IFSCCode>sample string 9</IFSCCode>
      <MakeMasterID>sample string 1</MakeMasterID>
      <Name>sample string 2</Name>
      <Phone1>sample string 4</Phone1>
      <Phone2>sample string 5</Phone2>
      <Source>sample string 13</Source>
    </MakeMasterDetails>
    <MakeMasterDetails>
      <AccountName>sample string 10</AccountName>
      <AccountNumber>sample string 8</AccountNumber>
      <Action>sample string 12</Action>
      <AddBy>sample string 11</AddBy>
      <BankName>sample string 7</BankName>
      <ContactPerson>sample string 3</ContactPerson>
      <Email>sample string 6</Email>
      <IFSCCode>sample string 9</IFSCCode>
      <MakeMasterID>sample string 1</MakeMasterID>
      <Name>sample string 2</Name>
      <Phone1>sample string 4</Phone1>
      <Phone2>sample string 5</Phone2>
      <Source>sample string 13</Source>
    </MakeMasterDetails>
  </Makelist>
  <Productlist>
    <Product>
      <Action>sample string 14</Action>
      <AddBy>sample string 13</AddBy>
      <CategoryId>sample string 5</CategoryId>
      <DefaultImage>sample string 9</DefaultImage>
      <Description>sample string 3</Description>
      <DiscountPercentage>sample string 7</DiscountPercentage>
      <ExpiryDate>sample string 12</ExpiryDate>
      <Id>sample string 1</Id>
      <InitialPrice>sample string 6</InitialPrice>
      <MakeId>sample string 4</MakeId>
      <Name>sample string 2</Name>
      <Note>sample string 11</Note>
      <Price>sample string 8</Price>
      <Source>sample string 15</Source>
      <Unit>sample string 10</Unit>
    </Product>
    <Product>
      <Action>sample string 14</Action>
      <AddBy>sample string 13</AddBy>
      <CategoryId>sample string 5</CategoryId>
      <DefaultImage>sample string 9</DefaultImage>
      <Description>sample string 3</Description>
      <DiscountPercentage>sample string 7</DiscountPercentage>
      <ExpiryDate>sample string 12</ExpiryDate>
      <Id>sample string 1</Id>
      <InitialPrice>sample string 6</InitialPrice>
      <MakeId>sample string 4</MakeId>
      <Name>sample string 2</Name>
      <Note>sample string 11</Note>
      <Price>sample string 8</Price>
      <Source>sample string 15</Source>
      <Unit>sample string 10</Unit>
    </Product>
    <Product>
      <Action>sample string 14</Action>
      <AddBy>sample string 13</AddBy>
      <CategoryId>sample string 5</CategoryId>
      <DefaultImage>sample string 9</DefaultImage>
      <Description>sample string 3</Description>
      <DiscountPercentage>sample string 7</DiscountPercentage>
      <ExpiryDate>sample string 12</ExpiryDate>
      <Id>sample string 1</Id>
      <InitialPrice>sample string 6</InitialPrice>
      <MakeId>sample string 4</MakeId>
      <Name>sample string 2</Name>
      <Note>sample string 11</Note>
      <Price>sample string 8</Price>
      <Source>sample string 15</Source>
      <Unit>sample string 10</Unit>
    </Product>
  </Productlist>
  <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>
</PrescriptionListResponse>