|
|
|
#Create poi
|
|
|
|
post http://127.0.0.1:3000/poi/
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"latlng" : {
|
|
|
|
"lat" : 12,
|
|
|
|
"lng" : 12
|
|
|
|
},
|
|
|
|
"mapScore" : 3,
|
|
|
|
"nameTh" : "__test_xx",
|
|
|
|
"nameEn" : "__test_xx",
|
|
|
|
"labelTh" : "__test_xx",
|
|
|
|
"labelEn" : "__test_xx",
|
|
|
|
"categoryCode" : "01010201",
|
|
|
|
"mapLayer" : "adasd",
|
|
|
|
"mapInfoId" : "9900002",
|
|
|
|
"source" : "XXX___XXX",
|
|
|
|
"tCode" : "670903"
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
#Get All Category
|
|
|
|
get http://127.0.0.1:3000/category
|
|
|
|
#Get All Provice
|
|
|
|
get http://127.0.0.1:3000/land/
|
|
|
|
#Get All Amphoe in Provice
|
|
|
|
get http://127.0.0.1:3000/land/:pcode
|
|
|
|
#Get All Tambon in Amphoe
|
|
|
|
get http://127.0.0.1:3000/land/:pcode/acode |