var jsonData = JSON.parse(responseBody);
theExistingUserID = jsonData[0][“id”];
new code looks like:
var jsonData = JSON.parse(pm.response.text());
theExistingID = jsonData[“id”];
but with responseBody being depricated, I’m trying to update my code to use 'pm.response.text(). However when I use that I’m getting errors that the value is ‘undefinded’
response text looks like:
{id: 48737, title: “For Payments, determine completion rates both on PCI Remodel-specific work”, description: “For Payments, determine completion rates both on PCI Remodel-specific work”…}