I am not using any POJO Classes. Instead i am using External json file as payload file for 2 of my API's (Get API and Delete API).
Add API >> Adds the book name, book shelf, other book details along with unique place_id. Delete API >> Used to delete a book from specific rack using the unique place_id from above.
Since I am using external json payload input file, please let me know the way to pass the "place_id" grabbed from GET API and send this place_id to DELETE API external json file and then use it
Add Place API below: This API returns unique Place_ID in the response
{
"location": {
"lat": -38.383494,
"lng": 33.427362
},
"accuracy": 50,
"name": "Frontline house 1",
"phone_number": "(+91) 983 893 3937",
"address": "2951, side layout, cohen 09",
"types": [
"shoe park",
"shop"
],
"website": "http://google.com",
"language": "French-IN"
}
Delete Place API below:
{
"place_id": "<need to insert place_id from above response>"
}