- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2025 04:09 AM
Hi Folks,
I need to store JSON response to a custom table. Currently i am triggering REST call using scheduled job and i am able to see the JSON response in logs however now i need to store those responses in my custom table where i have created few fields, i have below script which is not working , i mean the response is not getting stored in table. I believe there is some issue with parsing :
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2025 07:23 AM
Hi @J Siva It got resolved with below syntax:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2025 04:28 AM
Hello @Vijay Baokar ,
Try using
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2025 05:53 AM
Hi @Mohith Devatte it didn't work the way you suggested. I believe using parsedResponse[i].msdyn_postalcode; is same as item.msdyn_postalcode; because we are already using below syntax:
var item = parsedResponse[i];
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2025 04:48 AM
Hi @Vijay Baokar
The issue is with the payload data. I tried to parse the payload using a background script and received an 'Unexpected Escape Character' error.
The Key:Value pairs @odata.etag":"W/\"162761876452\" and @odata.etag":"W/\"162761876399\" are causing an issue.
Regards,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2025 07:23 AM
Hi @J Siva It got resolved with below syntax: