How to implement REST Insert Multiple
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2023 11:01 PM - edited 07-17-2023 11:02 PM
Hi All,
I am posting this here as i couldn't find sufficient information over the internet.
How to insert multiple records in CMDB child table using REST Insert Multiple.
@Ankur Bawiskar
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2023 12:14 AM
check this link
POST /now/import/{stagingTableName}/insertMultiple
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2023 12:18 AM
I shared solution few years ago
check that
Consume multiple records through one rest Api Call
this link has approach using scripted rest api by member @ARG645
Import Set API - multiple records
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2023 10:14 PM
Thank you for marking my response as helpful.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2023 01:30 AM - edited 07-18-2023 04:07 AM
If you directly insert data in CMDB it will going to create duplicates. Better create a data source and then enter the data using IH ETL. Whatever method you use make sure to call IRE.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2023 03:25 AM
Hi, You should use IRE or IH ETL to manage the Asset CI sync and un duplicated CIs.
Suresh.