Provinces
API for Ward List
API Configuration
HTTP Request
GET v1/loc/wards
No. | Parameter | Type | Require | Description |
---|---|---|---|---|
1 | district_id | int | District ID |
JSON body respone
Name | Type | Description |
---|---|---|
success | boolean | Return true if find out bill success, all other false means error. See message for further description. |
message | string | Return Message of API Respond. |
data | object | Data of API response. |
Request
https://apisandbox.ntlogistics.vn/v1/loc/wards?district_id=9904
Response
{
"success": true,
"data": [
{
"id": 33367,
"district_id": 9904,
"similarData": {
"similarName": [
"thi-tran-pho-moi",
"tt-pho-moi",
"tt.pho-moi",
"pho-moi"
]
},
"ward_name": "Thị trấn Phố Mới",
"post_code": 16806,
"published": "1"
},
{
"id": 33368,
"district_id": 9904,
"similarData": {
"similarName": [
"xa-bang-an",
"x-bang-an",
"x.bang-an",
"bang-an"
]
},
"ward_name": "Xã Bằng An",
"post_code": 16810,
"published": "1"
},
{
"id": 33369,
"district_id": 9904,
"similarData": {
"similarName": [
"xa-bong-lai",
"x-bong-lai",
"x.bong-lai",
"bong-lai"
]
},
"ward_name": "Xã Bồng Lai",
"post_code": 16820,
"published": "1"
},
{
"id": 33370,
"district_id": 9904,
"similarData": {
"similarName": [
"xa-cach-bi",
"x-cach-bi",
"x.cach-bi",
"cach-bi"
]
},
"ward_name": "Xã Cách Bi",
"post_code": 16821,
"published": "1"
},
{
"id": 33371,
"district_id": 9904,
"similarData": {
"similarName": [
"xa-chau-phong",
"x-chau-phong",
"x.chau-phong",
"chau-phong"
]
},
"ward_name": "Xã Châu Phong",
"post_code": 16824,
"published": "1"
},
{
"id": 33372,
"district_id": 9904,
"similarData": {
"similarName": [
"xa-chi-lang",
"x-chi-lang",
"x.chi-lang",
"chi-lang"
]
},
"ward_name": "Xã Chi Lăng",
"post_code": 16819,
"published": "1"
},
{
"id": 33373,
"district_id": 9904,
"similarData": {
"similarName": [
"xa-dai-xuan",
"x-dai-xuan",
"x.dai-xuan",
"dai-xuan"
]
},
"ward_name": "Xã Đại Xuân",
"post_code": 16813,
"published": "1"
},
{
"id": 33374,
"district_id": 9904,
"similarData": {
"similarName": [
"xa-dao-vien",
"x-dao-vien",
"x.dao-vien",
"dao-vien"
]
},
"ward_name": "Xã Đào Viên",
"post_code": 16822,
"published": "1"
},
{
"id": 33375,
"district_id": 9904,
"similarData": {
"similarName": [
"xa-duc-long",
"x-duc-long",
"x.duc-long",
"duc-long"
]
},
"ward_name": "Xã Đức Long",
"post_code": 16825,
"published": "1"
},
{
"id": 33376,
"district_id": 9904,
"similarData": {
"similarName": [
"xa-han-quang",
"x-han-quang",
"x.han-quang",
"han-quang"
]
},
"ward_name": "Xã Hán Quảng",
"post_code": 16818,
"published": "1"
},
{
"id": 33377,
"district_id": 9904,
"similarData": {
"similarName": [
"xa-mo-dao",
"x-mo-dao",
"x.mo-dao",
"mo-dao"
]
},
"ward_name": "Xã Mộ Đạo",
"post_code": 16816,
"published": "1"
},
{
"id": 33378,
"district_id": 9904,
"similarData": {
"similarName": [
"xa-ngoc-xa",
"x-ngoc-xa",
"x.ngoc-xa",
"ngoc-xa"
]
},
"ward_name": "Xã Ngọc Xá",
"post_code": 16823,
"published": "1"
},
{
"id": 33379,
"district_id": 9904,
"similarData": {
"similarName": [
"xa-nhan-hoa",
"x-nhan-hoa",
"x.nhan-hoa",
"nhan-hoa"
]
},
"ward_name": "Xã Nhân Hòa",
"post_code": 16811,
"published": "1"
},
{
"id": 33380,
"district_id": 9904,
"similarData": {
"similarName": [
"xa-phu-lang",
"x-phu-lang",
"x.phu-lang",
"phu-lang"
]
},
"ward_name": "Xã Phù Lãng",
"post_code": 16826,
"published": "1"
},
{
"id": 33381,
"district_id": 9904,
"similarData": {
"similarName": [
"xa-phu-luong",
"x-phu-luong",
"x.phu-luong",
"phu-luong"
]
},
"ward_name": "Xã Phù Lương",
"post_code": 16808,
"published": "1"
},
{
"id": 33382,
"district_id": 9904,
"similarData": {
"similarName": [
"xa-phuong-lieu",
"x-phuong-lieu",
"x.phuong-lieu",
"phuong-lieu"
]
},
"ward_name": "Xã Phương Liễu",
"post_code": 16814,
"published": "1"
},
{
"id": 33383,
"district_id": 9904,
"similarData": {
"similarName": [
"xa-phuong-mao",
"x-phuong-mao",
"x.phuong-mao",
"phuong-mao"
]
},
"ward_name": "Xã Phượng Mao",
"post_code": 16815,
"published": "1"
},
{
"id": 33384,
"district_id": 9904,
"similarData": {
"similarName": [
"xa-que-tan",
"x-que-tan",
"x.que-tan",
"que-tan"
]
},
"ward_name": "Xã Quế Tân",
"post_code": 16809,
"published": "1"
},
{
"id": 33385,
"district_id": 9904,
"similarData": {
"similarName": [
"xa-viet-hung",
"x-viet-hung",
"x.viet-hung",
"viet-hung"
]
},
"ward_name": "Xã Việt Hùng",
"post_code": 16807,
"published": "1"
},
{
"id": 33386,
"district_id": 9904,
"similarData": {
"similarName": [
"xa-viet-thong",
"x-viet-thong",
"x.viet-thong",
"viet-thong"
]
},
"ward_name": "Xã Việt Thống",
"post_code": 16812,
"published": "1"
},
{
"id": 33387,
"district_id": 9904,
"similarData": {
"similarName": [
"xa-yen-gia",
"x-yen-gia",
"x.yen-gia",
"yen-gia"
]
},
"ward_name": "Xã Yên Giả",
"post_code": 16817,
"published": "1"
}
],
"message": "Get data successfully"
}