- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2024 06:03 AM
Hello everyone,
I am using REST API Explorer module to test the integration.
I am selecting the table as Incident and using POST method to create a record in third party application.
So, I have added two fields Short description and Caller.
When I send that data, I am getting success but in the Response body I am getting all the other fields info also.
Can we limit the response body to send only Sys_id of the incident?
Regards,
Lucky
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2024 06:13 AM - edited 04-29-2024 06:26 AM
Hi @Pallavi65
sys param filed option on rest api explorer will help you limit it. you can specify which fields you want to send.
I hope this helps..
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2024 06:13 AM - edited 04-29-2024 06:26 AM
Hi @Pallavi65
sys param filed option on rest api explorer will help you limit it. you can specify which fields you want to send.
I hope this helps..
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2024 06:22 AM
Hi Pallavi,
Yes, you can limit the field with the help of sysparm_fields. Below is the screenshot that will help you to get the expected result.
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.