Obtener información de los aparcamientos de un municipio
-
Method: GET
-
URL: {baseUrl}/v1/parking/{cityIne}
-
Respuesta:
[ { "cityIne": 50297, "cityName": "Zaragoza", "parkingName": "abcd", "parkingId": "9", "cp": 1, "address": "abc", "timetable": "abc", "capacity": 0, "geometry": { "type": "Polygon", "coordinates": [ [ [ -0.864299, 41.646176 ], [ -0.864162, 41.64625 ], [ -0.864135, 41.646412 ], [ -0.864408, 41.646432 ], [ -0.864453, 41.6462 ], [ -0.864299, 41.646176 ] ] ] } }, { "cityIne": 50297, "cityName": "Zaragoza", "parkingName": "abcd", "parkingId": "10", "cp": 1, "address": "abc", "timetable": "abc", "capacity": 0, "geometry": { "type": "Polygon", "coordinates": [ [ [ -0.864299, 41.646176 ], [ -0.864162, 41.64625 ], [ -0.864135, 41.646412 ], [ -0.864408, 41.646432 ], [ -0.864453, 41.6462 ], [ -0.864299, 41.646176 ] ] ] } } ]
Obtener información de un aparcamiento
-
Method: GET
-
URL: {baseUrl}/v1/parking/{cityIne}/{parkingId}
-
Respuesta:
{ "cityIne": 50297, "cityName": "Zaragoza", "parkingName": "abcd", "parkingId": "2", "cp": 1, "observations": "Parking subterráneo", "address": "abc", "accessConditions": "Condiciones de acceso", "timetable": "abc", "capacity": 5, "free": 4, "geometry": { "type": "Polygon", "coordinates": [ [ [ -0.864299, 41.646176 ], [ -0.864162, 41.64625 ], [ -0.864135, 41.646412 ], [ -0.864408, 41.646432 ], [ -0.864453, 41.6462 ], [ -0.864299, 41.646176 ] ] ] } }