chandanakki
12 years agoOccasional Contributor
How to use Property Transfer for a Rest API
Can someone please help me. I am using Soap UI 4.6 Free version & also new to Soap UI
This is a REST API (JSON POST Request)
How can i extract only the device id' from my 1st response. In this i also need to include orgnumber & user.
The 1st JSON REST POST Request is in this format {"orgnumber":100,"user":229}
Its Response is in the below format .
[
{
"deviceID": "10000",
"osVersion": "12.2(11)T6",
"productFamily": "C2600",
"pid": "
},
{
"deviceID": "13999",
"osVersion": "12.1(22)EA6",
"productFamily": "C2950",
"pid": ""
},
]
Now 2nd JSON REST POST Request is in the below format which is nothing but i will update the first response Device Id's.
{
"devices"
{
"deviceID":"10000"
},
{
"deviceID":"13999"
},
],
"orgnumber":100,
"user":229
}
Please do the needful.
Thanks In Advance,
Best Regards,
Chandan
This is a REST API (JSON POST Request)
How can i extract only the device id' from my 1st response. In this i also need to include orgnumber & user.
The 1st JSON REST POST Request is in this format {"orgnumber":100,"user":229}
Its Response is in the below format .
[
{
"deviceID": "10000",
"osVersion": "12.2(11)T6",
"productFamily": "C2600",
"pid": "
},
{
"deviceID": "13999",
"osVersion": "12.1(22)EA6",
"productFamily": "C2950",
"pid": ""
},
]
Now 2nd JSON REST POST Request is in the below format which is nothing but i will update the first response Device Id's.
{
"devices"
{
"deviceID":"10000"
},
{
"deviceID":"13999"
},
],
"orgnumber":100,
"user":229
}
Please do the needful.
Thanks In Advance,
Best Regards,
Chandan