Hi Everyone,
I am currently writing EPL script that listens for measurements and, for each of this measurements, it sends POST request to a microservice deployed on Cumulocity. The problem is that some of the properties inside payload have to be in specific order.
Example of proper payload:
{
...
"datapoint":
[
{
"y1": "",
"y2": "",
"x1": "",
"x2": ""
}
],
...
}
Example of invalid payload (required order: y1->y2->x1->x2):
...
"datapoint":
[
{
"y1": "",
"x2": "",
"x1": "",
"y2": ""
}
],
...
Is it somehow possible to maintain the order of properties while sending the request?
Thank you in advance!