cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Json Response

Jump to solution

How can we retrieve specific data from the Json response ?

I want to retrieve  the "WorkorderID" from the below mentioned web request response .

{"operation":{"result":{"status":"Success","message":"Request details added successfully."},"Details":{"WORKORDERID":"516617","REQUESTER":"XXXXXX","CREATEDBY":"XXXXX","CREATEDTIME":"1500922548794","DUEBYTIME":"-1","RESPONSED

 Any help?

0 Kudos
Reply
2 Replies
Workflow Hero

Re: Json Response

Jump to solution

it's not ideal approach but if the :workorderid" token appears in the response just once you can use regular expression.

I assume you want to pick workorderid value, not the text itself. then following regex could work

(?<="WORKORDERID":")\d+(?=",)

0 Kudos
Reply
Workflow Hero

Re: Json Response

Jump to solution

Worked , Thank you 

Reply