You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to extract the response Header Status code returned by REST API in ICS?

Received Response
51
Views
3
Comments
edited Jul 13, 2018 3:15AM in Integration 3 comments

Summary

In the ICS we need to get the response Header Status code returned by REST API and based on the status code we need continue with next set of actions in the ICS Flow.

Content

Hi ,

 Need your input.

In our ICS integration , we are calling a Rest API using REST Adapter : /hcmRestApi/resources/11.13.18.02/emps/.

When we execute this Resource in  REST API thru SOAPUI we are getting the Response header status as

HTTP/1.1 200 OK (For  valid data)

HTTP/1.1 500 Internal Server Error (For a invalid data)

(Screen Attached)


Now, From the ICS integration We need capture the status code : '200 OK'  or '500 Internal Server' etc.. returned by the REST API .and execute the next set of Actions in the ICS flow.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!