Retrieving Drug Article Section GET

The DynaMedex API GET /content/slugs/{slug}/detail/sections/{sectionId} endpoint returns the section matching the slug and section ID provided. The slug and section ID are required parameters for the endpoint.

Basic Retrieving of a Drug Article Section

To Get a Basic Article (example):

Gather the following information for the request:

  • An access token. Please see Using the Client Credentials Grant for further information.
  • The slug of the article to retrieve.
  • The section ID to retrieve. This can be a section name, such as "adultDosageSection". Or, if you just want the first section, use "first_section".

Request

GET https://apis.ebsco.com/medsapi-dynamedex/v1/content/slugs/drug-monograph/acebutolol/detail/sections/adultDosageSection

The request above is for the section called "adultDosageSection" in the article "/drug-monograph/acebutolol". Many DynaMed and DynaMedex endpoints return slugs in the form /pubtypeId/articleTitle. The slug can be used, including the lead slash, with this endpoint.

Response

{
  "id": "1477",
  "sectionId": "adultDosageSection",
  "content": "<div class=\"mapping-link\" data-href=\"adultDosageSection\" data-title=\"Adult Dosing\"></div><div class=\"DMX_div\" id=\"normalSection\"></div><div class=\"subsections_title_docLandingPage DMX_div\"><div class=\"subtitle_docLandingPage DMX_div\" id=\"#1.3.1\"><h4 class=\"DMX_h4\">Normal Dosage</h4>... </div></div></div>",
  "links": [
    {
      "href": "https://apis.ebsco.com/medsapi-dynamedex/v1/content/slugs/drug-monograph/acebutolol/detail/sections/adultDosageSection",
      "rel": "self"
    }
  ]
}

Error Response Codes

The DynaMedex GET search for articles endpoint can return one of the error response codes.