- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2019 08:59 AM
Hi,
I have created a staging table and added a transform map to convert incoming ticket via REST call into Incidents. Now, when I POST the API, it does create an Incident in the end as expected. But I dont get any response back.
I have tried Postman, tried running background script as well. But no luck. Is there a step I am missing?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2019 11:42 AM
Found the solution. I had to grant import_admin role to the Basic auth user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2019 01:22 PM
Hi,
You may just need to review the response your insert script is passing back(or add one).
Toney Vecchio has provided a good primer for scripted rest API with example code.
https://community.servicenow.com/community?id=community_article&sys_id=d5c94462dbf557002328f3231f961...
I found this most helpful
Best of luck
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2019 11:41 AM
Thanks Tony. Even I stumbled upon that link after I posted here. It will be useful in future.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2019 11:42 AM
Found the solution. I had to grant import_admin role to the Basic auth user.