Calculates a position for the given measurement from cellular, Wi-Fi or GNSS module.
For further details you can refer to developer guide
DateTime | string <DateTime> Examples:
This is only supported when using text/plain format. ISO 8601 DateTime format "yyyy-mm-ddThh:mm:ss" in UTC. This is the optional timestamp of the measurement. If this parameter is omitted, the time of the request is used as the timestamp of the measurement. |
RequestId | string <= 60 characters An optional RequestId parameter that will be returned in response as is to trace the request. |
DeviceId | string <= 32 characters ^[a-zA-Z0-9:_-]+$ An optional unique DeviceId parameter will be returned in response to trace the device. We highly recommend using this parameter for better traceability, especially if a fleet of devices uses the same credentials. |
object Input measurements from Cellular Modem. | |
Array of objects List of WiFi access points. At least two WiFi Access points are required. Only the first 25 Access points are considered; the rest will be ignored. | |
object Input measurements from GNSS. Supported types include UBX-RXM-MEASX/MEAS50/MEAS20/MEASC12. |
{- "RequestId": "82cb34c9-88c1",
- "DeviceId": "device:A12345",
- "GNSSMeasurements": {
- "Payload": "tWIChjIAG/M7CcimDqBmvpr+A9pGYVEPdxhiyIqPToNAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAyAA==",
- "DateTime": "2023-04-05T12:50:16"
}, - "WiFiMeasurements": [
- {
- "BSSID": "9002184725b4",
- "SignalStrength": -69,
- "Channel": 1
}, - {
- "BSSID": "04a222198f15",
- "SignalStrength": -69,
- "Channel": 1
}
], - "CellMeasurements": {
- "HomeMCC": 234,
- "HomeMNC": 10,
- "IMEI": "517334473528130",
- "RAT": "LTE",
- "NetworkCells": [
- {
- "CellIdentifier": 137788526,
- "AreaCode": 14354,
- "SignalStrength": -98,
- "Code": 201,
- "Frequency": 6400,
- "IsServingCell": true
}
]
}
}
{- "Location": {
- "Lat": 51.496417,
- "Lon": -0.1096035,
- "Unc68": 5.35
}, - "DeviceId": "device:G12345",
- "DateTime": "2023-04-05T12:50:16",
- "RequestId": "82cb34c9-88c4",
- "LocationSource": "GNSS"
}
Token has a validity of one hour for accessing the CloudLocate API, while RefreshToken is valid for one day for generating new tokens.
Username required | string |
Password required | string |
{- "Username": "string",
- "Password": "string"
}
{- "Token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6IkZHTVlMWVhLRzFaR1ZPVVRDTlBIIiwidG9rZW5fdHlwZSI6ImFjY2Vzc190b2tlbiIsIm5iZiI6MTcwODMyNDMwMSwiZXhwIjoxNzA4MzI3OTAxLCJpYXQiOjE3MDgzMjQzMDEsImlzcyI6InUtYmxveC1kZXYifQ.pgUSFUMyBlO4Ax8dY6PZFk2z3c1puKi0HTKaoxAoqjc",
- "RefreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6IkZHTVlMWVhLRzFaR1ZPVVRDTlBIIiwidG9rZW5fdHlwZSI6InJlZnJlc2hfdG9rZW4iLCJuYmYiOjE3MDgzMjQzMDEsImV4cCI6MTcwODQxMDcwMSwiaWF0IjoxNzA4MzI0MzAxLCJpc3MiOiJ1LWJsb3gtZGV2In0.dEjsvlK5WMl8Oy9SLFqtqXKLvK231tWTPGxU8ynyrwU"
}
Using a valid RefreshToken generate a new token which has a validity of one hour.
RefreshToken required | string |
{- "RefreshToken": "string"
}
{- "Token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6IkZHTVlMWVhLRzFaR1ZPVVRDTlBIIiwidG9rZW5fdHlwZSI6ImFjY2Vzc190b2tlbiIsIm5iZiI6MTcwODMyNDMwMSwiZXhwIjoxNzA4MzI3OTAxLCJpYXQiOjE3MDgzMjQzMDEsImlzcyI6InUtYmxveC1kZXYifQ.pgUSFUMyBlO4Ax8dY6PZFk2z3c1puKi0HTKaoxAoqjc"
}
Invalidate all tokens generated previously. To access the CloudLocate API, new tokens must be requested.
Token required | string |
{- "Token": "string"
}
{- "Message": "Tokens are revoked."
}
Calculates a position for the given measurement. Input payload (base64 encoded) received from the cellular module.
Payload | string Input base64 encoded binary payload. |
{- "Payload": "R1NNQ0VMczKzT3YjSzADcAQAAAMDcAQB1gCvsiA7HgADAALJAJKwGzwoAALWAG2xGjMsAALJAGOxGCsrAALWAIq9FiEyAIEaU0FSQS1HMzQwL1NhcmEzNDBfMDguOTAuMDMA"
}
{- "Location": {
- "Lat": 51.6387347,
- "Lon": 0.1121669,
- "Unc68": 20.1
}, - "DateTime": "2020-08-17T20:18:12",
- "DeviceID": "357861090015763",
- "DeviceType": "SARA-R510S-00B-00/01.02,A00.01",
- "UBXResponse": "tWITQBgAEAAAEuYHCBAHHREAQBO5IAAAAACAGgYAk/G1YhNAFAABAAAA7IcgH66h9P8AAAAAxQwAAC0atWIIBhwAiuyHIB+uofT/FIsAAAAAEREAMosAAAAAEREAX6e8",
- "LocationSource": "Cell"
}