Routes Autocomplete
Resource
POST /v1/basic/routes/autocomplete
Authorization
採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login。
Request Body Parameters
| Name |
Type |
Description |
| input |
string |
傳入地址 |
Request Example
首次使用
Response Body
| Name |
Type |
Description |
| Results |
Result[] |
(Optional) |
Response Body Result
| Name |
Type |
Description |
| city_ID |
string |
(Optional) |
| area_ID |
string |
(Optional) |
| area_Name |
string |
(Optional) |
| address |
string |
(Optional) |
| fullAddress |
string |
(Optional) |
Response Example
{
"results": [
{
"city_ID": "台南市",
"area_ID": null,
"area_Name": "官田區",
"address": "中正公園",
"fullAddress": "台南市官田區中正公園"
},
{
"city_ID": "台南市",
"area_ID": null,
"area_Name": "麻豆區",
"address": "麻豆全民公園",
"fullAddress": "台南市麻豆區麻豆全民公園"
},
{
"city_ID": "台南市",
"area_ID": null,
"area_Name": "下營區",
"address": "大埤社區公園",
"fullAddress": "台南市下營區大埤社區公園"
},
{
"city_ID": "台南市",
"area_ID": null,
"area_Name": "下營區",
"address": "顏水龍紀念公園",
"fullAddress": "台南市下營區顏水龍紀念公園"
},
{
"city_ID": "台南市",
"area_ID": null,
"area_Name": "新營區",
"address": "南紙社區公園",
"fullAddress": "台南市新營區南紙社區公園"
},
{
"city_ID": "台南市",
"area_ID": null,
"area_Name": "新市區",
"address": "兒南公園",
"fullAddress": "台南市新市區兒南公園"
},
{
"city_ID": "台南市",
"area_ID": null,
"area_Name": "安平區",
"address": "世平二號公園",
"fullAddress": "台南市安平區世平二號公園"
},
{
"city_ID": "台南市",
"area_ID": null,
"area_Name": "北區",
"address": "育德公園",
"fullAddress": "台南市北區育德公園"
},
{
"city_ID": "台南市",
"area_ID": null,
"area_Name": "永康區",
"address": "永康公園",
"fullAddress": "台南市永康區永康公園"
},
{
"city_ID": "台南市",
"area_ID": null,
"area_Name": "鹽水區",
"address": "月津港親水公園",
"fullAddress": "台南市鹽水區月津港親水公園"
}
]
}