Skip to main content
Nintex Community Menu Bar

Json Response

  • July 25, 2017
  • 2 replies
  • 14 views

Forum|alt.badge.img+1

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?

2 replies

Forum|alt.badge.img+14
  • Scholar
  • July 25, 2017

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+(?=",)

205936_pastedImage_1.png


Forum|alt.badge.img+1
  • Author
  • July 26, 2017

Worked , Thank you