AnsweredAssumed Answered

Parsing REST WS Repsonse

Question asked by Venkata Palakaveeti on Dec 20, 2019
Latest reply on Dec 24, 2019 by Venkata Palakaveeti

Hi Team,

 

We the below output from one of the target system. We are using Rest Webservices connector and want to get "Ticket number created is:REQ3001000" as Brief or Detailed Response. Can anyone help in the Regex expression, Pattern and Replacement fields to fetch the results.

We have tried the xpath as /Output/Message but no luck.

Also tried various regex expressions such as (?=:)[\s\S][a-zA-Z0-9]*< to get atleast the REQ number again no luck.

 

<?xml version="1.0" encoding="UTF-8"?>

<Output>

   <Status>HTTP/1.1 200 OK</Status>

   <Message>Ticket number created is:REQ3001000</Message>

</Output>

Outcomes