GET api/drugSelect/{drugID}?page={page}&pageSize={pageSize}&useSelectedNDCAsDefault={useSelectedNDCAsDefault}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
drugID

string

Required

page

integer

Default value is 1

pageSize

integer

Default value is 20

useSelectedNDCAsDefault

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

PagedResultModelOfDrugDetailModel
NameDescriptionTypeAdditional information
PageNumber

integer

None.

PageCount

integer

None.

PageSize

integer

None.

Items

Collection of DrugDetailModel

None.

TotalRecordCount

integer

None.

Response Formats

application/json, text/json, application/json-patch+json

Sample:
{
  "pageNumber": 1,
  "pageCount": 2,
  "pageSize": 3,
  "items": [
    {
      "url": "sample string 3",
      "id": 4,
      "drugType": "sample string 1",
      "drugName": "sample string 2",
      "forms": [
        {
          "isDefault": true,
          "form": "sample string 2",
          "strengths": [
            {
              "isDefault": true,
              "strengthValue": "sample string 2",
              "packageDescriptions": [
                {
                  "isDefault": true,
                  "ndc": "sample string 2",
                  "gpi": "sample string 3",
                  "packageDescription": "sample string 4",
                  "showPackageIndicator": true,
                  "quantities": [
                    {
                      "isDefault": true,
                      "quantity": 2.0
                    },
                    {
                      "isDefault": true,
                      "quantity": 2.0
                    }
                  ]
                },
                {
                  "isDefault": true,
                  "ndc": "sample string 2",
                  "gpi": "sample string 3",
                  "packageDescription": "sample string 4",
                  "showPackageIndicator": true,
                  "quantities": [
                    {
                      "isDefault": true,
                      "quantity": 2.0
                    },
                    {
                      "isDefault": true,
                      "quantity": 2.0
                    }
                  ]
                }
              ]
            },
            {
              "isDefault": true,
              "strengthValue": "sample string 2",
              "packageDescriptions": [
                {
                  "isDefault": true,
                  "ndc": "sample string 2",
                  "gpi": "sample string 3",
                  "packageDescription": "sample string 4",
                  "showPackageIndicator": true,
                  "quantities": [
                    {
                      "isDefault": true,
                      "quantity": 2.0
                    },
                    {
                      "isDefault": true,
                      "quantity": 2.0
                    }
                  ]
                },
                {
                  "isDefault": true,
                  "ndc": "sample string 2",
                  "gpi": "sample string 3",
                  "packageDescription": "sample string 4",
                  "showPackageIndicator": true,
                  "quantities": [
                    {
                      "isDefault": true,
                      "quantity": 2.0
                    },
                    {
                      "isDefault": true,
                      "quantity": 2.0
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "isDefault": true,
          "form": "sample string 2",
          "strengths": [
            {
              "isDefault": true,
              "strengthValue": "sample string 2",
              "packageDescriptions": [
                {
                  "isDefault": true,
                  "ndc": "sample string 2",
                  "gpi": "sample string 3",
                  "packageDescription": "sample string 4",
                  "showPackageIndicator": true,
                  "quantities": [
                    {
                      "isDefault": true,
                      "quantity": 2.0
                    },
                    {
                      "isDefault": true,
                      "quantity": 2.0
                    }
                  ]
                },
                {
                  "isDefault": true,
                  "ndc": "sample string 2",
                  "gpi": "sample string 3",
                  "packageDescription": "sample string 4",
                  "showPackageIndicator": true,
                  "quantities": [
                    {
                      "isDefault": true,
                      "quantity": 2.0
                    },
                    {
                      "isDefault": true,
                      "quantity": 2.0
                    }
                  ]
                }
              ]
            },
            {
              "isDefault": true,
              "strengthValue": "sample string 2",
              "packageDescriptions": [
                {
                  "isDefault": true,
                  "ndc": "sample string 2",
                  "gpi": "sample string 3",
                  "packageDescription": "sample string 4",
                  "showPackageIndicator": true,
                  "quantities": [
                    {
                      "isDefault": true,
                      "quantity": 2.0
                    },
                    {
                      "isDefault": true,
                      "quantity": 2.0
                    }
                  ]
                },
                {
                  "isDefault": true,
                  "ndc": "sample string 2",
                  "gpi": "sample string 3",
                  "packageDescription": "sample string 4",
                  "showPackageIndicator": true,
                  "quantities": [
                    {
                      "isDefault": true,
                      "quantity": 2.0
                    },
                    {
                      "isDefault": true,
                      "quantity": 2.0
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "url": "sample string 3",
      "id": 4,
      "drugType": "sample string 1",
      "drugName": "sample string 2",
      "forms": [
        {
          "isDefault": true,
          "form": "sample string 2",
          "strengths": [
            {
              "isDefault": true,
              "strengthValue": "sample string 2",
              "packageDescriptions": [
                {
                  "isDefault": true,
                  "ndc": "sample string 2",
                  "gpi": "sample string 3",
                  "packageDescription": "sample string 4",
                  "showPackageIndicator": true,
                  "quantities": [
                    {
                      "isDefault": true,
                      "quantity": 2.0
                    },
                    {
                      "isDefault": true,
                      "quantity": 2.0
                    }
                  ]
                },
                {
                  "isDefault": true,
                  "ndc": "sample string 2",
                  "gpi": "sample string 3",
                  "packageDescription": "sample string 4",
                  "showPackageIndicator": true,
                  "quantities": [
                    {
                      "isDefault": true,
                      "quantity": 2.0
                    },
                    {
                      "isDefault": true,
                      "quantity": 2.0
                    }
                  ]
                }
              ]
            },
            {
              "isDefault": true,
              "strengthValue": "sample string 2",
              "packageDescriptions": [
                {
                  "isDefault": true,
                  "ndc": "sample string 2",
                  "gpi": "sample string 3",
                  "packageDescription": "sample string 4",
                  "showPackageIndicator": true,
                  "quantities": [
                    {
                      "isDefault": true,
                      "quantity": 2.0
                    },
                    {
                      "isDefault": true,
                      "quantity": 2.0
                    }
                  ]
                },
                {
                  "isDefault": true,
                  "ndc": "sample string 2",
                  "gpi": "sample string 3",
                  "packageDescription": "sample string 4",
                  "showPackageIndicator": true,
                  "quantities": [
                    {
                      "isDefault": true,
                      "quantity": 2.0
                    },
                    {
                      "isDefault": true,
                      "quantity": 2.0
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "isDefault": true,
          "form": "sample string 2",
          "strengths": [
            {
              "isDefault": true,
              "strengthValue": "sample string 2",
              "packageDescriptions": [
                {
                  "isDefault": true,
                  "ndc": "sample string 2",
                  "gpi": "sample string 3",
                  "packageDescription": "sample string 4",
                  "showPackageIndicator": true,
                  "quantities": [
                    {
                      "isDefault": true,
                      "quantity": 2.0
                    },
                    {
                      "isDefault": true,
                      "quantity": 2.0
                    }
                  ]
                },
                {
                  "isDefault": true,
                  "ndc": "sample string 2",
                  "gpi": "sample string 3",
                  "packageDescription": "sample string 4",
                  "showPackageIndicator": true,
                  "quantities": [
                    {
                      "isDefault": true,
                      "quantity": 2.0
                    },
                    {
                      "isDefault": true,
                      "quantity": 2.0
                    }
                  ]
                }
              ]
            },
            {
              "isDefault": true,
              "strengthValue": "sample string 2",
              "packageDescriptions": [
                {
                  "isDefault": true,
                  "ndc": "sample string 2",
                  "gpi": "sample string 3",
                  "packageDescription": "sample string 4",
                  "showPackageIndicator": true,
                  "quantities": [
                    {
                      "isDefault": true,
                      "quantity": 2.0
                    },
                    {
                      "isDefault": true,
                      "quantity": 2.0
                    }
                  ]
                },
                {
                  "isDefault": true,
                  "ndc": "sample string 2",
                  "gpi": "sample string 3",
                  "packageDescription": "sample string 4",
                  "showPackageIndicator": true,
                  "quantities": [
                    {
                      "isDefault": true,
                      "quantity": 2.0
                    },
                    {
                      "isDefault": true,
                      "quantity": 2.0
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ],
  "totalRecordCount": 4
}