location.policy.list
The location.policy.list command is used to list all the Location policies.
You need to have appropriate permissions to execute this command
TR50 Request
{
"cmd": {
"command": "location.policy.list"
}
}
Request Parameters
Name | Type | Required | Description |
---|---|---|---|
offset | Integer | The starting list offset, used for pagination. Defaults to 0 if not specified. | |
limit | Integer | Limit the number of results returned. The maximum you can set is 2000. Defaults to 2000. |
TR50 Response
{
"cmd": {
"success": true
"params": {
"count":2,
"result":[
{
"id": "5c4f7174fe2a1362dc0247e3",
"name": "myLocationPolicy",
"network": {
"providers": [
{
"provider": "unwiredlabs",
"value": 0
},
{
"provider": "rxnetworks",
"condition": "accuracy",
"value": 501
}
],
"results": "average"
},
{
"id": "5c3fc2cefe2a1314884f0d44",
"name": "Unwired Labs Only",
"network": {
"providers": [
{
"provider": "unwiredlabs",
"value": 0
},
],
"results": "best"
}
}
]
}
}
}
Response Parameters
Name | Type | Description |
---|---|---|
result | Array | An array of Location Policies. |