Hi,
I have an API that has an output that looks like below. can anyone suggest to me how to add data to the database without changing any output from the API?
Discussion posts and replies are publicly visible
Like others said, you need to convert the output in various CDTs and then save it, if you want to filter and report on this data later. Else, you can just cast this data into a JSON using a!toJson() and just store it as a string value.