Making Your First Request
Our interactive API Reference allows you to try the DynaMed Decisions endpoints. It is available to help you to make your first request and test the various parameters. For each endpoint, the interactive documentation provides you with the following:
- URL
- Description
- Parameter list
- Ability to try each endpoint with different parameters
- Ability to see the response to a specified request
- Code Samples in several languages. The code samples provided reflect the parameters entered into the reference parameter fields.
Interact with our endpoints and see the responses that you can expect back from DynaMed Decisions. For each endpoint in our API Reference, the description, recent requests, parameters and response variations are displayed under the URL. The code samples and actual response are displayed in the right hand column. Explore the endpoints by following the sequence of steps below. Navigate to the DynaMed Decisions API Reference to begin.
Authentication
- Click the Authorization section in the left-hand menu. The details for the /token endpoint are displayed in the middle column.
- Click the Base URL drop-down menu in the right-hand column.
- Select the /apis.ebsco.com/medsapi-auth/v1 base url.
Two choices are provided for the Base URL. Please verify that your Base URL in the right hand column is set to /apis.ebsco.com/medsapi-auth/v1.
- Enter client_credentials, dynamed-decisions, the EBSCO provided client id and the EBSCO provided client secret for the grant_type, product, client_id, and client_secret fields in the center column.
- Click the Try It! button. The API reference makes a request to the API with your desired parameters. The response is displayed in the RESPONSE section to the right.
The access_token field in the /medsapi-auth/v1/token response contains the Bearer token that is needed to access the DynaMed Decisions endpoints.
Retrieving Available Tools
- Click the Tools section in the left-hand menu.
- Click the Base URL drop-down menu in the right-hand menu.
- Select the /apis.ebsco.com/medsapi-dynamed-decisions/v1 base url. The details for the /medsapi-dynamed-decisions/v1/content/tools endpoint are displayed in the middle column.
Please ensure that the Base URL in the right-hand column is set to /apis.ebsco.com/medsapi-dynamed-decisions/v1.
- Set the Query Parameters. Enter the page for in the page field. Enter the page size for the pageSize field.
Please note that the Bearer field in the righthand column is automatically populated with the Bearer token if you called the /medsapi-auth/v1/token endpoint first.
- Click the Try It! button. The API reference makes a request to the API with your desired parameters. The endpoint searches DynaMed Decisions for a list of all tools that a user has subscribed to. The response is displayed in the RESPONSE section to the right.
Updated 29 days ago
