Skip to main content
Nintex Community Menu Bar

Returns only http response code-- REST Service

  • May 2, 2018
  • 2 replies
  • 26 views

Hi All,

 

i created a simple REST service. but when i expose the service to K2, its just returning only http response codes.

 

Detail steps:

 

Step 1: Rest service code

10777i03C087548F0C97EF.png

 

Can any one help me out please?

 

Regards

SK

 

 

2 replies

  • May 3, 2018

Good day


 


Please see below Errors and Response Codes for Rest services.


 


The K2 REST Services uses the following standard HTTP status codes.



  • 200 (OK) – returned if the call was successful

  • 404 (Not Found) – returned if something requested is no longer available

  • 503 (Service Unavailable) – returned if the K2 Server was unreachable

  • 500 (Server Error) – returned if any other error occurred


What do you see when you click the list result tab?


 


Kind regards


 


  • Author
  • Rookie
  • May 3, 2018

Hi,

 

Thanks for your response, in list result tab also it is just showing the response code.

 

But if you observe the code in my rest service, i have retun value based on my input. but when i expose the same to SMO its not giving that result.

 

0-Array

1-listarray

2-Lists

 

Regards

SK