MEDS API Documentation Title

 

 

Browse our guides and interact with our API reference for more information about MEDSAPI DynaMed. Try MEDSAPI DynaMed and learn about core concepts.

 

 

 

 

Retrieving Drug Article Table of Contents by Slug

The DynaMedex API GET /content/slugs{slug}/detail/toc endpoint returns the table of contents matching the slug provided.  The slug to retrieve is a required parameters for the endpoint.

To Get a Basic Article (example):

Gather the following information for the request:

Request

GET https://apis.ebsco.com/medsapi-dynamed/v1/content/slugs/drug-monograph/acebutolol/detail/toc

The request above is for the table of contents for the article /drug-monograph/acebutolol.  Many DynaMedex endpoints return slugs in the form /pubtypeId/articleTitle.  The slug can be used, including the lead slash,  with this endpoint.

Response

{
  "links": [
    {
      "rel": "self",
      "href": "https://apis.ebsco.com/medsapi-dynamed/v1/content/slugs/drug-monograph/acebutolol/detail/toc"
    }
  ],
  "id": "1477",
  "title": "ACEBUTOLOL",
  "toc": [
    {
      "title": "Dosing/Administration",
      "subsection": [
        {
          "title": "Adult Dosing",
          "sectionId": "adultDosageSection"
        },
		...
	  ],
	  ...
	},
	...
  ]
}

Error Response Codes

The DynaMedex details toc endpoint can return one of the error response codes.