GET
https://api.applivery.io/v1/organizations/{organizationId}/mdm/android/enterprise/policies/{emmPolicyId}/agent-config
curl -X GET "https://api.applivery.io/v1/organizations/{organizationId}/mdm/android/enterprise/policies/{emmPolicyId}/agent-config" \
-H "Authorization: Bearer <YOUR_API_KEY>"const response = await fetch("https://api.applivery.io/v1/organizations/{organizationId}/mdm/android/enterprise/policies/{emmPolicyId}/agent-config", {
method: "GET",
headers: {
Authorization: "Bearer <YOUR_API_KEY>",
},
});
const data = await response.json();import requests
response = requests.get(
"https://api.applivery.io/v1/organizations/{organizationId}/mdm/android/enterprise/policies/{emmPolicyId}/agent-config",
headers={"Authorization": "Bearer <YOUR_API_KEY>"},
)
data = response.json()Request
Send your API key in the request header
authorization
Example:
Authorization: Bearer <token>
organizationId
string
required
emmPolicyId
string
required
Responses
200 Response
application/json
status
boolean
required
data
object
required
config
object
optional
checkInterval
integer
optional
android
object
optional
locationRefreshInterval
integer
optional
locationQueueLength
integer
optional
location
object
optional
applicationsTime
object
optional
applicationsTransfer
object
optional
networkStatus
object
optional
policyFeatures
array [object]
optional
{
"status": true,
"data": {
"config": {
"checkInterval": 0
},
"android": {
"locationRefreshInterval": 0,
"locationQueueLength": 0,
"location": {
"active": true,
"refreshInterval": 0,
"queueLength": 0
},
"applicationsTime": {
"active": true,
"queueLength": 0,
"reportLimit": 0,
"refreshInterval": 0
},
"applicationsTransfer": {
"active": true,
"queueLength": 0,
"reportLimit": 0,
"refreshInterval": 0
},
"networkStatus": {
"active": true,
"queueLength": 0,
"refreshInterval": 0
},
"policyFeatures": [
{
"name": "bookmarks",
"reason": "string",
"active": true
}
]
}
}
}
401 Response
application/json
status
boolean
optional
error
object
optional
code
number
optional
message
string
optional
{
"status": false,
"error": {
"code": 4002,
"message": "No auth token"
}
}
404 Response
application/json
status
boolean
optional
error
object
optional
code
number
optional
message
string
optional
{
"status": false,
"error": {
"code": 3001,
"message": "Entity not found"
}
}