Hi,
I need help for below response, i need any specific value from below value, i tried but i am not getting, tried below code but it did not worked, please help me with this.
var response = pm.response.json;
var GETCLINET = response.number;
console.log(GETCLINET);
{
"activityReference": null,
"code": 0,
"matchingPerson": null,
"number": 1003908,
"reference": null,
"responseMessageList": null,
"status": null,
"statusName": null,
"text": null
}
Hi @shashishekhar710.
Welcome to the Postman Community!
To be clear, you get the object in your question above as a response to your API request and you want to get any specific property from this object? Is this what you’re trying to achieve?
{
“activityReference”: null,
“code”: 0,
“matchingPerson”: null,
“number”: 1003908,
“reference”: null,
“responseMessageList”: null,
“status”: null,
“statusName”: null,
“text”: null
}
yes, i got this response ND I need a specific property from this object.
Now its working fine for me, i missed something that’s why i got that error.
thank you