Your question may already have an answer on the community forum. Please search for related topics, and then read through the guidelines before creating a new topic.
Here’s an outline with best practices for making your inquiry.
My question:
I am trying to follow this instruction. How do I go about doing it?
Requesting a Token:
Use the URL you were provided with the key and secret with the following additions - /rest/api/token
To request the token, concatenate the key and secret together separated by a “:” and then base 64 encode it
Send that to the URL to get the token
The grant_type should always be set to client_credentials
The access tokens are good for 5 minutes
The refresh tokens are typically good for 30 days
I have following information provided (API Client ID and API Secret):
We have completed the isolved setup for the Beecan Health API testing.
URL: https://snfpayroll.myisolved.com/
API Client ID: 7b9f39xxxxxxxxxxc1cf77x
API Secret: 2bkFFe8rctsEhNxxxxxxxxxm58n5WupkhGIq6Qx
Try and get it working in Postman first. The settings for Azure Data Factory are different, and I doubt anyone here can help with that but can help with trying to get it working in Postman.
You need to create a GET request to the api/clients URL and set the options for the token in the authorisation tab.
In Postman, this should be the following which hopefully you can match up to the instructions.
The access token URL should end with api/token as per the instructions.
This is down to the API. The documentation is a bit lacking.
Use the token to get a list of clients. Use the URL you were provided with the key and secret with the following additions.
Except for, it doesn’t say specifically how to need to use it in this part as it does in the “requesting a token” section.
It looks like there are only two options, so try both.
All requests are show in the console.log, and this includes the authorisation ones.
You should see two API calls, the first one for authentication, and then the main request. You should be able to see if the authentication request is returning any details or not.
Thank you so much.
I am trying to get a response from a Microsoft engineer on the Azure Data Factory side for an error that I got.
This is link for their support site for my question (as a reference).
They mentioned about using “Basic” instead of “OAuth”, and I am not sure which data source I need to use to pull data. How do we specify that information?
Sorry. API is so new to me, and I am trying to get each clue one at a time.
By creating a new request in Postman and adding the URL. I haven’t included the any of the secret info and I expect it to fail. But I was expecting something like you are not authorised.
The error might be correct though. It can’t find that end point as I’m not whitelisted to see it. Which may be the same issue you are having.