三向行政區 lookup:依名稱 / 郵遞區號 / 縣市過濾。 必須至少給 name= 或 postal_code= 一項。
파라미터
| 이름 | 타입 | 설명 |
|---|---|---|
| name | string | — |
| postal_code | string | — |
| county | string | — |
원본 JSON schema
{
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"postal_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Postal Code"
},
"county": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "County"
}
},
"title": "lookup_administrative_districtArguments",
"type": "object"
}호출 방법
스타터 — 파라미터는 위 표 참조
tw_lookup_administrative_district({ name: "…" })