Quantcast
Channel: Power Query topics
Viewing all articles
Browse latest Browse all 31099

Designing Power Query GET request from HTTP API documentation

$
0
0

Hi! 

 

I'm trying to write a Power Query to get data from Dataverse Audit logs web api. 

This should be achieavable according to this Microsoft documentation page: Retrieve the history of audited data changes - Power Apps | Microsoft Learn

 

An example from the documentation above is the following code example. This is also what I am trying to write in Power Query, sentral elements being the ability to specify the target table and paging routine. 

 

 

GET [Organization URI]/api/data/v9.2/RetrieveAttributeChangeHistory(Target=@target,AttributeLogicalName=@attributeLogicalName,PagingInfo=@paginginfo)? @target={ '@odata.id':'accounts(611e7713-68d7-4622-b552-85060af450bc)'}&@attributeLogicalName='description'&@paginginfo={ "PageNumber": 1, "Count": 1, "ReturnTotalRecordCount": true } Accept: application/json OData-MaxVersion: 4.0 OData-Version: 4.0 If-None-Match: null

 

 

All examples I am able to find online are very simple and banale and do not help much. 
Anyone with some help designing a PQ for this would be much appreciated.

 

Best

-PJ

 


Viewing all articles
Browse latest Browse all 31099

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>