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-17-2023 11:06 PM
are you exposing an import set API to 3rd party where they will be sending information for multiple records?
OR
are you using scripted rest api?
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-17-2023 11:15 PM - edited 07-17-2023 11:22 PM
Hello @Ankur Bawiskar , Thank you for quick response.
We are exposing an import set API to third party where they will going to send us information for multiple records of multiple tables.
The information comes in JSON format directly in table API via multi insert. We need to directly set in target tables.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2023 11:58 PM
sorry you are confused.
If it's an import set API then it cannot be table API.
It's better to use import set API rather than exposing the Table API
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:10 AM
Thank you for the response.
Could you please guide us, how to use import set API to get data from JSON format and how REST Insert multiple will be helpful in this.
Thank you in advance!