cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PowerAppUser875
Frequent Visitor

Updating a SharePoint Date and Time Column using "Send an HTTP an Request SharePoint" action

I'm trying to update a SharePoint date and time column via the "Send an HTTP Request to SharePoint" action, and I'm struggling to get the formatting correct.  Does anyone have the correct syntax or can tell me what's wrong with this action?  Thanks!

flow.png

 

flow2.PNG

 

1 ACCEPTED SOLUTION

Accepted Solutions
Expiscornovus
Super User
Super User

Hi @PowerAppUser875,

 

Could you try to change the body to this format? In other words, remove the curly brackets around the date time value.

 

{
  "__metadata": {
    "type": "SP.Data.@{variables('ListName')}ListItem"
  },
 "Title": "New title",
 "DateAssigned": "2020-11-24T18:39:05Z"
}

 

updatelistitem_datetime02.png

View solution in original post

2 REPLIES 2
Expiscornovus
Super User
Super User

Hi @PowerAppUser875,

 

Could you try to change the body to this format? In other words, remove the curly brackets around the date time value.

 

{
  "__metadata": {
    "type": "SP.Data.@{variables('ListName')}ListItem"
  },
 "Title": "New title",
 "DateAssigned": "2020-11-24T18:39:05Z"
}

 

updatelistitem_datetime02.png

Thanks!  I was at a total loss for what was wrong.  Such an obvious issue! 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (3,719)