Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Unleashed inventory system and Power Query

Good afternoon,   I am trying to write queries to our firm's instance of Unleashed, an inventory management software (https://www.unleashedsoftware.com/).   I have searched the web and forum for ...
  • otravers's avatar
    4 years ago

    You'll have to write your own headers in your Power Query function to send the api-auth-id, api-auth-signature, and other headers requested by the Unleashed API. Authenticate as "anonymous" in Power BI and handle all the authentication requirements in your M code. You're in luck that Unleash is simple as they don't require Oauth tokens.

     

    There's no "standard methology" because every API is different. It's very rare that you'll find M documentation from an API provider, usually you'll have cURL, JavaScript, Python, PHP... the usual suspects. Best place to start is from the vendor sandbox as you did, or use Postman if there's no sandbox.

     

    Chris Webb has good content on his blog about making API calls from Power BI. It's not for the faint of heart, but it can be done. Not the easiest thing to do if you've never used Power Query before as you're likely to go from on roadblock to the next, that said it would be a great learning experience if you have the time and inclination.