web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / http request assistance
Power Automate
Answered

http request assistance

(0) ShareShare
ReportReport
Posted on by 1,164

Hi

 

Turns out using Sharepoint Get will not work for my use case as I am searching for a column that contains some null results. Instead http post is the answer

 

I have it working with

 

 

_api/web/lists/getbytitle('MyList')/Items?$filter=AssignedTo%20eq%20null

 

 

but I would like to add a second filter on the Created column (date column) in Sharepoint list

 

 

Created lt 'addDays(convertFromUtc(utcNow(),'AUS Eastern Standard Time'),2,'yyyy-MM-dd')'

 

 

but the following is throwing a Expression is not valid error

 

 

_api/web/lists/getbytitle('MyList')/Items?$filter=AssignedTo%20eq%20null%20and%20CreatedDate%20gt%20%27addDays(convertFromUtc(utcNow(),%27AUS%20Eastern%20Standard%20Time%27),2,%27yyyy-MM-dd%27)%27

 

 Thanks in advance for any assistance

 

Todd

Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,195 Most Valuable Professional on at

    Hi @Tango,

     

    It looks like you have added the expression as plain text. 

     

    Can you try this instead and see if that makes a difference?

    _api/web/lists/getbytitle('MyList')/Items?$filter=AssignedTo eq null and Created lt '@{addDays(convertFromUtc(utcNow(),'AUS Eastern Standard Time'),2,'yyyy-MM-dd')}'

     

  • Tango Profile Picture
    1,164 on at

    Thanks so much @Expiscornovus Much appreciated

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard