GET api/NTOrderSettings/GetMedication?q={q}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
q

string

Required

Body Parameters

None.

Response Information

Resource Description

AsapResponseOfListOfMedicationDTO
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

Collection of MedicationDTO

None.

totalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "Sequence": 3,
      "Description": "sample string 4",
      "Protocols": "sample string 5",
      "lstMedicationDose": [
        {
          "Id": 1,
          "DoseName": "sample string 2",
          "Sequence": 3,
          "MedicationId": 4,
          "IsClassifiedAsMedicalTreatment": true,
          "TangAndCompanyCode": "sample string 6",
          "Instruction": "sample string 7",
          "IsFavourite": true,
          "Quantity": 1,
          "CPTCode": "sample string 9",
          "NDCCode": "sample string 10",
          "IsAuthorizationRequired": true,
          "ValidFlag": true,
          "DateCreated": "2024-11-21T00:29:39.7545843-08:00",
          "DateUpdated": "2024-11-21T00:29:39.7545843-08:00",
          "UserIDCreated": 15,
          "UserIDUpdated": 16,
          "CompanyCode": "sample string 17",
          "IsExcludeDiscount": true
        },
        {
          "Id": 1,
          "DoseName": "sample string 2",
          "Sequence": 3,
          "MedicationId": 4,
          "IsClassifiedAsMedicalTreatment": true,
          "TangAndCompanyCode": "sample string 6",
          "Instruction": "sample string 7",
          "IsFavourite": true,
          "Quantity": 1,
          "CPTCode": "sample string 9",
          "NDCCode": "sample string 10",
          "IsAuthorizationRequired": true,
          "ValidFlag": true,
          "DateCreated": "2024-11-21T00:29:39.7545843-08:00",
          "DateUpdated": "2024-11-21T00:29:39.7545843-08:00",
          "UserIDCreated": 15,
          "UserIDUpdated": 16,
          "CompanyCode": "sample string 17",
          "IsExcludeDiscount": true
        }
      ],
      "lstMedicationBrand": [
        {
          "Id": 1,
          "BrandName": "sample string 2",
          "Sequence": 3,
          "MedicationId": 4,
          "ValidFlag": true,
          "DateCreated": "2024-11-21T00:29:39.7545843-08:00",
          "DateUpdated": "2024-11-21T00:29:39.7545843-08:00",
          "UserIDCreated": 8,
          "UserIDUpdated": 9,
          "CompanyCode": "sample string 10",
          "IsExcludeDiscount": true
        },
        {
          "Id": 1,
          "BrandName": "sample string 2",
          "Sequence": 3,
          "MedicationId": 4,
          "ValidFlag": true,
          "DateCreated": "2024-11-21T00:29:39.7545843-08:00",
          "DateUpdated": "2024-11-21T00:29:39.7545843-08:00",
          "UserIDCreated": 8,
          "UserIDUpdated": 9,
          "CompanyCode": "sample string 10",
          "IsExcludeDiscount": true
        }
      ],
      "SearchedBrand": "sample string 6",
      "IsAuthorizationRequired": true,
      "ValidFlag": true,
      "DateCreated": "2024-11-21T00:29:39.7545843-08:00",
      "DateUpdated": "2024-11-21T00:29:39.7545843-08:00",
      "UserIDCreated": 11,
      "UserIDUpdated": 12,
      "CompanyCode": "sample string 13",
      "IsExcludeDiscount": true
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "Sequence": 3,
      "Description": "sample string 4",
      "Protocols": "sample string 5",
      "lstMedicationDose": [
        {
          "Id": 1,
          "DoseName": "sample string 2",
          "Sequence": 3,
          "MedicationId": 4,
          "IsClassifiedAsMedicalTreatment": true,
          "TangAndCompanyCode": "sample string 6",
          "Instruction": "sample string 7",
          "IsFavourite": true,
          "Quantity": 1,
          "CPTCode": "sample string 9",
          "NDCCode": "sample string 10",
          "IsAuthorizationRequired": true,
          "ValidFlag": true,
          "DateCreated": "2024-11-21T00:29:39.7545843-08:00",
          "DateUpdated": "2024-11-21T00:29:39.7545843-08:00",
          "UserIDCreated": 15,
          "UserIDUpdated": 16,
          "CompanyCode": "sample string 17",
          "IsExcludeDiscount": true
        },
        {
          "Id": 1,
          "DoseName": "sample string 2",
          "Sequence": 3,
          "MedicationId": 4,
          "IsClassifiedAsMedicalTreatment": true,
          "TangAndCompanyCode": "sample string 6",
          "Instruction": "sample string 7",
          "IsFavourite": true,
          "Quantity": 1,
          "CPTCode": "sample string 9",
          "NDCCode": "sample string 10",
          "IsAuthorizationRequired": true,
          "ValidFlag": true,
          "DateCreated": "2024-11-21T00:29:39.7545843-08:00",
          "DateUpdated": "2024-11-21T00:29:39.7545843-08:00",
          "UserIDCreated": 15,
          "UserIDUpdated": 16,
          "CompanyCode": "sample string 17",
          "IsExcludeDiscount": true
        }
      ],
      "lstMedicationBrand": [
        {
          "Id": 1,
          "BrandName": "sample string 2",
          "Sequence": 3,
          "MedicationId": 4,
          "ValidFlag": true,
          "DateCreated": "2024-11-21T00:29:39.7545843-08:00",
          "DateUpdated": "2024-11-21T00:29:39.7545843-08:00",
          "UserIDCreated": 8,
          "UserIDUpdated": 9,
          "CompanyCode": "sample string 10",
          "IsExcludeDiscount": true
        },
        {
          "Id": 1,
          "BrandName": "sample string 2",
          "Sequence": 3,
          "MedicationId": 4,
          "ValidFlag": true,
          "DateCreated": "2024-11-21T00:29:39.7545843-08:00",
          "DateUpdated": "2024-11-21T00:29:39.7545843-08:00",
          "UserIDCreated": 8,
          "UserIDUpdated": 9,
          "CompanyCode": "sample string 10",
          "IsExcludeDiscount": true
        }
      ],
      "SearchedBrand": "sample string 6",
      "IsAuthorizationRequired": true,
      "ValidFlag": true,
      "DateCreated": "2024-11-21T00:29:39.7545843-08:00",
      "DateUpdated": "2024-11-21T00:29:39.7545843-08:00",
      "UserIDCreated": 11,
      "UserIDUpdated": 12,
      "CompanyCode": "sample string 13",
      "IsExcludeDiscount": true
    }
  ],
  "totalCount": 3
}

application/xml, text/xml

Sample:
<AsapResponseOfArrayOfMedicationDTO3NYuOdgi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Common">
  <isSuccess>true</isSuccess>
  <jsonObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">
    <d2p1:MedicationDTO>
      <d2p1:CompanyCode>sample string 13</d2p1:CompanyCode>
      <d2p1:DateCreated>2024-11-21T00:29:39.7545843-08:00</d2p1:DateCreated>
      <d2p1:DateUpdated>2024-11-21T00:29:39.7545843-08:00</d2p1:DateUpdated>
      <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
      <d2p1:UserIDCreated>11</d2p1:UserIDCreated>
      <d2p1:UserIDUpdated>12</d2p1:UserIDUpdated>
      <d2p1:ValidFlag>true</d2p1:ValidFlag>
      <d2p1:Description>sample string 4</d2p1:Description>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsAuthorizationRequired>true</d2p1:IsAuthorizationRequired>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:Protocols>sample string 5</d2p1:Protocols>
      <d2p1:SearchedBrand>sample string 6</d2p1:SearchedBrand>
      <d2p1:Sequence>3</d2p1:Sequence>
      <d2p1:lstMedicationBrand>
        <d2p1:MedicationBrandDTO>
          <d2p1:CompanyCode>sample string 10</d2p1:CompanyCode>
          <d2p1:DateCreated>2024-11-21T00:29:39.7545843-08:00</d2p1:DateCreated>
          <d2p1:DateUpdated>2024-11-21T00:29:39.7545843-08:00</d2p1:DateUpdated>
          <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
          <d2p1:UserIDCreated>8</d2p1:UserIDCreated>
          <d2p1:UserIDUpdated>9</d2p1:UserIDUpdated>
          <d2p1:ValidFlag>true</d2p1:ValidFlag>
          <d2p1:BrandName>sample string 2</d2p1:BrandName>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:MedicationId>4</d2p1:MedicationId>
          <d2p1:Sequence>3</d2p1:Sequence>
        </d2p1:MedicationBrandDTO>
        <d2p1:MedicationBrandDTO>
          <d2p1:CompanyCode>sample string 10</d2p1:CompanyCode>
          <d2p1:DateCreated>2024-11-21T00:29:39.7545843-08:00</d2p1:DateCreated>
          <d2p1:DateUpdated>2024-11-21T00:29:39.7545843-08:00</d2p1:DateUpdated>
          <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
          <d2p1:UserIDCreated>8</d2p1:UserIDCreated>
          <d2p1:UserIDUpdated>9</d2p1:UserIDUpdated>
          <d2p1:ValidFlag>true</d2p1:ValidFlag>
          <d2p1:BrandName>sample string 2</d2p1:BrandName>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:MedicationId>4</d2p1:MedicationId>
          <d2p1:Sequence>3</d2p1:Sequence>
        </d2p1:MedicationBrandDTO>
      </d2p1:lstMedicationBrand>
      <d2p1:lstMedicationDose>
        <d2p1:MedicationDoseDTO>
          <d2p1:CompanyCode>sample string 17</d2p1:CompanyCode>
          <d2p1:DateCreated>2024-11-21T00:29:39.7545843-08:00</d2p1:DateCreated>
          <d2p1:DateUpdated>2024-11-21T00:29:39.7545843-08:00</d2p1:DateUpdated>
          <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
          <d2p1:UserIDCreated>15</d2p1:UserIDCreated>
          <d2p1:UserIDUpdated>16</d2p1:UserIDUpdated>
          <d2p1:ValidFlag>true</d2p1:ValidFlag>
          <d2p1:CPTCode>sample string 9</d2p1:CPTCode>
          <d2p1:DoseName>sample string 2</d2p1:DoseName>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:Instruction>sample string 7</d2p1:Instruction>
          <d2p1:IsAuthorizationRequired>true</d2p1:IsAuthorizationRequired>
          <d2p1:IsClassifiedAsMedicalTreatment>true</d2p1:IsClassifiedAsMedicalTreatment>
          <d2p1:IsFavourite>true</d2p1:IsFavourite>
          <d2p1:MedicationId>4</d2p1:MedicationId>
          <d2p1:NDCCode>sample string 10</d2p1:NDCCode>
          <d2p1:Quantity>1</d2p1:Quantity>
          <d2p1:Sequence>3</d2p1:Sequence>
          <d2p1:TangAndCompanyCode>sample string 6</d2p1:TangAndCompanyCode>
        </d2p1:MedicationDoseDTO>
        <d2p1:MedicationDoseDTO>
          <d2p1:CompanyCode>sample string 17</d2p1:CompanyCode>
          <d2p1:DateCreated>2024-11-21T00:29:39.7545843-08:00</d2p1:DateCreated>
          <d2p1:DateUpdated>2024-11-21T00:29:39.7545843-08:00</d2p1:DateUpdated>
          <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
          <d2p1:UserIDCreated>15</d2p1:UserIDCreated>
          <d2p1:UserIDUpdated>16</d2p1:UserIDUpdated>
          <d2p1:ValidFlag>true</d2p1:ValidFlag>
          <d2p1:CPTCode>sample string 9</d2p1:CPTCode>
          <d2p1:DoseName>sample string 2</d2p1:DoseName>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:Instruction>sample string 7</d2p1:Instruction>
          <d2p1:IsAuthorizationRequired>true</d2p1:IsAuthorizationRequired>
          <d2p1:IsClassifiedAsMedicalTreatment>true</d2p1:IsClassifiedAsMedicalTreatment>
          <d2p1:IsFavourite>true</d2p1:IsFavourite>
          <d2p1:MedicationId>4</d2p1:MedicationId>
          <d2p1:NDCCode>sample string 10</d2p1:NDCCode>
          <d2p1:Quantity>1</d2p1:Quantity>
          <d2p1:Sequence>3</d2p1:Sequence>
          <d2p1:TangAndCompanyCode>sample string 6</d2p1:TangAndCompanyCode>
        </d2p1:MedicationDoseDTO>
      </d2p1:lstMedicationDose>
    </d2p1:MedicationDTO>
    <d2p1:MedicationDTO>
      <d2p1:CompanyCode>sample string 13</d2p1:CompanyCode>
      <d2p1:DateCreated>2024-11-21T00:29:39.7545843-08:00</d2p1:DateCreated>
      <d2p1:DateUpdated>2024-11-21T00:29:39.7545843-08:00</d2p1:DateUpdated>
      <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
      <d2p1:UserIDCreated>11</d2p1:UserIDCreated>
      <d2p1:UserIDUpdated>12</d2p1:UserIDUpdated>
      <d2p1:ValidFlag>true</d2p1:ValidFlag>
      <d2p1:Description>sample string 4</d2p1:Description>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsAuthorizationRequired>true</d2p1:IsAuthorizationRequired>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:Protocols>sample string 5</d2p1:Protocols>
      <d2p1:SearchedBrand>sample string 6</d2p1:SearchedBrand>
      <d2p1:Sequence>3</d2p1:Sequence>
      <d2p1:lstMedicationBrand>
        <d2p1:MedicationBrandDTO>
          <d2p1:CompanyCode>sample string 10</d2p1:CompanyCode>
          <d2p1:DateCreated>2024-11-21T00:29:39.7545843-08:00</d2p1:DateCreated>
          <d2p1:DateUpdated>2024-11-21T00:29:39.7545843-08:00</d2p1:DateUpdated>
          <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
          <d2p1:UserIDCreated>8</d2p1:UserIDCreated>
          <d2p1:UserIDUpdated>9</d2p1:UserIDUpdated>
          <d2p1:ValidFlag>true</d2p1:ValidFlag>
          <d2p1:BrandName>sample string 2</d2p1:BrandName>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:MedicationId>4</d2p1:MedicationId>
          <d2p1:Sequence>3</d2p1:Sequence>
        </d2p1:MedicationBrandDTO>
        <d2p1:MedicationBrandDTO>
          <d2p1:CompanyCode>sample string 10</d2p1:CompanyCode>
          <d2p1:DateCreated>2024-11-21T00:29:39.7545843-08:00</d2p1:DateCreated>
          <d2p1:DateUpdated>2024-11-21T00:29:39.7545843-08:00</d2p1:DateUpdated>
          <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
          <d2p1:UserIDCreated>8</d2p1:UserIDCreated>
          <d2p1:UserIDUpdated>9</d2p1:UserIDUpdated>
          <d2p1:ValidFlag>true</d2p1:ValidFlag>
          <d2p1:BrandName>sample string 2</d2p1:BrandName>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:MedicationId>4</d2p1:MedicationId>
          <d2p1:Sequence>3</d2p1:Sequence>
        </d2p1:MedicationBrandDTO>
      </d2p1:lstMedicationBrand>
      <d2p1:lstMedicationDose>
        <d2p1:MedicationDoseDTO>
          <d2p1:CompanyCode>sample string 17</d2p1:CompanyCode>
          <d2p1:DateCreated>2024-11-21T00:29:39.7545843-08:00</d2p1:DateCreated>
          <d2p1:DateUpdated>2024-11-21T00:29:39.7545843-08:00</d2p1:DateUpdated>
          <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
          <d2p1:UserIDCreated>15</d2p1:UserIDCreated>
          <d2p1:UserIDUpdated>16</d2p1:UserIDUpdated>
          <d2p1:ValidFlag>true</d2p1:ValidFlag>
          <d2p1:CPTCode>sample string 9</d2p1:CPTCode>
          <d2p1:DoseName>sample string 2</d2p1:DoseName>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:Instruction>sample string 7</d2p1:Instruction>
          <d2p1:IsAuthorizationRequired>true</d2p1:IsAuthorizationRequired>
          <d2p1:IsClassifiedAsMedicalTreatment>true</d2p1:IsClassifiedAsMedicalTreatment>
          <d2p1:IsFavourite>true</d2p1:IsFavourite>
          <d2p1:MedicationId>4</d2p1:MedicationId>
          <d2p1:NDCCode>sample string 10</d2p1:NDCCode>
          <d2p1:Quantity>1</d2p1:Quantity>
          <d2p1:Sequence>3</d2p1:Sequence>
          <d2p1:TangAndCompanyCode>sample string 6</d2p1:TangAndCompanyCode>
        </d2p1:MedicationDoseDTO>
        <d2p1:MedicationDoseDTO>
          <d2p1:CompanyCode>sample string 17</d2p1:CompanyCode>
          <d2p1:DateCreated>2024-11-21T00:29:39.7545843-08:00</d2p1:DateCreated>
          <d2p1:DateUpdated>2024-11-21T00:29:39.7545843-08:00</d2p1:DateUpdated>
          <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
          <d2p1:UserIDCreated>15</d2p1:UserIDCreated>
          <d2p1:UserIDUpdated>16</d2p1:UserIDUpdated>
          <d2p1:ValidFlag>true</d2p1:ValidFlag>
          <d2p1:CPTCode>sample string 9</d2p1:CPTCode>
          <d2p1:DoseName>sample string 2</d2p1:DoseName>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:Instruction>sample string 7</d2p1:Instruction>
          <d2p1:IsAuthorizationRequired>true</d2p1:IsAuthorizationRequired>
          <d2p1:IsClassifiedAsMedicalTreatment>true</d2p1:IsClassifiedAsMedicalTreatment>
          <d2p1:IsFavourite>true</d2p1:IsFavourite>
          <d2p1:MedicationId>4</d2p1:MedicationId>
          <d2p1:NDCCode>sample string 10</d2p1:NDCCode>
          <d2p1:Quantity>1</d2p1:Quantity>
          <d2p1:Sequence>3</d2p1:Sequence>
          <d2p1:TangAndCompanyCode>sample string 6</d2p1:TangAndCompanyCode>
        </d2p1:MedicationDoseDTO>
      </d2p1:lstMedicationDose>
    </d2p1:MedicationDTO>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfArrayOfMedicationDTO3NYuOdgi>