Base Station Usage API description

Source: Internet
Author: User

Base Station Usage API description

Mobile Unicom Base Station positioning

Parameter description:

Whether the name type must be described

MCC Int (decimal) is the MCC Country code: China Code; 460

MNC int (decimal) is an MNC network type 0 Mobile 1 unicom (telco corresponding SID)

cell_id int (decimal) is the base station ID (Telecom corresponds to BID)

Lac Int (decimal) is lac (telco corresponds to NID)

Key string is the APP key

Type int No returns coordinate type default value 0 (Google coordinates), 1 (Baidu coordinate), 2 (GPS coordinates)

Return code Description:

Return Code description

1 missing key value

7 request parameter format error

2 Key not authorized

3 Key expires

4 no return value

5 Access limit reached or the number of remaining runs are exhausted

6 Invalid IP

0 Successful return

return Example:

{"Location":

{"Address":

{"Region": "Jiangsu Province",

"County": "Wuzhong District",

"Street": "Only pavilion Town",

"Street_number": "Lotus Square",

"City": "Suzhou",

"Country": "China"

},

"Addressdescription": "Suzhou Wuzhong District, Jiangsu Province, Portland Small Street, Wei Ting Town, Lotus Plaza, Portland Small Street East",

"Longitude": 120.7259200, "latitude": 31.2968700, "accuracy": "1000"

},

"Access_token": null,

"Errcode": 0

}

Telecom Base Station positioning

Parameter description:

Whether the name type must be described

MCC Int (decimal) is the MCC Country code: China Code; 460

MNC int (decimal) is an MNC network type 0 Mobile 1 unicom (telco corresponding SID)

cell_id int (decimal) is the base station ID (Telecom corresponds to BID)

Lac Int (decimal) is lac (telco corresponds to NID)

Key string is the APP key

Type int No returns coordinate type default value 0 (Google coordinates), 1 (Baidu coordinate), 2 (GPS coordinates)

Return code Description:


Return Code description

1 missing key value

2 Key not authorized

3 Key expires

4 no return value

5 Access limit reached

0 Successful return

return Example:

{"Location":

{"Address":

{"Region": "Jiangsu Province",

"County": "Wuzhong District",

"Street": "Only pavilion Town",

"Street_number": "Lotus Square",

"City": "Suzhou",

"Country": "China"

},

"Addressdescription": "Suzhou Wuzhong District, Jiangsu Province, Portland Small Street, Wei Ting Town, Lotus Plaza, Portland Small Street East",

"Longitude": 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 Usage API description

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.