How to contribute TDSCDMA, Neighboring Cell, and GNSS information
Note
HERE Network Positioning API v1 is in maintenance and is not actively developed. Use HERE Network Positioning API v2 to get the latest features and updates. To learn more, see the HERE Network Positioning API v2 Developer Guide.
User Story
The user wants to improve the responses for requests to the locate resource by contributing TDSCDMA measurements from a known location.
Request
The code block below demonstrates a POST request to contribute the TDSCDMA information in the POST body.
https://pos.ls.hereapi.com/positioning/v1/contribute?apiKey={YOUR_API_KEY}You need to set request content type in the HTTP headers:
Content-Type: application/jsonThis POST request requires the following POST body.
{
"client":{
"manufacturer":"maker-of-the-device",
"platform":"platform-of-the-device",
"name":"client-name",
"version":"1.1.10107",
"model":"XYZ-123",
"firmware": "1.2.3",
"homenetwork": [
{
"mcc": 460,
"mnc": 123
}
]
},
"contributions":[
{
"tdscdma":[
{
"mcc": 460,
"mnc": 123,
"cid": 120072636,
"cellparams": 42,
"uarfcn": 10113,
"rscp": -50,
"pathloss": 70,
"timestamp": "2016-06-30T14:10:25Z",
"nmr": [
{
"cellparams": 43,
"uarfcn": 10113,
"cid": 65484618,
"rscp": -30,
"pathloss": 85
},
{
"cellparams": 42,
"uarfcn": 10055,
"cid": 65484484,
"rscp": -38,
"pathloss": 90
}
]
},
{
"mcc": 460,
"mnc": 123,
"cid": 120072635,
"cellparams": 42,
"uarfcn": 10113,
"rscp": -52,
"pathloss": 73,
"timestamp": "2016-06-30T14:09:25Z"
}
],
"position":{
"type": "gnss",
"lat": 39.914325,
"lng": 116.316409,
"accuracy": 5,
"alt": 30,
"altaccuracy": 60,
"speed": 1,
"course": 42,
"satellitecount": 9,
"timestamp": "2016-06-30T14:10:34Z"
}
}
]
}Response
The response to the request contains the status of the POST request.
{
"success": {
"code": 200,
"message": "OK",
"description": "Data was received successfully"
}
}Related Information
Updated last month