Due to the lack of a modern calendar interface and the limitations of corporate functions for websites, an attempt is made to create a flow that will copy calendar entries from one website collection to another.
First I tried to use the item information from the created / modified trigger to create the new calendar entries, but it does exist hidden Columns that are not available throw this interface (either to retrieve or set the newly created item) so I had to continue Send an HTTP request to SharePoint Step to get all the columns i need. That seems to be working and I'm getting a Json.
"Title": "Simple single event",
Description goes here!",
I follow the request step with one Analyze JSON step and I used this tutorial to change the schema and either convert the values to corresponding types or accept no value or zero, When I run a test, the output body for the analysis appears correct. I see what I have above and there are now dynamic variables that I can access. It looks right to me because things that are strings are in quotation marks, numbers and Boolean values have no quotation marks and are blue, just like zero.
My problem is trying to use this analyzed JSON data with a REST-POST to create a new element. Using the dynamic data names that were analyzed in the previous steps, I create such a body.
I have to add quotes for those I know are strings, but I don't see that for the Boolean values (fAllDayEvent or fRecurrence) not correct is changed to Not correct, And for those who might be zero, I don't know what to do. I want to pass on
null and not
"null", But at other times, the null values might actually be strings, and at that point they should have quotation marks.
I can't find any help because all the searches go back to json. And maybe that's the solution, but I don't understand how.
Is there any idea how the parsed JSON value can be passed to an endpoint for creating a REST POST element if it can be zero, string or number depending on the value?