PM
7 years agoContributor
PUT/DELETE - Unable to call output of Get operation parameter values in the payload (Delete Body)
First used GET Method:- {"GetCustomerPartNumbersResp": {"CustomerPartNumberRelationshipCollection": {"CustomerPartNumberRelationship": [{ "ProductNumber": "100074", "CustomerPartNumber": "TEST"...
- 7 years ago
Thanks for the help but with below code was able to get desired results..
Just required to enter this in the payload:-
{
"DeleteCustomerPartNumbersReq": {
"ProductNumber": "${PUT-GET#Response#$['GetCustomerPartNumbersResp']['CustomerPartNumberRelationshipCollection']['CustomerPartNumberRelationship'][0]['ProductNumber']}",
"CustomerPartNumber": "${PUT-GET#Response#$['GetCustomerPartNumbersResp']['CustomerPartNumberRelationshipCollection']['CustomerPartNumberRelationship'][0]['CustomerPartNumber']}"
}
}