- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2017 05:08 AM
Hello.
I have a business rule that send data to the endpoint.
Here's my configuration:
Sure, I have my own Endpoint name and method name.
Here's data that I created via REST API Explorer:
And here's what I've got on the endpoint:
As you can see, all the fields are empty. The only thing I have is something like sys_package. It's the same all the time.
It looks like it just lets me know that I have create a record, but it doesn't send any details about this record in this table.
So, what I have to do to achieve data?
P.S.
I'm not sure about is it OK to post some IDs here, so don't try to hack me or something.
Solved! Go to Solution.
- Labels:
-
Integrations
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2017 06:45 AM
The issue is with JSON.stringify. It does not generate what you are expecting, simply stating, you can not use that method to turn a GlideRecord into a JSON object with all the values.
You'll need to find some other method, such as looping through all of the elements and adding them as properties to a new object, and then turning it into JSON.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2017 06:45 AM
The issue is with JSON.stringify. It does not generate what you are expecting, simply stating, you can not use that method to turn a GlideRecord into a JSON object with all the values.
You'll need to find some other method, such as looping through all of the elements and adding them as properties to a new object, and then turning it into JSON.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2017 02:03 AM
Yeah, I tried without JSON.stringify and everything is OK.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2023 10:30 PM
Haii Everyone,
I'm unable to find methods when i enter current. and same issue for previous also
can you tell to activate or reobtain them.
please share the solution.