location.fixtypes
The location.fixtypes command is used to obtain the unique list of fixType values published for a Thing.
TR50 Request
{
"cmd": {
"command": "location.fixtypes",
"params": {
"thingKey": "mything"
}
}
}
Request Parameters
Name |
Type |
Required |
Description |
---|---|---|---|
|
Thing Identifier Parameters |
|
An optional identifier to specify the thing with the fixType values. If omitted, the thing associated with your session will be used. See Thing Identifier Parameters table below for supported parameters. |
Thing Identifier Parameters
Name |
Type |
Description |
---|---|---|
thingKey |
String |
Key of the thing |
thingId |
String |
Id of the thing |
esn |
String |
Esn of the thing |
iccid |
String |
Iccid of the thing |
imei |
String |
Imei of the thing |
imsi |
String |
Imsi of the thing |
meid |
String |
Meid of the thing |
msisdn |
String |
Msisdn of the thing |
TR50 Response
If the command is sent successfully a success message and the result values found are returned. Otherwise, an error and error message will be returned.
{
"cmd": {
"success": true,
"params": {
"fixTypes": [
"unknown",
"GPS"
]
}
}
}
Response Parameters
Name |
Type |
Description |
---|---|---|
fixTypes |
Array |
Array of unique fixType values that have been reported for the Thing. |