Skip to main content
Nintex Community Menu Bar

How to expose a REST Service in K2?

  • July 2, 2019
  • 7 replies
  • 36 views

Hi

Is there any way to expose RESTful service in K2 Five Core? if yes, can you please explain the process?

 

Thanks and Regards

Sindhu Kodikal

7 replies

Forum|alt.badge.img+9

Hi  


 


See the following link below:


https://community.k2.com/t5/K2-Five/Expose-Smart-Object-method-through-a-REST-API/td-p/108490


 


Should you find the information from the article useful or leading you to the answer please mark as "Solution and/or Kudo", as it will assist other k2 developers with relevant information in the near future.


 


Best Regards


Elvis


 


[K2 will not accept any liability for any issues arising from actions taken in respect of the information provided by any forum member]


  • July 2, 2019

Hello  @SindhuKodikal,


 


REST Service Type is used to allow K2 to integrate with REST endpoints, by exposing a particular REST endpoint as a service instance and then creating SmartObjects that utilize the service objects exposed by the service instance.


 


More information about this is found here: https://help.k2.com/onlinehelp/k2five/userguide/5.1/default.htm#ServiceBrokers/EndPoints/REST_Endpoint.htm


 


Alternatively you can check this for a clear understanding: https://help.k2.com/onlinehelp/k2five/devref/5.2/default.htm#Runtime/Services/REST-Services.html


 


Should you find the above information useful kindly mark as "Accepted Solution and/or Kudo", as this will assist other community members looking for related information.


 


Regards,
BesM


 


[K2 will not accept any liability for any issues arising from actions taken in respect of the information provided by any forum member]


Hi Thank you. I am looking for the location where the K2HostServer.exe.config file is located in the server?

Forum|alt.badge.img+9

Hi SindhuKodikal


 


C:Program Files (x86)K2 blackpearlHost ServerBin


 


Should you find the information from the article useful or leading you to the answer please mark as "Solution and/or Kudo", as it will assist other k2 developers with relevant information in the near future.


 


Best Regards


Elvis


 


[K2 will not accept any liability for any issues arising from actions taken in respect of the information provided by any forum member]


Forum|alt.badge.img+9

Hi SindhuKodikal


 


If you are using k2 five follow this link :


C:Program Files K2 Host ServerBin


 


Regards


Elvis


  • July 4, 2019

Hi   @SindhuKodikal


 


Please browse into this link, in here you should find anything regarding REST Service in K2 Five(https://help.k2.com/onlinehelp/k2five/userguide/5.2/default.htm#ServiceBrokers/EndPoints/REST_Endpoint.htm?TocPath%3DCreate%7cSmartObjects%7cIntegrating%2520with%2520other%2520systems%7cGeneric%252FEndPoints%2520Service%2520Types%7cREST%7c_____0).


 


Should you find the above content useful,kindly mark such as "Accepted Solution and/or Kudo".


 


Thanks & Regards;


Widson.


Hi,
We have installed in D drive but we do not have this config file. Is there any other way to host the service in K2 five using Workflow API?