Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
jurgen_l
Regular Visitor

how to convert an api request to power query with freemarker syntax

In postman, I'm using following url to retreive data. Now I want to setup this in power bi, but i'm having syntax problems.

Url:  "https://mySite.com/tas/api/reservations?$top=10000&query=status=out=(rejectedRequest,cancelled),plan..."

This url works fine in postman

-->

keyvalue
$top10000
querystatus=out=(rejectedRequest,cancelled),plannedStartDate=ge=2024-01-01T00:00:00Z

 

The date will be replaced by function that shows the date of today.

To receive this data, I have to use the api because there is no other connections(such as O-Data feed) available.

 

Can someone help me?

 

 

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User
1 REPLY 1
lbendlin
Super User
Super User

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.