0

I have this json coming from a client of my API:

{
  "device" : "37AB2C",
  "time" : "1552749097",
  "data" : "0d01da0c1600",
  "signal" : "Average",
  "payload" :[ 
  {
   "lat":49.21706417063655,
   "lng":16.627916371512473,
   "radius":9228,
   "source":2,
   "status":1
  }],
  "seqnumber": 1714
}

But according to my configuration it only updates the device" : "37AB2C", "time" : "1552749097", "data" : "0d01da0c1600", "signal" : "Average". and it inserts "-" for the nested payload values. How can I handle this situation inside my Update Rest API handler?

  • Please describe exactly how to reproduce this. "according to my configuration" does not mean anything to anyone with no access to your environment. Are you using apex rest sources ? Have you created your own rest code ? – Koen Lostrie Oct 20 '22 at 07:29

0 Answers0