Base station API description
Mobile Unicom base station positioning
Parameter description:
Name |
Type |
Required? |
Description |
MCC |
INT (decimal) |
Yes |
MCC country code: China Code; 460 |
MNC |
INT (decimal) |
Yes |
MNC network type 0 Mobile 1 Unicom (Telecom Sid) |
Cell_id |
INT (decimal) |
Yes |
Base station ID (bid for China Telecom) |
LAC |
INT (decimal) |
Yes |
LAC (Telecom NID) |
Key |
String |
Yes |
APP key |
Type |
Int |
No |
Return coordinate type default value 0 (Google coordinates), 1 (Baidu coordinates), 2 (GPS coordinates) |
Return Code Description:
Return code |
Description |
1 |
Key Value missing |
7 |
Incorrect request parameter format |
2 |
Key not authorized |
3 |
Key expired |
4 |
No return value |
5 |
The access limit is reached or the remaining number of times is used up |
6 |
Invalid IP Address |
0 |
Successful response |
Return example:
{"Location ":
{"Address ":
{"Region": "Jiangsu Province ",
"County": "wuzhong district ",
"Street": "weiting Town ",
"Street_number": "Lotus square ",
"City": "Suzhou City ",
"Country": "China"
},
"Addressdescription": "east of Portland Street, Lotus square, weiting town, Portland Street, wuzhong district, Suzhou City, Jiangsu Province ",
"Longpolling": 120.7259200, "latitude": 31.2968700, "accuracy": "1000"
},
"Access_token": NULL,
"Errcode": 0
}
Telecom base station positioning
Parameter description:
Name |
Type |
Required? |
Description |
MCC |
INT (decimal) |
Yes |
MCC country code: China Code; 460 |
MNC |
INT (decimal) |
Yes |
MNC network type 0 Mobile 1 Unicom (Telecom Sid) |
Cell_id |
INT (decimal) |
Yes |
Base station ID (bid for China Telecom) |
LAC |
INT (decimal) |
Yes |
LAC (Telecom NID) |
Key |
String |
Yes |
APP key |
Type |
Int |
No |
Return coordinate type default value 0 (Google coordinates), 1 (Baidu coordinates), 2 (GPS coordinates) |
Return Code Description:
Return code |
Description |
1 |
Key Value missing |
2 |
Key not authorized |
3 |
Key expired |
4 |
No return value |
5 |
Access limit reached |
0 |
Successful response |
Return example:
{"Location ":
{"Address ":
{"Region": "Jiangsu Province ",
"County": "wuzhong district ",
"Street": "weiting Town ",
"Street_number": "Lotus square ",
"City": "Suzhou City ",
"Country": "China"
},
"Addressdescription": "east of Portland Street, Lotus square, weiting town, Portland Street, wuzhong district, Suzhou City, Jiangsu Province ",
"Longpolling": 120.7259200, "latitude": 31.2968700, "accuracy": "1000"
},
"Access_token": NULL,
"Errcode": 0
}
Http://www.haoservice.com/docs/1 (mobile Unicom base station positioning)
Base station positioning interface instructions