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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Nikita4More
Frequent Visitor

API connection with filters and operator

Hi Everyone,
 
Hope that you're fine.vI'm a both new developer with Power BI and API.
 
I'd like to :
 
   Connect with the IDMC API for creating a report for monitoring the worklfow.
 The goal is to get le list of workflow wich are the status are "Suspended" or "Failed" or "Warning" and by day. This report would be run twice by day : at 9 AM and  4 PM.
 
That I would like to do :
 
Make a link with theses parameters, as something like that : URL?runStatut={Suspended,Failed,Warning}&startTime like p_Morning_today
 
p_Morning_today can be = p_Morning concat with "T09" is a parameter created with Query M editor. 
(I found a on the net this , that I used for 
let
Source = let
 
Source1 = Date.ToText(DateTime.Date(DateTime.LocalNow()),"yyyy-MM-dd")
in
Source1
 
meta [IsParameterQuery=true, Type="Text", IsParameterQueryRequired=true]
in
Source)
 
and startTime looks like that "startTime": "2024-11-14T14:59:52Z"
For this, 
 
I made  a web connection, that 's ok
For getting a url that I could use, I use postman, and I can't have a good result for this :URL?runStatut={Suspended,Failed,Warning}
I cannot find a way to make a list 
 
Thanks a lot for your help. 🙂
Nikita4More_0-1731599907958.png

 

 
1 ACCEPTED SOLUTION
v-stephen-msft
Community Support
Community Support

Hi @Nikita4More ,

 

Thanks for reaching out to our community.

If you're having trouble with Postman, ensure that:

  • The URL is correctly formatted.
  • The API key (if required) is included in the headers.
  • The parameters are correctly passed in the query string.

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

1 REPLY 1
v-stephen-msft
Community Support
Community Support

Hi @Nikita4More ,

 

Thanks for reaching out to our community.

If you're having trouble with Postman, ensure that:

  • The URL is correctly formatted.
  • The API key (if required) is included in the headers.
  • The parameters are correctly passed in the query string.

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

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!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors