How to capture inbound json and response json logs using import set
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2020 04:23 AM
Hi all,
Iam using import Set API to create incident ticket ,but iam bit confused to capture the logs .Please guide me to capture inbound json and response json in logs.
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2020 04:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2020 05:00 AM
On the default import API that is not possible. You have to either use the 2 options provided to see logs or create a scripted REST API. In that you do have access to the JSON object and can easily log it like so:
gs.log(new JSON.parse(request.body));
Refer to this thread:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2020 05:06 AM
okay,How to capture the raw inbound json and response using default import set API ..?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2020 05:03 PM
Hope you are doing well.
Is your question resolved? Or do we need to follow-up on this?
Please mark the answer as correct if it solves your question. This will help others who are looking for a similar solution. Also marking this answer as correct takes the post of the unsolved list.
Thanks.
Kind regards,
Willem