Does REST api model supports bulk insert?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-15-2015 11:12 PM
Hi All,
I'm doing an experiment to insert multiple records into an servicenow table. Below are the steps I did,
1. Created and import set table.
2. Created an transform mapscript to load the data to servicenow production table.
3. Posted the data via REST model as well as from SOAP model.
SOAP model successfully inserts all the records posted but unfortunately REST model doesn't . Please help me with example code or any document explaining the same.
Thanks in advance,
Prabhakaran.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-15-2015 11:29 PM
Hi,
when u say rest REST doesn't load the data, is it giving some error? can you explain more? and from where you are making rest calls? rest API exlorerer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-16-2015 02:45 AM
Hi Rushit,
It is not throwing any error. When making calls with multiple records only first JSON object gets inserted and rest of them are excluded.
Not making calls through rest API explorer. Im making REST call through "Advanced REST Client Application".
Below is my SOAP request which works perfectly.
Thanks,
Prabhakaran G