How to implement REST Insert Multiple

Sonu Parab
Mega Sage
Mega Sage

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.

9 REPLIES 9

Ankur Bawiskar
Tera Patron
Tera Patron

@Sonu Parab 

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?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

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.

@Sonu Parab 

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

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar 

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!