Google Maps Add API (JSON Format) :: Sample Body
Google Maps Add API (JSON Format) :: Sample Body
Google Maps Add API (JSON Format) :: Sample Body
Sample Body :
{
"location":{
"lat" : -38.383494,
"lng" : 33.427362
},
"accuracy":50,
"name":"Frontline house",
"phone_number":"(+91) 983 893 3937",
"address" : "29, side layout, cohen 09",
"types": ["shoe park","shop"],
"website" : "http://google.com",
"language" : "French-IN"
}
Sample Response
{
"status": "OK",
"place_id": "928b51f64aed18713b0d164d9be8d67f",
"scope": "APP",
"reference": "736f3c9bec384af62a184a1936d42bb0736f3c9bec384af62a184a1936d42bb0",
"id": "736f3c9bec384af62a184a1936d42bb0"
}
Sample Body :
<?xml version="1.0" encoding="UTF-8" ?>
<root>
<location>
<lat>-38.383494</lat>
<lng>33.427362</lng>
</location>
<accuracy>50</accuracy>
<name>The Mens store</name>
<phone_number>(+91) 983 893 3937</phone_number>
<address>Anna Salai, Chennai</address>
<types>shoe park</types>
<types>kadai</types>
<website>http://google.com</website>
<language>tamil-IN</language>
</root>
Sample Response
<?xml version="1.0"?>
<response>
<status>OK</status>
<place_id>fdd2f7bf74afae3f1462833d43a53678</place_id>
<scope>APP</scope>
<reference>326f3c1e773a000ee7b0f1ed529f900e326f3c1e773a000ee7b0f1ed529f900e</reference>
<id>326f3c1e773a000ee7b0f1ed529f900e</id>
</response>
Sample Body :
{
"place_id":"928b51f64aed18713b0d164d9be8d67f" //(This value comes from Add place response)
}
Sample Response
{
"status": "OK"
}
Resource : /maps/api/place/delete/xml
Parameters: key
Sample Body :
<?xml version="1.0" encoding="UTF-8" ?>
<root>
<place_id>fdd2f7bf74afae3f1462833d43a53678</place_id>
</root>
Sample Response
<?xml version="1.0"?>
<response>
<status>OK</status>
</response>