Not able to generate Import Set API response

mdash
Giga Guru

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?

find_real_file.png

1 ACCEPTED SOLUTION

mdash
Giga Guru

Found the solution. I had to grant import_admin role to the Basic auth user. 

View solution in original post

3 REPLIES 3

Tony Chatfield1
Kilo Patron

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

Thanks Tony. Even I stumbled upon that link after I posted here. It will be useful in future.

mdash
Giga Guru

Found the solution. I had to grant import_admin role to the Basic auth user.