Retrieving Article Views GET

The DynaMed GET /user/article-views endpoint returns a list of the most recently viewed article titles, ids and time stamps. Before you can execute an article views call, you must have an ID token for the request header. The user ID, product family and user profile are obtained from the token. You may also indicate a maximum items returned limit.

Basic Retrieving of Article Views

Request

GET https://apis.ebsco.com/medsapi-dynamed/v1/user/article-views&maxItems=2

Response

{
 "_metadata": {
   "totalItems": 1,
   "links" [
        {
            "rel": "self",
            "href": "https://apis.ebsco.com/medsapi-dynamed/user/article-views&maxItems=2"
        }
    ],
  },
  "items": [
   {
      "id": "t316887",
      "title": "Diets for Weight Loss",
      "accessTime": "2023-04-18T11:40:59Z",
      "productId": "dmp",
      "slug": "/management/diets-for-weight-loss"
    }
  ]
}

Error Response Codes

The DynaMed GET article views endpoint can return one of the error response codes.