Posted 21 February 2023, 2:34 am EST
I’m trying to call an api and passing the parameters in a json obj in the body of a post.
i have 3 fields, a startDate, endDate, and DateType.
{{“StartDate”: “@ StartDate”, “EndDate”:“@ EndDate”, “DateType”:“@ DateType”}}(i had to add the space between @ and the name for the forum)
i tried the above but its not parsing properly in the .net 6 api. If i remove the outer {} it wont save in the report builder. One attempt did serialize after i changed the DateTime type to string but the value was @StartDate. Any guidance on how do this you could offer would be appreciated.