How to extract the response Header Status code returned by REST API in ICS?
SummaryIn 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.
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)
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.