Is there any API to use the SMO's from remote calls ?

  • 20 January 2016
  • 1 reply
  • 3 views

Badge +10

I wonder if there is a way to take advantage from some API to re-use teh SMO's created by K2 BlackPearl in order to perform CRUD actions to different data sources from a URL Execution.

 

Perhaps usin a curl, lynx or Lib-www PERL, PHP or ruby to make a URL call and perfrom certain actions. This would enhance greatly the usability behind the scenes to perform the actions on the data.

 

Another alternative is to create views that execute some actions, perhaps passing params and make the URL calls directly from the CLI of the specific language.

 

Any ideas toughts to be shared will be appreciated.

 

Dino.


1 reply

Badge +10

Sounds like you want to the SmartObject Rest Services capability.  The RESTful services support XML, ATOM and JSON output formats, and you can specify which format you want returned with a query string options appended to the service endpoint.  Take a llook at the following documentation to see if its a good fit.

 

https://www.k2.com/onlinehelp/k2blackpearl/devref/current/default.htm#SmartObjectRESTServices.htm%3FTocPath%3DRuntime%2520APIs%2520and%2520Services%7CSmartObjects%7CSmartObject%2520REST%2520Services%7C_____0

 

Reply