AME-SM Api
Config Address: Get all zipcode
https://www.ameinsure.com/api/Config_address/getzipcode
Post
{
'token' => string, **
'search_txt' => string ,
'geography_id' => int,
'province_id' => int,
'district_id' => int
}
'token' => string, **
'search_txt' => string ,
'geography_id' => int,
'province_id' => int,
'district_id' => int
}
{
'code' => string (0x0000-00000 when success),
'message' => string,
'data' => array (
'id' => Id,
'code' => string,
'name' => string,
'postcode' => string,
'province' => array (
'id' => Id,
'name' => string
)
}
'code' => string (0x0000-00000 when success),
'message' => string,
'data' => array (
'id' => Id,
'code' => string,
'name' => string,
'postcode' => string,
'province' => array (
'id' => Id,
'name' => string
)
}
{
'code' : '0x0000-00000',
'message' : 'Success',
'data' : [
{
'id' : '1',
'code' : '10',
'name' : 'เขตบางรัก',
'postcode' : '10500',
'province' : {
'id' : '1',
'name' : 'กรุงเทพมหานคน'
}
},
...
]
}
'code' : '0x0000-00000',
'message' : 'Success',
'data' : [
{
'id' : '1',
'code' : '10',
'name' : 'เขตบางรัก',
'postcode' : '10500',
'province' : {
'id' : '1',
'name' : 'กรุงเทพมหานคน'
}
},
...
]
}