SMAX and UiPath integration issue

Hello,

I am facing some issue while integrating SMAX and UiPath using api.

I have SMAX user id and password and passing that credentials as JSON format in UiPath HTTP post request in Body options and getting bearer token successfully.

Now I am trying to search a particular incident using following URL in UiPath

https://eu18-smax.saas.microfocus.com/rest/xxxxxxxxx/ems/Incident/00010?layout=DisplayLabel,Description,Status

Passing this URL (end point) in HTTP activity with get method in UiPath with following header options

  1. Cookie : “SMAX_AUTH_TOKEN=…generated token”
  2. Content-Type: “application/json”
  3. User-Agent: “Apache-httpClient/4.1”

But I am getting 401. Where as while I am doing this same thing in postman, it is working fine.

Can anyone help me on this. Thanks in advance.

Thanks and regard,
Sandip