Retrieving Customers and Exclusions

The Dynamic Health Partner GET /content/content-set-exclusion-customers endpoint returns a list of all the customers and the content sets they have excluded. Administrators can hide Dynamic Health content sets through the Dynamic Health UI. Excluded content sets will not appear for users at that specific location. Before you can call the endpoint, you must have an 'Authorization' token for the request header.

Basic Retrieving of Customers and Exclusions

To Perform a Get Content Set Exclusions Customers Call (example):

Gather an access token. Please see Using the Client Credentials Grant for further information. You must supply the customer ID that is tied to the excluded content set.

Request

GET https://apis.ebsco.com/medsapi-dynamic-health/v1/content/content-set-exclusion-customers

Response

{
  "_metadata": {
    "totalItems": 1,
    "links": [
      {
        "rel": "self",
        "href": "https://apis.ebsco.com/medsapi-dynamic-health/v1/content/content-set-exclusion-customers"
      }
    ]
  },
  "items": [
    {
      "custId": "n12345"
    }
  ]
}

Error Response Codes

The Dynamic Health Partner GET content set exclusions for customers endpoint can return one of the error response codes.