Get All Custom Articles
The Dynamic Health EBSCO Partner API GET /content/custom-articles endpoint returns a list of all custom articles for a specified customer. The request must include the customerId query parameter and an 'Authorization' token for the request header.
To Perform a Get All Custom Articles Search (example):
Gather an access token for the request. Please see Use the Client Credentials Grant for further information.
Request
GET https://apis.ebsco.com/medsapi-partner-dynamic-health/v1/content/custom-articles?customerId=customer-one
Response
{ "_metadata": { "links": [ { "rel": "self", "href": "https://apis.ebsco.com/medsapi-partner-dynamic-health/v1/content/custom-articles?customerId=customer-one" } ], "totalItems": 4 }, "items": [ { "id": "C1597823307139", "title": "title 1", "slug": "c1597823307139-title-1", "status": "PUBLISHED", "customer": { "id": "customer-one" }, "lastUpdate": { "timestamp": "2020-08-19T07:48:27.000Z", "username": "msmith" }, "links": [ { "rel": "self", "href": "https://apis.ebsco.com/medsapi-partner-dynamic-health/v1/content/custom-articles?customerId=customer-one&articleId=C1597823307139" } ] }, { "id": "C1594065823173", "title": "Wooooow 2", "slug": "c1594065823173-wooooow-2", "status": "PUBLISHED", "customer": { "id": "customer-one" }, "lastUpdate": { "timestamp": "2020-08-19T07:47:45.000Z", "username": "msmith" }, "links": [ { "rel": "self", "href": "https://apis.ebsco.com/medsapi-partner-dynamic-health/v1/content/custom-articles?customerId=customer-one&articleId=C1594065823173" } ] }, { "id": "C1594309633598", "title": "Test Skill 2", "slug": "c1594309633598-test-skill-2", "status": "PUBLISHED", "customer": { "id": "customer-one" }, "lastUpdate": { "timestamp": "2020-07-09T15:47:14.000Z", "username": "msmith" }, "links": [ { "rel": "self", "href": "https://apis.ebsco.com/medsapi-partner-dynamic-health/v1/content/custom-articles?customerId=customer-one&articleId=C1594309633598" } ] }, { "id": "C1594151401106", "title": "test skill", "slug": "c1594151401106-test-skill", "status": "PUBLISHED", "customer": { "id": "customer-one" }, "lastUpdate": { "timestamp": "2020-07-09T15:46:53.000Z", "username": "msmith" }, "links": [ { "rel": "self", "href": "https://apis.ebsco.com/medsapi-partner-dynamic-health/v1/content/custom-articles?customerId=customer-one&articleId=C1594151401106" } ] } ] }
Error Response Codes
The Dynamic Health EBSCO Partner endpoints can return one of the error response codes.