Web API calls in Server Events

  • 4 November 2013
  • 1 reply
  • 2 views

Badge +1

In our organisation we have a number of web api's that have been exposed and are used  by other line of business systems to integrate. These web api's take care of complex logic in the line of business systems.


What I want to achieve is to use these api's in k2 server events.


Currently I reference System.Net.Http to access Get and Post methods.


Are there any samples on how to use web api calls in server events? What are the recommended ways of accessing the web api's? 


 


 


 


1 reply

Badge +8

The K2 recommended method for interacting with web services is to create SmartObjects from your web services.    You can use the Dynamic Web Service SmartObject Service Broker from the K2 BlackMarket to create these SmartObjects.  We use this service broker to interact with lots of WCF services throughout our organization.

Reply