Can I insert more than one import set record using/consuming the native REST API for import sets?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-22-2016 02:18 PM
I'm facing an scenario where an organization wants to use a REST web service living in Servicenow to create more than one asset in one call. Analyzing the capabilities of the REST API for import sets, I understand only import set record can be created through the "native" REST API.
I even created a javascript application that calls the REST API and creates one import set record but I haven't been able to create more than one import set record (two assets) in the same call. Any feedback will be really appreciated.
- Labels:
-
Integrations
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-11-2018 09:39 PM
Thank you for the suggestion using the script REST API. Once the payload is received how would I then feed that into an Import Set and trigger the Transform Maps? Is it a simple as creating new records in the Import Set Table using GlideRecord?
I prefer REST for its simplicity but find the Import API too slow when called one record at a time. I haven't looked at the SOAP method yet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-30-2021 06:45 PM
With the quebec we have added a new feature called REST Insert to address this issue.
Multiple. https://developer.servicenow.com/dev.do#!/reference/api/quebec/rest/c_ImportSetAPI