Once you've completed the steps to retrieved your access token, you will be able to access any of the APIs with it until it expires. Once the access token has expired, you will need to request a new access token using your provided credentials.
How to Use the Access Token:
1. In the Swagger site that lists all the available APIs for Smartcare, click on which section you will like to pull information for.
2. Grab the URL for which request you will be using.
- Note: If you would like to use a request that requires an ID, (example: tenantID, CenterID, ChildID) then you will first have to run those API requests to obtain the proper ID.
3. Ensure you set the proper Method for your request ('GET' or 'POST')
4. Add in your Header: Authorization to: Bearer {Insert access_token here}
5. Once this has been filled out, submit your request. If done properly, you will receive a Status Code: 200 along with your data in JSON format