Hi,
I’m trying the following. I have a task that inserts a row in a table ‘input_json’. This task is called as an endpoint, so a supplier can insert some data. The task works, but I have two issues;
The JSON:
{
"id": 123456789,
"package-id": "",
"timestamp": 1718105305,
"location": "Rotterdam",
"measurements": {
"dimensions": {
"height": 100.0,
"width": 100.0,
"depth": 100.0},
"weight": 100.00
}
}
My task fails to read the nested values. When I remove the nesting from the JSON and post, it works ok. How can this be mapped accordingly?
Secondly, the key ‘package-id’ has a score. SF always change my score (-) in the task parameter to a lower score, resulting that the value isn’t saved.
How can these two issues be resolved?
Thanks and kind regards!
Blommetje