GET devices/{deviceId}/profiles?composedProfileType={composedProfileType}
Gets the profiles that are active in the device.
Remarks
C4M Error Code returned:
null The profiles for the device are retrieved with success.
DeviceNotFound Device not found in the environment.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
deviceId | The device identifier. |
Define this parameter in the request URI. |
composedProfileType | Profile type filter (optional). |
Define this parameter in the request URI. |
Response Information
The profiles that are active in the device by inheritance of the groups hierarchy, optionally filtered by profile type.
Response body formats
application/json, text/json
Sample:
[ { "composedProfileType": 0, "description": "Sample profile description.", "id": 1, "name": "Sample profile" }, { "composedProfileType": 11, "certificateSettings": { "certificateAuthorities": null, "certificateIdentities": null }, "groups": [ { "enrollCode": null, "fullName": null, "id": 0, "name": null, "parentFullName": null, "parentGroupId": null }, { "devices": null, "profiles": null, "subgroups": null, "enrollCode": null, "fullName": null, "id": 0, "name": null, "parentFullName": null, "parentGroupId": null } ], "isReadOnly": false, "description": "Sample profile description.", "id": 1, "name": "Sample profile" }, { "composedProfileType": 10, "telephonySettings": { "accessPointNames": null, "defaultAccessPointName": "sample string 1", "incomingCallWhitelist": null, "outgoingCallWhitelist": null }, "groups": [ { "enrollCode": null, "fullName": null, "id": 0, "name": null, "parentFullName": null, "parentGroupId": null }, { "devices": null, "profiles": null, "subgroups": null, "enrollCode": null, "fullName": null, "id": 0, "name": null, "parentFullName": null, "parentGroupId": null } ], "isReadOnly": false, "description": "Sample profile description.", "id": 1, "name": "Sample profile" }, { "composedProfileType": 12, "wifiSettings": { "wifiNetworks": null }, "groups": [ { "enrollCode": null, "fullName": null, "id": 0, "name": null, "parentFullName": null, "parentGroupId": null }, { "devices": null, "profiles": null, "subgroups": null, "enrollCode": null, "fullName": null, "id": 0, "name": null, "parentFullName": null, "parentGroupId": null } ], "isReadOnly": false, "description": "Sample profile description.", "id": 1, "name": "Sample profile" }, { "composedProfileType": 9, "settings": { "applications": null }, "groups": [ { "enrollCode": null, "fullName": null, "id": 0, "name": null, "parentFullName": null, "parentGroupId": null }, { "devices": null, "profiles": null, "subgroups": null, "enrollCode": null, "fullName": null, "id": 0, "name": null, "parentFullName": null, "parentGroupId": null } ], "isReadOnly": false, "description": "Sample profile description.", "id": 1, "name": "Sample profile" }, { "composedProfileType": 3, "blacklist": { "applications": null }, "groups": [ { "enrollCode": null, "fullName": null, "id": 0, "name": null, "parentFullName": null, "parentGroupId": null }, { "devices": null, "profiles": null, "subgroups": null, "enrollCode": null, "fullName": null, "id": 0, "name": null, "parentFullName": null, "parentGroupId": null } ], "isReadOnly": false, "description": "Sample profile description.", "id": 1, "name": "Sample profile" }, { "composedProfileType": 8, "settings": { "applications": null, "downloadMethod": 0 }, "groups": [ { "enrollCode": null, "fullName": null, "id": 0, "name": null, "parentFullName": null, "parentGroupId": null }, { "devices": null, "profiles": null, "subgroups": null, "enrollCode": null, "fullName": null, "id": 0, "name": null, "parentFullName": null, "parentGroupId": null } ], "isReadOnly": false, "description": "Sample profile description.", "id": 1, "name": "Sample profile" }, { "composedProfileType": 7, "settings": { "maximumFailedPasswordAttemptsForWipe": 1, "passwordExpirationTimeout": 2, "passwordHistoryLength": 3, "passwordMinimumLength": 4, "passwordMinimumLetters": 5, "passwordMinimumLowercase": 6, "passwordMinimumNonLetter": 7, "passwordMinimumNumeric": 8, "passwordMinimumSymbols": 9, "passwordMinimumUppercase": 10, "passwordQuality": 0 }, "groups": [ { "enrollCode": null, "fullName": null, "id": 0, "name": null, "parentFullName": null, "parentGroupId": null }, { "devices": null, "profiles": null, "subgroups": null, "enrollCode": null, "fullName": null, "id": 0, "name": null, "parentFullName": null, "parentGroupId": null } ], "isReadOnly": false, "description": "Sample profile description.", "id": 1, "name": "Sample profile" }, { "composedProfileType": 6, "policy": { "addUser": true, "adjustMasterVolume": true, "alwaysOnVpnPackage": { "lockdown": false, "packageName": null }, "applicationAutoUpdatePolicy": 0, "autoTime": true, "bluetooth": true, "bluetoothConfiguration": true, "bluetoothContactSharing": true, "camera": true, "cellBroadcastsConfiguration": true, "credentialsConfiguration": true, "dataRoaming": true, "debuggingFeatures": true, "ensureVerifyApplications": true, "factoryReset": true, "forceHighAccuracy": true, "frpAdminEmails": null, "installApplications": true, "keyguardFeatures": null, "locationMode": 0, "lockScreenInfo": "sample string 16", "maximumTimeToLock": 17, "microphone": true, "mobileNetworksConfiguration": true, "modifyAccounts": true, "mountPhysicalMedia": true, "networkReset": true, "outgoingBeam": true, "outgoingCalls": true, "permissionPolicy": 0, "permittedInputMethods": null, "playStoreMode": 0, "removeUser": true, "safeMode": true, "screenCapture": true, "sendReceiveSms": true, "skipFirstUseHints": true, "stayOnPluggedModes": null, "systemUpdatePolicy": 0, "tetheringConfiguration": true, "uninstallApplications": true, "untrustedApplicationsPolicy": 0, "usbFileTransfer": true, "vpnConfiguration": true, "wifiConfiguration": true, "windowedUpdateEndTime": 35, "windowedUpdateStartTime": 36 }, "groups": [ { "enrollCode": null, "fullName": null, "id": 0, "name": null, "parentFullName": null, "parentGroupId": null }, { "devices": null, "profiles": null, "subgroups": null, "enrollCode": null, "fullName": null, "id": 0, "name": null, "parentFullName": null, "parentGroupId": null } ], "isReadOnly": false, "description": "Sample profile description.", "id": 1, "name": "Sample profile" }, { "composedProfileType": 4, "launcherSettings": { "blockStatusBar": true, "enabled": true, "horizontalBackgroundImage": { "imageUrl": null, "scaleType": 0 }, "lockTaskAllowed": true, "password": "sample string 4", "passwordType": 0, "titleText": "sample string 5", "verticalBackgroundImage": { "imageUrl": null, "scaleType": 0 }, "whitelist": null }, "groups": [ { "enrollCode": null, "fullName": null, "id": 0, "name": null, "parentFullName": null, "parentGroupId": null }, { "devices": null, "profiles": null, "subgroups": null, "enrollCode": null, "fullName": null, "id": 0, "name": null, "parentFullName": null, "parentGroupId": null } ], "isReadOnly": false, "description": "Sample profile description.", "id": 1, "name": "Sample profile" }, { "composedProfileType": 5, "policy": { "airplaneMode": true, "bluetooth": true, "camera": true, "clipboard": true, "factoryReset": true, "homeKey": true, "microphone": true, "nfc": true, "powerOff": true, "safeMode": true, "screenCapture": true, "settingsChanges": true, "statusBarExpansion": true, "taskManager": true, "wifi": true }, "groups": [ { "enrollCode": null, "fullName": null, "id": 0, "name": null, "parentFullName": null, "parentGroupId": null }, { "devices": null, "profiles": null, "subgroups": null, "enrollCode": null, "fullName": null, "id": 0, "name": null, "parentFullName": null, "parentGroupId": null } ], "isReadOnly": false, "description": "Sample profile description.", "id": 1, "name": "Sample profile" }, { "applicationSettings": { "applications": null }, "composedProfileType": 2, "policy": { "airplaneMode": true, "audioRecord": true, "bluetooth": true, "camera": true, "clipboard": true, "clipboardShare": true, "factoryReset": true, "headphone": true, "homeKey": true, "microphone": true, "navigationBar": true, "nfc": true, "otaUpgrade": true, "powerOff": true, "safeMode": true, "screenCapture": true, "settingsChanges": true, "softwareInstallation": true, "softwareUninstallation": true, "statusBar": true, "statusBarExpansion": true, "sVoice": true, "taskManager": true, "videoRecord": true, "wifi": true }, "groups": [ { "enrollCode": null, "fullName": null, "id": 0, "name": null, "parentFullName": null, "parentGroupId": null }, { "devices": null, "profiles": null, "subgroups": null, "enrollCode": null, "fullName": null, "id": 0, "name": null, "parentFullName": null, "parentGroupId": null } ], "isReadOnly": false, "description": "Sample profile description.", "id": 1, "name": "Sample profile" }, { "applicationUsage": { "enabled": true, "monitoringInterval": 1, "storageTime": 1, "synchronizationInterval": 1 }, "battery": { "enabled": true, "monitoringInterval": 1, "storageTime": 1, "synchronizationInterval": 1 }, "composedProfileType": 0, "dataUsage": { "beginOfCycle": 1, "enabled": true, "monitoringInterval": 1, "storageTime": 1, "synchronizationInterval": 1 }, "location": { "enabled": true, "monitoringInterval": 1, "storageTime": 1, "synchronizationInterval": 1 }, "locationHistory": { "monitoringQuality": 0, "enabled": true, "monitoringInterval": 1, "storageTime": 1, "synchronizationInterval": 1 }, "memory": { "enabled": true, "monitoringInterval": 1, "storageTime": 1, "synchronizationInterval": 1 }, "groups": [ { "enrollCode": null, "fullName": null, "id": 0, "name": null, "parentFullName": null, "parentGroupId": null }, { "devices": null, "profiles": null, "subgroups": null, "enrollCode": null, "fullName": null, "id": 0, "name": null, "parentFullName": null, "parentGroupId": null } ], "isReadOnly": false, "description": "Sample profile description.", "id": 1, "name": "Sample profile" } ]