- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2021 08:03 AM
Hi ,
I need to retrieve specific column from table instead of whole row from Gliderecord . Have noticed it can be achievable through "sysparm_fields" in table API . How can I do in Gliderecord . Please help.
Regards
Sagaya
Solved! Go to Solution.
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2021 08:38 AM
Hi,
specify your fields separated by comma
sysparm_field = number,short_description,caller_id.name
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2021 01:43 AM
Hi Ankur,
As per the user requirement , cannt include additional attribute in post .
Regards,
Sagaya .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2021 03:10 AM
Hi,
then not possible
Since the only possible way to send data from 3rd party to ServiceNow via POST is the request body
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2021 09:06 AM
Hi Ankur,
Thank you for your help and support.
Regards,
Sagaya.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2021 10:01 AM
Hi Sagaya,
I also want to achieve the same via scripted rest api, Let me know how you achieved it.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2021 11:06 AM
Hi
If you are still looking for the solution through scripted API , I can suggest how I achieved it.
You can use below code
var req = new sn_ws.RESTMessageV2();
req.setEndpoint(restUrl);
...
...
...
req.setQueryParameter("sysparm_fields","name,u_tribe");
Here you third party will get only "name" and "u_tribe" column.
Tried and tested from my end.
Regards,
Geetika