Details Link: http://www.haoservice.com/docs/1
Base Station location query based on the CID and Lac of the mobile Unicom base station, base station positioning, base stations covering more than 95%
Supported formats:Json/xmlRequest Method:Get/postRequest parameters in clear text mode:
|
Name |
Type |
Must fill in |
Description |
|
Key |
String |
Is |
API KEY |
|
Mcc |
Int |
Is |
MCC Country code: China Code; 460 |
|
Mnc |
Int |
Is |
MNC Network type 0 Mobile 1 unicom (telco-corresponding SID) |
|
cell_id |
Int |
Is |
Base Station ID (Telecom corresponds to BID) |
|
Lac |
Int |
Is |
Lac (Telco corresponds to NID) |
|
Type |
Int |
Whether |
return coordinate type default value 0 (Google coordinates), 1 (Baidu coordinates), 2 (GPS coordinates) |
Ciphertext mode request parameter:
|
Name |
Type |
Must fill in |
Description |
|
Isencrypt |
bool |
Is |
Whether the ciphertext transmission mode |
|
Key |
String |
Is |
API KEY |
|
Params |
String |
Is |
3DES ECB mode PKCS7 fill-mode encryption 3DES ("Mcc=460&mnc=0&cell_id=28655&lac=17695&type=0", "OpenID Top 24") |
return field:
|
Name |
Type |
Description |
|
Address |
Object |
Address |
|
Region |
String |
Name of Province |
|
County |
String |
Name of counties |
|
Street |
String |
Street name |
|
Street_number |
String |
Referential description |
|
City |
String |
City Name |
|
Country |
String |
Country name |
|
Addressdescription |
String |
Address description |
|
Longitude |
Double |
Longitude |
|
Latitude |
Double |
Latitude |
|
Accuracy |
String |
Precision |
Clear text JSON returns an example:
{"Location": {" Address": { "region": "Jiangsu Province", "county": "Wuzhong District", "Street": "Wei Ting Zhen", "street_ Number ":" Lotus Square ", " City ":" Suzhou ", " Country ":" China " }, " Addressdescription ":" Wuzhong District Portland Xiao Jie Wei Ting Zhen He hua Plaza, Suzhou, Jiangsu Province, Portland Small Street East ", " longitude ": 120.7259200, " latitude ": 31.2968700, " accuracy ":" 1000 " }, "Access_token": null, "Errcode": 0}
Ciphertext JSON return Example:
hce2pmnrfnwp3gbrgm9vnobmgi+vzpwjafj6xcekejgyoqkbipdmsdn1yb3ldi48woqv7ijhb3tjjabrac00igye1dybyqophg/6anzwja857/ yamzkj5kfivxybavy4a4oudbnmncw=
Details Link: http://www.haoservice.com/docs/1
Mobile Unicom Base Station positioning