Get Article Metadata
The DynaMed API GET /publishers/{publisherId}/documents/{documentId} endpoint returns the article metadata matching the publisher and document ID provided. The Publisher ID and Article ID parameters are required for the endpoint.
To Perform a Basic Article Metadata Request (example):
Gather the following information for the request:
- An access token. Please see Get Trusted App Token for further information.
- The Publisher ID.
- The Article ID.
Request
GET https://apis.ebsco.com/medsapi-dynamed/v2/content/publishers/mmx/documents/1234
The request above is for publisher "mmx" and article "1234".
Response
{
"id": "1234",
"links": [
{
"rel": "self",
"href": "https://apis.ebsco.com/medsapi-dynamed/v2/publishers/mmx/documents/1234"
}
],
"article": {
"id": "t123456",
"productFamily": "nahp",
"slug": "/management/heart-failure-alternative-treatments",
"title": "Heart Failure Alternative Treatments",
"pubType": {
"id": "drug",
"title": "Drug Monograph"
},
"links": [
{
"rel": "self",
"href": "https://apis.ebsco.com/medsapi-dynamed/v2/articles/t123456"
}
]
}
}
Error Response Codes
The DynaMed article metadata endpoint can return one of the error response codes.
