- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2024 01:39 AM
Hello Team,
When i hit the API am getting below response.
{
"result": {
"message": "Records created successfully in UserTable and ProblemTable"
}
}
I don't want the result object to be shown.
can you please help me in this.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2024 01:43 AM
Hi Srinidhi,
Sorry, I believe we can't change the way the data is shown in Postman.
But if you are trying to retrieve the information from ServiceNow, you can try Scripted Rest API change the response format.
Regards,
Tharun Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2024 12:22 AM
Hi Srinidhi,
This is the result in JSON format. If you don't want the word "result", you can create a new array and insert only the inner array of the response.
If you don't want the whole response to be displayed, please provide us more information like where you are seeing this response and what you would like to see instead of this.
If my answer has helped with your question, please mark my answer as accepted solution and give a thumbs up.
Best regards,
Tharun Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2024 12:30 AM
Hello Tharun,
I want to see only the response like below. Am seeing this response from the postman.
"message": "Records created successfully in UserTable and ProblemTable"
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2024 01:43 AM
Hi Srinidhi,
Sorry, I believe we can't change the way the data is shown in Postman.
But if you are trying to retrieve the information from ServiceNow, you can try Scripted Rest API change the response format.
Regards,
Tharun Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2024 10:37 PM
Thanks @tharun_kumar_m .