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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

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

Top Solution Authors