Get PubType Exclusions
The Dynamic Health GET /content/pubtype-exclusions endpoint returns a list of excluded pubTypes. Administrators can hide Dynamic Health pubTypes. Excluded pubTypes will not appear for users at that specific location. Before you can execute a pubTypes exclusions call, you must have an 'Authorization' token for the request header.
To Perform an Excluded PubTypes Search (example):
Gather an access token. Please see Use the Client Credentials Grant for further information.
Request
GET https://apis.ebsco.com/medsapi-dynamic-health/v1/content/pubtype-exclusions
Response
{ "_metadata": { "totalItems": 1, "links": [ { "rel": "self", "href": "https://apis.ebsco.com/medsapi-dynamic-health/v1/content/pubtype-exclusions" } ] }, "items": [ { "contentSet": "drug-monographs", "type": "pubType" } ] }
Error Response Codes
The Dynamic Health GET pubType exclusions endpoint can return one of the error response codes.