Skip to main content

Using the API, can I include an update as I create an item?

  • March 27, 2024
  • 2 replies
  • 266 views

Is it possible to include some update text when creating a new item via the API? I saw a related question involving a more complicated Python script with loops, etc. where the response was that it would be necessary to create the item first, capture the item ID, and then add the update. Is that always the case?

Related to my question, could the update string be included from a variable in JSON? How might that work?

2 replies

dvdsmpsn
Forum|alt.badge.img+1
  • Participating Frequently
  • March 27, 2024

Maybe do it in 2 requests?


  • Author
  • New Participant
  • March 28, 2024

Yes, that’s kind of what I figured. I’m hoping to automate this process, triggered from an event via Microsoft PowerAutomate M365, so that makes it a bit more complicated but likely possible.