Hi Sir, How can I use the bulkCreate, bulkUpdate, BulkDelete etc functionality of RB? There's no clear example on the documentation regarding this feature. Thanks
Hi Brian,
In order to perform SOAP bulk requests, create import map in Rollbase and obtain the import map ID value from the Object definition View page
Sample code
URL url = new URL("https://www.rollbase.com/webapi/services/rpcrouter");
RpcrouterSoapBindingStub binding = (RpcrouterSoapBindingStub) new IWebServicesServiceLocator().getrpcrouter(url);
binding.setTimeout(60000);
String sessionId = binding.login("username", "password");
String csvString = "ID,Name,Date\n906732,test1,'06/03/2013'\n906730,test2,'06/04/2013'\n906731,test3,'06/05/2013'";
String res = binding.bulkCreate(sessionId, mapID, synch, csvString);
binding.logout(sessionId);
To perform REST bulk requests, call the login REST API and obtain session ID.
Call http://www.rollbase.com/rest/api/bulkCreate with sessionId, map ID, synch flag, csvString as the URL parameters
Similar steps are needed for the remaining bulk operations as well.
Please let me know if you have further questions.
Thank You,
Srikanth
Progress|
What is the max number of rows for bulk API?
Hi Brian,
We currently do not have any set limit to maximum number of rows that can be used with bulk API
Thank You,
Srikanth
Progress|Rollbase Product Support Team
Hi Can you give me an example of Request body for rest API bulkCreate
Please give me an example version for REST API. Thanks