O
Orchid Corpin
Guest
Hi Anu, Here are some sample REST API code to create Rollbase record from another app integration. First we need to identify where we can embed this code to your third party app to make this work. script var sessionId=''; function RESTLogin() { var login = " www.rollbase.com/.../login ROLLBASE USERNAME &password= PASSWORD "; $.post( login, function() { }).done(function(data) { sessionId = $( data ).find( "sessionId" ).text(); //Call create record to Rollbase createRecord(); }); } function createRecord() { //REST API - CREATE record createURL = " www.rollbase.com/.../create2 OBJECT INTEGRATION NAME &useIds=false&FIELD1=field1_value&FIELD2=field1_value"; $.post( createURL, function() { }).done(function() { //Do something here }); } RESTLogin(); /script Hope this will help. Regards, Orchid
Continue reading...
Continue reading...