Device API Calls
Assign a Device to a User
This call assigns a device to a user. This call is supported on supervised iOS devices and on the Android Enterprise devices with secure re-assignment which clears app data of the previous user. Secure re-assignment on Android devices requires SUEM-Premium feature.
Device reassignment is a time-consuming (asynchronous) API between the server and the device. Once reassignment is initiated from UI, the server sends reassignment data to the device and marks the "Last Reassignment Status" field as "INITIATED" in the device details screen. Based on the device’s response to the server, "Last Reassignment Status" is updated as "SUCCESS" or "FAILED" in UI.
Authentication
This call requires tenant admin credentials.
HTTP Method
PUT
Request URI
/api/v1/device/updateAccount
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
---|---|---|---|
accountId |
Request body |
ID of the account to which to assign the device. |
10542407 |
deviceIds |
Request body |
IDs of the devices to assign to the user. |
73542 |
Example Request
curl --location --request PUT 'https://[Ivanti Neurons for MDM]]/api/v1/device/updateAccount' \ --header 'Accept: application/json, text/plain, */*' \ --data-urlencode 'accountId=10542407' \ --data-urlencode 'deviceIds=73542'
Response Fields
Field |
Description |
---|---|
errors |
Errors returned by the call |
result |
List of devices that were not eligible for reassignment, and hence rejected. Empty list, if all the devices have been initiated reassignment. |
Example Response
{
"errors": null,
"result": {
"searchResults": [],
"totalCount": 0,
"offset": 0,
"limit": 0
}
}
Get Custom Attributes Per Device
This API returns a list of custom attributes for the target device. You can use the device ID or GUID to identify the target device.
Authentication
Device Management or Device Read Only.
HTTP Method
GET
Request URI
/api/v1/device/{id}|{guid}/customattributes
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
---|---|---|---|
id |
Path |
The device ID |
22000 |
guid |
Path |
The device GUID |
57d9903c-aadf-4b40-aef3-e1f24302f180 |
Example Requests
curl GET -kv -u user:password "https://[Ivanti Neurons for MDM]/api/v1/device/22000/customattributes”
curl GET -kv -u user:password "https://[Ivanti Neurons for MDM]/api/v1/device/57d9903c-aadf-4b40-aef3-e1f24302f180/customattributes”
Example Response
{
“attrs” :
{
“cityId” : “SF”,
“carrier” : “att”
}
}
Add/Replace Custom Attributes Per Device
You can use this API call to assign a custom attribute, for example, cityId, to the device. You could then use this custom attribute to create a device group for all devices with that cityId. You can use the device ID or GUID to identify the target device. The call posts a request body consisting of a JSON payload containing a map of string attributes.
The POST method completely replaces the attributes on the device with the call’s payload, deleting any existing attribute on the device not defined in the payload.
Authentication
Device Management.
HTTP Method
POST to replace all values with the call’s payload.
Request URI
/api/v1/device/{id}|{guid}/customattributes
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
---|---|---|---|
id |
Path |
The device ID |
22000 |
guid |
Path |
The device GUID |
8bcc4cee-dca9-476d-8710-9bb1e738ade9 |
attrs |
Request body |
The attributes to assign to the device as JSON: { “attrs” : { “key-1” : [ “value-1” ] } } You must add _# to the attribute name while adding/replacing the value for numerical custom device attributes. |
{ "attrs": { "cityid": [ "SF" ] } } |
Example Request URLs
http://[Ivanti Neurons for MDM]/api/v1/device/22000/customattributes
curl -X POST -kv -u user:password -H 'Content-Type: application/json' -d '{ "attrs" : { "tlark" : [ "1" ] } } ' "https://[Ivanti Neurons for MDM]/api/v1/device/22000/customattributes"
curl -X POST -kv -u user:password -H 'Content-Type: application/json' -d '{ "attrs" : { "tlark" : [ "1" ] } } ' "https://[Ivanti Neurons for MDM]/api/v1/device/8bcc4cee-dca9-476d-8710-9bb1e738ade9/customattributes"
Example Request Body
{"attrs": {
"cityid": [
"SF"
]
}
}
Patch custom attributes per device
You can use this API call to patch a custom attribute, for example, cityId, of the device. You can use the device ID or GUID to identify the target device. The call posts a request body consisting of a JSON payload containing a map of string attributes.
The PATCH method retains attributes not defined in its payload, updates existing custom attributes, and adds custom attributes to the device that do not exist.
Authentication
Device Management.
HTTP Method
PATCH to retain attributes not defined in the payload, update existing custom attributes, and add custom attributes to the device that do not exist.
Request URI
/api/v1/device/{id}|{guid}/customattributes
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
---|---|---|---|
id |
Path |
The device ID |
22000 |
guid |
Path |
The device GUID |
8bcc4cee-dca9-476d-8710-9bb1e738ade9 |
attrs |
Request body |
The attributes to assign to the device as JSON: { "attrs": { "key-1": [ "value-1" ] } You must add _# to the attribute name while patching the value for numerical custom device attributes. |
{ "attrs": { "a": [ "value_a_patched" ] } |
forceOverwrite |
Request body |
Set to true or false. If true, then the api updates the existing custom attribute, or adds a new one. If false, then the API would append the value to the existing custom attribute or add a new entry if it does not exist. |
"forceOverwrite": true |
Example Requests
Given these existing attributes:
{
"errors": null,
"result": {
"deviceId": 22000,
"guid": "e77fc91f-445d-4797-b8f1-a412279952e1",
"attrs": {
"a": [
"valuea"
],
"b": [
"valueb"
]
}
}
}
Use this request to overwrite attribute a only:
curl --location --request PATCH 'https://[Ivanti Neurons for MDM]/api/v1/device/57d9903c-aadf-4b40-aef3-e1f24302f180/customattributes' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic <token>' \
--header 'Content-Type: text/plain' \
--data-raw '{"attrs":{"a":["value_a_patched"]}, "forceOverwrite":true}'
Use this request to overwrite both attributes a and b:
curl --location --request PATCH 'https://[Ivanti Neurons for MDM]/api/v1/device/57d9903c-aadf-4b40-aef3-e1f24302f180/customattributes' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic <token>' \
--header 'Content-Type: text/plain' \
--data-raw '{"attrs":{"a":["value_a_patched"], "b":["value_b_patched"]}, "forceOverwrite":true}'
Use this request to add new attribute c:
curl --location --request PATCH 'https://[Ivanti Neurons for MDM]/api/v1/device/57d9903c-aadf-4b40-aef3-e1f24302f180/customattributes' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic <token>' \
--header 'Content-Type: text/plain' \
--data-raw '{"attrs":{"c":["value_c_added"]}, "forceOverwrite":true}'
Example Response
{
"errors": null,
"result": 1
}
Remove custom attributes per device - method 1
You can use this API call to remove selected custom attributes of the device. The call posts a request body as a JSON payload consisting of the device ID and a map of string attributes to remove.
Authentication
Device Management.
HTTP Method
DELETE
Request URI
/api/v1/device/customattributes
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
---|---|---|---|
ids |
Request body |
The device IDs whose custom attributes to remove. |
73542 |
attrs |
Request body |
The attributes to remove from the device as JSON:
|
|
Example Requests
Example Request URLs
curl --location --request DELETE 'https://[Ivanti Neurons for MDM]/api/v1/device/customattributes' \ --header 'Accept: application/json, text/plain, */*' \ --header 'Content-Type: application/json' \ --header 'Authorization: Basic <token>' \ --data-raw '{"ids":["73542"],"attrKeys":["ForDocs001","forDocs002"]}'
Example Request Body, Formatted
{ "ids": [ "73542" ], "attrKeys": [ "ForDocs001", "forDocs002" ] }
Example Response
{
"errors": null,
"result": 1
}
Remove custom attributes per device - method 2
You can use this API call to remove selected custom attributes of the device. The call posts a request body as a JSON payload consisting of the attributes to remove. This leaves in place the attributes not sent in the call.
Authentication
Device Management.
HTTP Method
DELETE
Request URI
/api/v1/device/{ID or GUID}/customattributes
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
---|---|---|---|
ID or GUID |
Request body |
The device whose custom attributes to remove. Can be ID or GUID |
d67f2d3b-4ea7-44c6-9fb7-5f4107184e34 |
attrs |
Request body |
The attributes to remove from the device as JSON:
|
|
Example Request
curl --location --request DELETE 'https://[Ivanti Neurons for MDM]/api/v1/device/d67f2d3b-4ea7-44c6-9fb7-5f4107184e34/customattributes' \ --header 'Content-Type: application/json' \ --header 'Authorization: Basic <token>' \ --data-raw '{ "attrs" : { "attribute1" : [ "1" ] } } '
Example Response
{
"errors": null,
"result": 1
}
Get Device Details
This call gets the device details of a specific device. Details include, among other attributes, the device groups to which it belongs and last known location.
Authentication
This call requires Tenant Admin credentials.
HTTP Method
GET
Request URI
/api/v1/device/deviceId
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
---|---|---|---|
deviceId |
Path |
The ID of the device for which to get details. Can be the device ID or the GUID. |
Device ID example: 92752 Device GUID example: ed6b6e18-892f-4059-b605-def424308c4d |
Response Fields
Field |
Description |
---|---|
errors |
|
result |
|
id |
|
guid |
|
mdmChannelId |
Identifier of MDMchannel which is generated by Ivanti Neurons for MDM. |
phoneNumber |
|
deviceModel |
|
deviceName |
|
platformType |
|
platformVersion |
|
osBuildVersion |
|
lastCheckin |
Last client checkin. |
registrationState |
|
displayName |
|
firstName |
|
lastName |
|
uid |
|
emailAddress |
|
clientVersion |
|
manufacturer |
|
imei |
|
imei2 |
|
imsi |
|
locatorServiceEnabled |
|
meid |
|
wifiMacAddress |
|
serialNumber |
|
altSerialNumber |
|
cellularTechnology |
|
currentCarrierNetwork |
|
subscriberCarrierNetwork |
|
locale |
|
ownershipType |
|
complianceState |
|
roaming |
|
supervised |
|
udid |
|
clientLastCheckin |
|
iccid |
|
currentMcc |
|
currentMnc |
|
subscriberMcc |
|
subscriberMnc |
|
prettyModel |
|
policyViolationCount |
|
latitude |
Available if location services turned on by owner. |
longitude |
Available if location services turned on by owner. |
locationLastCapturedAt |
|
lastRegistrationTime |
|
lostModeEnabled |
|
multiUser |
|
clientDeviceIdentifier |
|
availableCapacity |
|
totalCapacity |
|
clusterIdentifier |
|
deviceSource |
|
quarantined |
|
jailbroken |
|
passcodeCompliant | True if the passcode is compliant with all the requirements on the device, including Exchange and other accounts. Applicable for iOS only (null for the other platforms). |
passcodeCompliantWithProfiles |
True if the passcode is compliant with EMM profiles. Applicable for iOS and Android only (null for other platforms). |
blocked |
|
locationStatusDetail |
|
androidBuildFingerprint |
|
androidBuildId |
|
androidZebraPatchLevel |
|
androidSystemUpdateStatus |
|
salesCode |
|
uptime |
|
androidWorkContainerEnabled |
|
androidWorkUid |
|
fcmEnabled |
|
actionExceptionCodes |
|
violatedPolicies |
|
supportLockMessage |
|
ownerId |
|
legalOwnerId |
Legal owner of the device, for shared iPad devices. |
legalOwnerEmailAddress |
Email address of the device legal owner, for shared iPad devices. |
kioskState |
|
customAttributes |
|
easDeviceIdentifiers |
|
IKTFNGAVQT7B1BLBD1NKUCVQ4S |
|
appEasIdentifiers |
|
androidDeviceOwnerModeEnabled |
|
windowsDeviceType |
|
secureAppsStatus |
|
secureAppsEncryptionStatus |
|
secureAppsEncryptionMode |
|
tpmSpecificationVersion |
|
bridgeVersion |
|
bridgeDeviceDataLastCapturedAt |
|
lastHotfixId |
|
lastHotfixInstalledOn |
|
mamOnly |
|
depEnrolled |
|
depEligible |
|
mobileThreatDefenseGeneralStatus |
|
antiPhishingGeneralStatus |
|
samsungEfotaCapable |
|
currentCountryName |
If the value for currentCountryName is blank or null, the corresponding API response field will be "null." |
currentCountryCode |
|
homeCountryName |
If the value for homeCountryName is blank or null, the corresponding API response field will be "null." |
homeCountryCode |
|
userPreferenceCSVHeader |
|
dmPartitionId |
|
dmPartitionName |
|
androidSecurityPatchLevel |
|
clientAppBundleId |
|
groups |
|
id |
|
createdAt |
|
createdBy |
|
modifiedAt |
|
modifiedBy |
|
visible |
|
dmPartitionId |
|
name |
|
description |
|
type |
|
definition |
|
mutable |
Can be modified by default. |
memberCount |
|
systemName |
|
membershipStatic |
|
treeView |
|
actionExceptionCodes |
|
assignedConfigs |
|
assignedPolicies |
|
staticMembers |
|
id |
|
createdAt |
|
createdBy |
|
modifiedAt |
|
modifiedBy |
|
visible |
|
dmPartitionId |
|
name |
|
description |
|
type |
|
definition |
|
mutable |
Can be modified by default. |
memberCount |
|
systemName |
|
membershipStatic |
|
treeView |
|
operator |
|
rule |
|
field |
|
cfAttributeName |
|
operator |
|
values |
|
IOS |
|
children |
|
actionExceptionCodes |
|
assignedConfigs |
|
assignedPolicies |
|
staticMembers |
|
privacyPolicy |
|
policyId |
|
policyName |
|
locateStatus |
|
wipeDisabled |
|
appInventoryCollectAllEnabled |
|
tos |
|
title |
|
body |
|
tosAcceptedTime |
|
tosId |
|
restrictions |
|
dataRoamingEnabled |
|
appConnectCheckInTime |
|
antiPhishingStatus |
|
mobileThreatDefenseStatus |
|
appFeedbackLastSync |
|
activationLockEnabled |
|
bypassCode |
|
cloudBackupEnabled |
|
networkTethered |
|
lastCloudBackupDate |
|
mirroringStatus |
|
voiceRoamingEnabled |
|
availableOSUpdate |
|
availableOSUpdates |
|
serviceSubscriptions |
|
carrierSettingsVersion |
|
currentCarrierNetwork |
|
currentMCC |
|
currentMNC |
|
esimIdentifier |
eSim identifier. Is GDPR compliant. |
iccid |
|
imei |
|
isDataPreferred |
|
isVoicePreferred |
|
label |
|
labelID |
|
phoneNumber |
|
slot |
|
timeZone |
|
osxFdeEnabled |
|
osxFdeHasInstitutionalRecoveryKey |
|
osxFdeHasPersonalRecoveryKey |
|
bootstrapTokenAvailable |
|
osxFirewallSettings |
|
osxSystemIntegrityProtectionEnabled |
|
osxAutoAdminAccountShortName |
|
osxFirmwarePasswordStatus |
|
osxFirmwarePasswordCommandStatus |
|
availableMacOSUpdates |
|
passcodeLockGracePeriodEnforced |
|
androidId |
|
androidSecurityPatchLevel |
|
androidWorkCapable |
|
androidWorkEnabled |
|
androidZebraCapable |
|
helpAtWorkAvailable |
|
samsungSafeCapable |
|
androidEnterpriseKioskLogoutEnabled |
|
androidWorkProfileEnabled |
|
androidDeviceOwnerEnabled |
|
androidWorkDeviceOwnerWithWorkProfileEnabled |
|
aadDeviceId |
|
winDmClientChannelUri |
|
windowsEncrypted |
|
wipConfigured |
|
applockerConfigured |
|
wipMandatorySettingsConfigured |
|
batteryEstimatedChargeRemaining |
|
batteryEstimatedRuntime |
|
osPlatform |
|
osEdition |
|
deviceFamily |
|
androidSafetyNetAttestationType |
|
aadBulkEnrolled |
|
enrollerId |
|
changeOwnerCounter |
|
aadEnrolled |
|
apnsCapable |
|
clientRegistered |
|
mdmDeviceIdentifier |
|
itunesAccountActive |
|
winServiceSubscriptions |
|
Example Request
https://[Ivanti Neurons for MDM]/api/v1/device/22001
Example Response
{ "errors": null, "result": { "id": 92752, "guid": "ed6b6e18-892f-4059-b605-def424308c4d", "mdmChannelId": "850a62ec-c29a-42ff-b9e2-16846cf5eb2d", "phoneNumber": null, "deviceModel": "iPad4,5", "deviceName": "iPad", "platformType": "IOS", "platformVersion": "12.4.4", "osBuildVersion": "16G140", "lastCheckin": 1578404119952, "registrationState": "ACTIVE", "displayName": "praveen kh", "firstName": "praveen", "lastName": "kh", "uid": "[email protected]", "emailAddress": "[email protected]", "clientVersion": null, "manufacturer": "Apple Inc.", "imei": "35 884805 038514 5", "imei2": null, "imsi": null, "locatorServiceEnabled": true, "meid": "35884805038514", "wifiMacAddress": "6c:70:9f:29:fe:d7", "serialNumber": "DLXMF0URFLMK", "altSerialNumber": null, "cellularTechnology": "GSM/CDMA", "currentCarrierNetwork": "UNKNOWN", "subscriberCarrierNetwork": "UNKNOWN", "locale": null, "ownershipType": "UNKNOWN", "complianceState": true, "roaming": true, "supervised": false, "udid": "f4e9953b586208023fc582ef2206f7f4b9389321", "clientLastCheckin": null, "iccid": null, "currentMcc": null, "currentMnc": null, "subscriberMcc": "", "subscriberMnc": "", "prettyModel": "iPad Mini 2nd gen", "policyViolationCount": 0, "latitude": null, "longitude": null, "locationLastCapturedAt": null, "lastRegistrationTime": 1578033658080, "lostModeEnabled": false, "multiUser": false, "clientDeviceIdentifier": null, "availableCapacity": 6.575844, "totalCapacity": 11.340248, "clusterIdentifier": "CLOUD", "deviceSource": "CLOUD", "quarantined": false, "jailbroken": false, "passcodeCompliant": false, "passcodeCompliantWithProfiles": false, "blocked": null, "locationStatusDetail": null, "androidBuildFingerprint": null, "androidBuildId": null, "androidZebraPatchLevel": null, "androidSystemUpdateStatus": null, "salesCode": null, "uptime": null, "androidWorkContainerEnabled": false, "androidWorkUid": null, "fcmEnabled": false, "actionExceptionCodes": [], "violatedPolicies": null, "supportLockMessage": true, "ownerId": 10586408, "legalOwnerId": null, "legalOwnerEmailAddress": null, "kioskState": "NOT_CONFIGURED", "customAttributes": null, "easDeviceIdentifiers": [ "IKTFNGAVQT7B1BLBD1NKUCVQ4S" ], "appEasIdentifiers": null, "androidDeviceOwnerModeEnabled": false, "windowsDeviceType": null, "secureAppsStatus": null, "secureAppsEncryptionStatus": null, "secureAppsEncryptionMode": null, "tpmSpecificationVersion": null, "bridgeVersion": null, "bridgeDeviceDataLastCapturedAt": null, "lastHotfixId": null, "lastHotfixInstalledOn": null, "mamOnly": false, "depEnrolled": false, "depEligible": false, "mobileThreatDefenseGeneralStatus": "NA", "antiPhishingGeneralStatus": "NA", "samsungEfotaCapable": false, "currentCountryName": null, "currentCountryCode": null, "homeCountryName": null, "homeCountryCode": null, "userPreferenceCSVHeader": null, "dmPartitionId": 23504, "dmPartitionName": null,
"androidSecurityPatchLevel": "2018-01-01", "clientAppBundleId": null, "groups": [ { "id": 40165, "createdAt": 1444416984710, "createdBy": 1, "modifiedAt": 1444416984710, "modifiedBy": null, "visible": true, "dmPartitionId": 23504, "name": "All Devices", "description": "Targets any type of device.", "type": "DEVICE", "definition": null, "mutable": false, "memberCount": 0, "systemName": "ALL_DEVICES", "membershipStatic": false, "treeView": null, "actionExceptionCodes": null, "assignedConfigs": null, "assignedPolicies": null, "staticMembers": null }, { "id": 40167, "createdAt": 1444416984710, "createdBy": 1, "modifiedAt": 1444416984710, "modifiedBy": null, "visible": true, "dmPartitionId": 23504, "name": "iOS Devices", "description": "Targets all iOS devices", "type": "DEVICE", "definition": "PLATFORMTYPE EQ 'IOS'", "mutable": false, "memberCount": 0, "systemName": "IOS_DEVICES", "membershipStatic": false, "treeView": { "operator": "LEAF", "rule": { "field": "PLATFORMTYPE", "cfAttributeName": null, "operator": "EQ", "values": [ "IOS" ] }, "children": null }, "actionExceptionCodes": null, "assignedConfigs": null, "assignedPolicies": null, "staticMembers": null } ], "privacyPolicy": { "policyId": 42501, "policyName": "Privacy", "locateStatus": "ENABLED", "wipeDisabled": false, "appInventoryCollectAllEnabled": true }, "tos": { "title": "test", "body": "test1" }, "tosAcceptedTime": 1578033658080, "tosId": 50955, "restrictions": null, "dataRoamingEnabled": false, "appConnectCheckInTime": null, "antiPhishingStatus": "NA", "mobileThreatDefenseStatus": "NA", "appFeedbackLastSync": null, "activationLockEnabled": true, "bypassCode": null, "cloudBackupEnabled": true, "networkTethered": false, "lastCloudBackupDate": 1577955629000, "mirroringStatus": null, "voiceRoamingEnabled": false, "availableOSUpdate": null, "availableOSUpdates": [], "serviceSubscriptions": [ { "carrierSettingsVersion": null, "currentCarrierNetwork": null, "currentMCC": null, "currentMNC": null, "esimIdentifier": null, "iccid": null, "imei": "35 884805 038514 5", "isDataPreferred": false, "isVoicePreferred": false, "label": null, "labelID": null, "phoneNumber": null, "slot": "CTSubscriptionSlotOne" } ], "timeZone": "Asia/Kolkata", "osxFdeEnabled": false, "osxFdeHasInstitutionalRecoveryKey": false, "osxFdeHasPersonalRecoveryKey": false, "bootstrapTokenAvailable": null, "osxFirewallSettings": null, "osxSystemIntegrityProtectionEnabled": false, "osxAutoAdminAccountShortName": null, "osxFirmwarePasswordStatus": null, "osxFirmwarePasswordCommandStatus": null, "availableMacOSUpdates": null, "passcodeLockGracePeriodEnforced": null, "androidId": null, "androidSecurityPatchLevel": null, "androidWorkCapable": false, "androidWorkEnabled": false, "androidZebraCapable": false, "helpAtWorkAvailable": false, "samsungSafeCapable": false, "androidEnterpriseKioskLogoutEnabled": false, "androidWorkProfileEnabled": false, "androidDeviceOwnerEnabled": false, "androidWorkDeviceOwnerWithWorkProfileEnabled": false, "aadDeviceId": null, "winDmClientChannelUri": null, "windowsEncrypted": false, "wipConfigured": false, "applockerConfigured": false, "wipMandatorySettingsConfigured": false, "batteryEstimatedChargeRemaining": null, "batteryEstimatedRuntime": null, "osPlatform": null, "osEdition": null, "deviceFamily": null, "androidSafetyNetAttestationType": null, "aadBulkEnrolled": false, "enrollerId": null, "changeOwnerCounter": 0, "aadEnrolled": false, "apnsCapable": true, "clientRegistered": false, "mdmDeviceIdentifier": "f4e9953b586208023fc582ef2206f7f4b9389321", "itunesAccountActive": true, "winServiceSubscriptions": null } }
Get Device Details Based on Attribute
This call gets the device details based on a custom device or LDAP attribute, for example, cityID as a custom device attribute, or a device attribute, for example, GUID.
Authentication
This call requires Tenant Admin credentials.
HTTP Method
GET
Request URIs
Device custom attrribute:
/api/v1/device?fq=CFDEVICE[customAttributeName]=value&dmPartitionId=id
LDAP custom attrribute:
/api/v1/device?fq=CFLDAP[customAttributeName]=value&dmPartitionId=id
Attribute:
/api/v1/device?fq=attributeName=value&dmPartitionId=id
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
---|---|---|---|
customAttributeName |
Query |
Custom Attribute by which to search. You must url encode the brackets (%5B and %5D). Similarly, if you want to search for ldap custom attributes you may use CFLDAP[attributeName]. For example, if you are setting up LDAP for a school, you may wish to add and be able to query a ROLLNUMBER attribute to track each student's roll number. You must add _# to the attribute name while using the numerical custom device attribute in the search. Use the GET /api/v1/device or GET /api/v1/device/deviceId call to develop a list of fields against which you can query. |
%5BcityId%5D=SF |
attributeName |
Query |
Attribute by which to search. |
|
dmPartitionId |
Query |
The tenant’s device space ID |
23000 |
searchAfterValues |
Query |
Useful in searches in environments with ten-thousand or more devices. See Searching for devices efficiently. |
|
Response Fields
Field |
Description |
---|---|
errors |
|
result |
|
totalCount |
|
searchResults |
|
id |
|
guid |
|
mdmChannelId |
Identifier of MDMchannel which is generated by Ivanti Neurons for MDM. |
phoneNumber |
|
deviceModel |
|
deviceName |
|
platformType |
|
platformVersion |
|
osBuildVersion |
|
lastCheckin |
|
registrationState |
|
displayName |
|
firstName |
|
lastName |
|
uid |
|
emailAddress |
|
clientVersion |
|
manufacturer |
|
imei |
|
imsi |
|
locatorServiceEnabled |
|
meid |
|
wifiMacAddress |
|
serialNumber |
|
cellularTechnology |
|
currentCarrierNetwork |
|
subscriberCarrierNetwork |
|
locale |
|
ownershipType |
|
complianceState |
|
roaming |
|
supervised |
|
udid |
|
clientLastCheckin |
|
iccid |
|
currentMcc |
|
currentMnc |
|
subscriberMcc |
|
subscriberMnc |
|
prettyModel |
|
policyViolationCount |
|
latitude |
|
longitude |
|
locationLastCapturedAt |
|
lastRegistrationTime |
|
lostModeEnabled |
|
multiUser |
|
clientDeviceIdentifier |
|
quarantined |
|
jailbroken |
|
passcodeCompliant | True if the passcode is compliant with all the requirements on the device, including Exchange and other accounts. Applicable for iOS only (null for the other platforms). |
passcodeCompliantWithProfiles |
True if the passcode is compliant with EMM profiles. Applicable for iOS and Android only (null for other platforms). |
blocked |
|
locationStatusDetail |
|
androidWorkContainerEnabled |
|
androidWorkUid |
|
fcmEnabled |
|
actionExceptionCodes |
|
violatedPolicies |
|
supportLockMessage |
|
ownerId |
|
legalOwnerId |
Legal owner of the device, for shared iPad devices. |
legalOwnerEmailAddress |
Email address of the device legal owner, for shared iPad devices. |
kioskState |
|
customAttributes |
|
attrs |
|
easDeviceIdentifiers |
|
appEasIdentifiers |
|
androidDeviceOwnerModeEnabled |
|
windowsDeviceType |
|
secureAppsStatus |
|
secureAppsEncryptionStatus |
|
secureAppsEncryptionMode |
|
tpmSpecificationVersion |
|
bridgeVersion |
|
bridgeDeviceDataLastCapturedAt |
|
lastHotfixId |
|
lastHotfixInstalledOn |
|
mamOnly |
|
depEnrolled |
|
depEligible |
|
offset |
|
queryTime |
|
facetedResults |
|
LAST_HOTFIX_ID |
|
SUBSCRIBERCARRIERNETWORK |
|
ANDROIDDEVICEOWNERMODEENABLED |
|
PRETTYMODEL |
|
REGISTRATIONSTATE |
|
MULTIUSER |
|
ACCOUNTENABLED |
|
ANDROIDWORKPROFILEENABLED |
|
KIOSKSTATE |
|
ANDROIDSECURITYPATCHLEVEL |
|
JAILBROKEN |
|
PLATFORMTYPE |
|
OWNERSHIPTYPE |
|
ANTI_PHISHING_STATUS |
|
ANDROIDSAFETYNETATTESTATIONTYPE |
|
ANDROIDWORKDEVICEOWNERWITHWORKPROFILEENABLED |
|
COMPLIANCESTATE |
|
SUPERVISED |
|
SECUREAPPSSTATUS |
|
MAMONLY |
|
ACCOUNTGROUP |
|
ANDROIDWORKENABLED |
|
OSBUILDVERSION |
|
ROAMING |
|
LOSTMODEENABLED |
|
totalUnfilteredResultCount |
|
Example Request
https://[Ivanti Neurons for MDM]/api/v1/device?fq=CFDEVICE%5BcityId%5D=SF&dmPartitionId=23000
Example Response
{ "errors": null, "result": { "totalCount": 1, "searchResults": [ { "id": 22004, "guid": "50459445-0f9e-456a-b485-534842acdf9f", "mdmChannelId": "be016af4-bd88-406d-ae48-82947f0a0eaf", "phoneNumber": "", "deviceModel": "Pixel 2", "deviceName": null, "platformType": "ANDROID", "platformVersion": "9.0", "osBuildVersion": null, "lastCheckin": 1546491367278, "registrationState": "RETIRED", "displayName": "a1 b", "firstName": "a1", "lastName": "b", "uid": "[email protected]", "emailAddress": "[email protected]", "clientVersion": "60.0.0.262", "manufacturer": "Google", "imei": "", "imsi": "", "locatorServiceEnabled": false, "meid": "", "wifiMacAddress": "40:4e:36:8c:db:2d", "serialNumber": "", "cellularTechnology": "device__p_cellular_technology", "currentCarrierNetwork": "UNKNOWN", "subscriberCarrierNetwork": "UNKNOWN", "locale": "en_US", "ownershipType": "UNKNOWN", "complianceState": true, "roaming": false, "supervised": null, "udid": null, "clientLastCheckin": 1546491367278, "iccid": "", "currentMcc": "0", "currentMnc": "0", "subscriberMcc": "0", "subscriberMnc": "0", "prettyModel": "Pixel 2", "policyViolationCount": 0, "latitude": null, "longitude": null, "locationLastCapturedAt": null, "lastRegistrationTime": 1546491255252, "lostModeEnabled": null, "multiUser": null, "clientDeviceIdentifier": "684da0b411e03de9c30a76d5ee04f77575f8b5d27396c73e65c14c137a560663", "quarantined": false, "jailbroken": false, "passcodeCompliant": null, "passcodeCompliantWithProfiles": true, "blocked": false, "locationStatusDetail": null, "androidWorkContainerEnabled": false, "androidWorkUid": null, "fcmEnabled": false, "actionExceptionCodes": [], "violatedPolicies": [], "supportLockMessage": false, "ownerId": 10900,
"legalOwnerId": null, "legalOwnerEmailAddress": null, "kioskState": "NOT_CONFIGURED", "customAttributes": { "attrs": { "cityid": [ "SF" ] } }, "easDeviceIdentifiers": [ "bfe2136ea6602a80" ], "appEasIdentifiers": null, "androidDeviceOwnerModeEnabled": false, "windowsDeviceType": null, "secureAppsStatus": "FALSE", "secureAppsEncryptionStatus": "FALSE", "secureAppsEncryptionMode": "NONE", "tpmSpecificationVersion": null, "bridgeVersion": null, "bridgeDeviceDataLastCapturedAt": null, "lastHotfixId": null, "lastHotfixInstalledOn": null, "mamOnly": false, "depEnrolled": false, "depEligible": false } ], "offset": 0, "queryTime": 10, "facetedResults": { "LAST_HOTFIX_ID": {}, "SUBSCRIBERCARRIERNETWORK": { "UNKNOWN": 1 }, "ANDROIDDEVICEOWNERMODEENABLED": { "false": 1 }, "PRETTYMODEL": { "Pixel 2": 1 }, "REGISTRATIONSTATE": { "RETIRED": 1 }, "MULTIUSER": { "false": 1 }, "ACCOUNTENABLED": { "true": 1 }, "ANDROIDWORKPROFILEENABLED": { "false": 1 }, "KIOSKSTATE": { "NOT_CONFIGURED": 1 }, "ANDROIDSECURITYPATCHLEVEL": { "2018-12-05": 1 }, "JAILBROKEN": { "false": 1 }, "PLATFORMTYPE": { "ANDROID": 1 }, "OWNERSHIPTYPE": { "UNKNOWN": 1 }, "ANTI_PHISHING_STATUS": { "UNKNOWN": 1 }, "ANDROIDSAFETYNETATTESTATIONTYPE": { "UNKNOWN": 1 }, "ANDROIDWORKDEVICEOWNERWITHWORKPROFILEENABLED": { "false": 1 }, "COMPLIANCESTATE": { "true": 1 }, "SUPERVISED": { "false": 1 }, "SECUREAPPSSTATUS": { "FALSE": 1 }, "MAMONLY": { "false": 1 }, "ACCOUNTGROUP": { "All Users": 1 }, "ANDROIDWORKENABLED": { "false": 1 }, "OSBUILDVERSION": {}, "ROAMING": { "false": 1 }, "LOSTMODEENABLED": { "false": 1 } }, "totalUnfilteredResultCount": 0 } }
Get Device Configuration
This call gets device configurations on a specific device.
Authentication
This call requires tenant admin credentials.
HTTP Method
GET
Request URI
api/v1/device/{id}/configs
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
id |
Path |
The device identifier |
22200 |
Example Request
https://[Ivanti Neurons for MDM]/api/v1/device/22200/configs
Response Fields
Field |
Description |
Example Value |
---|---|---|
errors |
Describes any errors encountered |
null |
result |
||
totalCount |
Indicates how many configurations were retrieved. |
6 |
queryTime |
Indicates how long the query took to execute. |
0 |
searchResults |
||
id |
ID of the configuration. |
35046 |
name |
Name of the configuration. |
Passcode Config |
systemName |
|
null |
description |
Description of the configuration. |
Corporate device passcode config |
policyType |
Type of policy |
PASSCODE |
policyRuleType |
|
NONE |
uuid |
|
bd330bef-1ae8-4fe4-bdb7-dfbea2193aa1 |
enabled |
Indicates whether the configuration is enabled. |
true |
priority |
The priority of the configuration. |
1 |
totalDeviceCount |
How many devices use this configuration? |
0 |
installedDeviceCount |
|
0 |
violationDeviceCount |
How many devices are in violation of this configuration? |
0 |
modifiedAt |
When the configuration was modified. |
null |
modifiedBy |
The user who modified the configuration. |
null |
actions |
|
null |
status |
The status of the configuration. |
INSTALLED |
offset |
|
0 |
limit |
|
6 |
Example Response
{
"errors": null,
"result": {
"totalCount": 6,
"queryTime": 0,
"searchResults": [
{
"id": 35046,
"name": "Passcode Config",
"systemName": null,
"description": "Corporate device passcode config",
"policyType": "PASSCODE",
"policyRuleType": "NONE",
"uuid": "bd330bef-1ae8-4fe4-bdb7-dfbea2193aa1",
"enabled": true,
"priority": 1,
"totalDeviceCount": 0,
"installedDeviceCount": 0,
"violationDeviceCount": 0,
"modifiedAt": null,
"modifiedBy": null,
"actions": null,
"status": "INSTALLED"
},
{
"id": 37859,
"name": "Identity for the App Catalog",
"systemName": null,
"description": "The Identity used by this device to access the iOS App Catalog securely.",
"policyType": "IDENTITY_CERTIFICATE_DG",
"policyRuleType": "NONE",
"uuid": "d48ed5cf-6fcb-47cf-b569-80ed3eeb201a",
"enabled": true,
"priority": 1,
"totalDeviceCount": 0,
"installedDeviceCount": 0,
"violationDeviceCount": 0,
"modifiedAt": null,
"modifiedBy": null,
"actions": null,
"status": "INSTALLED"
},
{
"id": 35161,
"name": "MobileIron Corp Wifi",
"systemName": null,
"description": "WiFi for MobileIron corporate",
"policyType": "WIFI",
"policyRuleType": "NONE",
"uuid": "35403a2b-52e7-48ed-9df6-598f3dbaec89",
"enabled": true,
"priority": 1,
"totalDeviceCount": 0,
"installedDeviceCount": 0,
"violationDeviceCount": 0,
"modifiedAt": null,
"modifiedBy": null,
"actions": null,
"status": "INSTALLED"
},
{
"id": 35148,
"name": "Cloud-Exchange-MS2",
"systemName": null,
"description": "",
"policyType": "EXCHANGE",
"policyRuleType": "NONE",
"uuid": "acb5e979-2928-4799-999b-49e218e6bfc0",
"enabled": true,
"priority": 2,
"totalDeviceCount": 0,
"installedDeviceCount": 0,
"violationDeviceCount": 0,
"modifiedAt": null,
"modifiedBy": null,
"actions": null,
"status": "INSTALLED"
},
{
"id": 35037,
"name": "App Catalog",
"systemName": null,
"description": "Access the iOS App Catalog via this Web Clip.",
"policyType": "WEBCLIP",
"policyRuleType": "NONE",
"uuid": "c7a8ed81-0322-405f-90bc-5c1134a5ea5d",
"enabled": true,
"priority": 1,
"totalDeviceCount": 0,
"installedDeviceCount": 0,
"violationDeviceCount": 0,
"modifiedAt": null,
"modifiedBy": null,
"actions": null,
"status": "INSTALLED"
},
{
"id": 35162,
"name": "MobileIron Corporate SSL",
"systemName": null,
"description": null,
"policyType": "VPN",
"policyRuleType": "NONE",
"uuid": "5812cc6a-ba6b-4dd0-b879-403420cba703",
"enabled": true,
"priority": 1,
"totalDeviceCount": 0,
"installedDeviceCount": 0,
"violationDeviceCount": 0,
"modifiedAt": null,
"modifiedBy": null,
"actions": null,
"status": "INSTALLED"
}
],
"offset": 0,
"limit": 6
}
}
Exclude a Configuration from a Device
This call excludes a configuration from a device. This will result in a configuration uninstalling from the device, or becoming Inactive. If required, the configuration can be re-pushed by either the Push an Excluded configuration to a device call, or manually in the Admin Console.
Authentication
This call requires Tenant Admin credentials.
HTTP Method
PUT
Request URI
/api/v1/device/{id}/uninstallconfigs
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
id |
Path |
id of the device. |
197483 |
policyIds |
Request body |
id of the policy to exclude. Can issue several in a comma-separated list. |
47269 |
Example Request
curl 'https://[Ivanti Neurons for MDM]/api/v1/device/197483/uninstallconfigs' -X PUT -H 'Content-Type: application/x-www-form-urlencoded' -H 'Accept: application/json, text/plain, */*' --data 'policyIds=47269'
Example Response
{
"errors": null,
"result": true
}
Push an excluded configuration to a device
This call can re-push a configuration that was excluded from the device. For example, if you used the Exclude a Configuration from a device call or manually excluded a configuration from a device in the Admin Console, you can use this to push it back to the device.
Authentication
This call requires Tenant Admin credentials.
HTTP Method
DELETE
Request URI
api/v1/device/{id}/uninstallconfigs?policyIds={policyIds}
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
id |
Path |
id of the device |
197483 |
policyIds |
Path |
id of the policy to remove from the uninstalled list. Can issue several in a comma-separated list. |
47269 |
Example Request
curl 'https://[Ivanti Neurons for MDM]/api/v1/device/197483/uninstallconfigs?policyIds=47269' -X DELETE -H 'Accept: application/json, text/plain, */*'
Example Response
{
"errors": null,
"result": true
}
Re-install a Configuration to a Device
This call re-installs a configuration on a device.
Authentication
This call requires Tenant Admin credentials.
HTTP Method
PUT
Request URI
api/v1/device/{id}/reinstallconfigs
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
id |
Path |
id of the device |
67648 |
policyIds |
Request body |
id of the policy to push. Can issue several in a comma-separated list. |
42492 |
Example Request
curl --location --request PUT 'https://[Ivanti Neurons for MDM]/api/v1/device/67648/reinstallconfigs' \ --header 'Accept: application/json, text/plain, */*' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Basic <token>' \ --data-urlencode 'policyIds=42492'
Example Response
{
"errors": null,
"result": true
}
Get Compliance Status of a Particular Device
Gets the compliance status of a device.
Authentication
This call requires Tenant Admin credentials.
HTTP Method
GET
Request URI
api/v1/device/{id}/policies
Request Parameters
Parameter |
Argument Type |
Description |
Sample Value |
Id |
Path |
Id of the device. |
22000 |
Example Request
https://<hostname>/api/v1/device/22000/policies
Response Fields
Field |
Description |
Valid Values |
Sample Value |
---|---|---|---|
errors |
|
|
null |
result |
|||
totalCount |
|
|
4 |
queryTime |
|
|
0 |
searchResults |
|||
id |
|
|
35009 |
name |
|
|
Compromised Devices |
systemName |
|
|
null |
description |
|
|
Checks for devices which are compromised. |
policyType |
|
|
POLICY |
policyRuleType |
|
|
COMPROMISED |
uuid |
|
|
ad452ba7-2922-41e6-9720-3c229c70f95c |
enabled |
|
|
true |
priority |
|
|
1 |
totalDeviceCount |
|
|
0 |
installedDeviceCount |
|
|
0 |
violationDeviceCount |
|
|
0 |
modifiedAt |
|
|
null |
modifiedBy |
|
|
null |
actions |
|
|
null |
compliant |
|
|
true |
pendingCompliant |
|
|
true |
offset |
|
|
0 |
limit |
|
|
4 |
Example Response
{
"errors": null,
"result": {
"totalCount": 4,
"queryTime": 0,
"searchResults": [
{
"id": 35009,
"name": "Compromised Devices",
"systemName": null,
"description": "Checks for devices which are compromised.",
"policyType": "POLICY",
"policyRuleType": "COMPROMISED",
"uuid": "ad452ba7-2922-41e6-9720-3c229c70f95c",
"enabled": true,
"priority": 1,
"totalDeviceCount": 0,
"installedDeviceCount": 0,
"violationDeviceCount": 0,
"modifiedAt": null,
"modifiedBy": null,
"actions": null,
"compliant": true,
"pendingCompliant": true
},
{
"id": 35011,
"name": "MDM / Device Administration Disabled",
"systemName": null,
"description": "Checks for devices which do not have MDM/Device Administration Enabled.",
"policyType": "POLICY",
"policyRuleType": "MDM_DISABLED",
"uuid": "c9b7891c-7f98-4bb1-a28c-1dab0e532916",
"enabled": true,
"priority": 3,
"totalDeviceCount": 0,
"installedDeviceCount": 0,
"violationDeviceCount": 0,
"modifiedAt": null,
"modifiedBy": null,
"actions": null,
"compliant": true,
"pendingCompliant": true
},
{
"id": 35012,
"name": "Out of Contact ",
"systemName": null,
"description": "Checks for devices which have been out of contact for the specified time.",
"policyType": "POLICY",
"policyRuleType": "OUT_OF_CONTACT",
"uuid": "4edbe47b-2ce2-4a45-a9df-c2e8c03e3fd6",
"enabled": true,
"priority": 4,
"totalDeviceCount": 0,
"installedDeviceCount": 0,
"violationDeviceCount": 0,
"modifiedAt": null,
"modifiedBy": null,
"actions": null,
"compliant": true,
"pendingCompliant": true
},
{
"id": 35010,
"name": "International Roaming Devices",
"systemName": null,
"description": "Checks for devices which are currently roaming.",
"policyType": "POLICY",
"policyRuleType": "ROAMING",
"uuid": "0f70be4a-19a5-4ecb-9d04-a9127a4a613f",
"enabled": true,
"priority": 2,
"totalDeviceCount": 0,
"installedDeviceCount": 0,
"violationDeviceCount": 0,
"modifiedAt": null,
"modifiedBy": null,
"actions": null,
"compliant": false,
"pendingCompliant": false
}
],
"offset": 0,
"limit": 4
}
}
Sync Compliance Status of a Device
This API syncs the compliance status of a device with GoogleBC and Intune.
Authentication
This call requires Tenant Admin credentials.
HTTP Method
POST
Request URI
/api/v1/device/compliance/sync?vendor=<VENDOR_NAME>
Request Parameters
Parameter |
Argument Type |
Description |
Sample Value |
VENDOR_NAME |
Path |
Required Data Type: String |
GoogleBC Intune |
ids |
Request Body |
Required The device ids to sync |
--data-urlencode 'ids=800' \--data-urlencode 'ids=802' |
Example Request
Example Request URL
curl -X POST -kv -u <tenantusername:password> --location 'https://<hostname>/api/v1/device/compliance/sync?vendor=GoogleBC' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'ids=800' \
--data-urlencode 'ids=802'
Example Response
{
{"errors":null,"result":1}
Get certificates assigned to a device
This API returns a list of certificates assigned to a device.
Authentication
Device Management or Device Read Only.
HTTP Method
GET
Request URI
/api/v1/device/{device id}/certs/search?accountId={user id}
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
---|---|---|---|
deviceId |
Path |
The device ID. |
25166 |
ownerId |
Path |
The owner ID of the device. You can find this value using the Get Device Details call. |
514976 |
Example Request
curl --location --request GET 'https://[Ivanti Neurons for MDM]/api/v1/device/25166/certs/search?accountId=514976' \ --header 'Authorization: Basic <token>'
Example Response
{ "errors": null, "result": { "totalCount": 2, "searchResults": [ { "caCertificateStoreId": 44764, "caId": 18001,xxx556f0f5931738440cfaa4758580f145f91333026", "issuer": "CN=na1-0006.mobileiron.net,OU=AppStoreFrontCA,UID=1386198466755", "notBefore": 1488124992000, "notAfter": 1701472062000, "certSerialNumber": 26736, "certState": "Active", "certUsageType": "UNKNOWN", "certAccountId": null, "deviceId": 25166, "ownerId": 514976, "phoneNumber": "2552476910", "deviceModel": null, "platformType": "IOS", "platformVersion": null, "imei": "426675234949185", "locale": "en", "ownershipType": "UNKNOWN", "complianceState": null, "roaming": false, "supervised": false, "udid": "556f0f5931738440cfaa4758580f145f91333026", "iccid": "8901 4104 2435 8908 5055", "prettyModel": "iPhone 5C", "registrationState": "ACTIVE", "jailbroken": false, "meid": "a809a54975c9de", "osVersion": "8.0", "model": "iPhone5,3", "imsi": "", "mdmState": "ENABLED", "serialNumber": "6d10e22c0c34", "compliant": true, "tenantId": 42410, "dmPartitionId": 114172, "displayName": "FirstName2838424 LastName2838424", "firstName": "FirstName2838424", "lastName": "LastName2838424", "uid": "[email protected]", "emailAddress": "[email protected]", "caTenantId": 1, "caType": "LOCAL", "caName": "AppStoreFrontCA", "privateKey": false, "configurationId": 42496, "certSerialNumberString": "26736" }, { "caCertificateStoreId": 44762, "caId": 18004, "subject": "CN=xxxf0f5931738440cfaa4758580f145f91333026", "issuer": "CN=na1-0006.mobileiron.net,OU=iOSMDMCA,UID=1386198471671", "notBefore": 1488124988000, "notAfter": 1701472066000, "certSerialNumber": 26734, "certState": "Active", "certUsageType": "UNKNOWN", "certAccountId": null, "deviceId": 25166, "ownerId": 514976, "phoneNumber": "2552476910", "deviceModel": null, "platformType": "IOS", "platformVersion": null, "imei": "426675234949185", "locale": "en", "ownershipType": "UNKNOWN", "complianceState": null, "roaming": false, "supervised": false, "udid": "556f0f5931738440cfaa4758580f145f91333026", "iccid": "8901 4104 2435 8908 5055", "prettyModel": "iPhone 5C", "registrationState": "ACTIVE", "jailbroken": false, "meid": "a809a54975c9de", "osVersion": "8.0", "model": "iPhone5,3", "imsi": "", "mdmState": "ENABLED", "serialNumber": "6d10e22c0c34", "compliant": true, "tenantId": 42410, "dmPartitionId": 114172, "displayName": "FirstName2838424 LastName2838424", "firstName": "FirstName2838424", "lastName": "LastName2838424", "uid": "[email protected]", "emailAddress": "[email protected]", "caTenantId": 1, "caType": "LOCAL", "caName": "iOSMDMCA", "privateKey": false, "configurationId": null, "certSerialNumberString": "26734" } ], "offset": 0, "limit": 10, "queryTime": 10, "facetedResults": { "CERTSTORESTATE": { "Manual_Revoke": 0, "Pending_Revoke": 0, "Active": 2, "Revoked": 0, "Expired": 0, "Deleted": 0, "Revoke_Failed": 0, "Pending": 0 } }, "totalUnfilteredResultCount": 2, "unfilteredFacetedResults": {} } }
Check Update Operating System (OS) Version Viability (iOS Only)
This call determines whether Ivanti Neurons for MDM can update the device's OS.
Authentication
This call requires Tenant Admin credentials.
HTTP Method
GET
Request URI
api/v1/device/scheduleOSUpdate?checkViability=true&ids=ids
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
checkViability |
Path |
Specify true if you want to just check |
true |
ids |
Path |
id of the device |
22000 |
Example Request
https://[Ivanti Neurons for MDM]/api/v1/device/scheduleOSUpdate?checkViability=true&ids=22000
Example Response
If the device action is viable on the target devices, then the response does not contain any device details:
{ "errors": null, "result": { "totalCount": 0, "queryTime": 0, "searchResults": [ ], "offset": 0, "limit": 0 } }
If the device action is not viable, then the response contains device details of the ineligible devices.
Update Operating System (OS) Version (iOS only)
This call updates devices to the specified OS version.
Authentication
Device Actions or Device Management.
HTTP Method
PUT
Request URI
/api/v1/device/scheduleOSUpdate
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
ids |
Request Body |
IDs of the devices to update. You can update multiple devices by chaining the ids, for example: ids=22015,22002. |
ids=22015,22002 |
version |
Request Body |
OS version to which to update. |
version=15.5 |
Example Request
curl --location --request PUT -kv -u user:password 'https://[Ivanti Neurons for MDM]/api/v1/device/scheduleOSUpdate' --header 'Content-Type: application/x-www-form-urlencoded' --data-urlencode 'ids=22002' --data-urlencode 'version=15.5'
Response Fields
Field |
Description |
---|---|
errors |
Errors returned by the call |
result |
1 (one) for success. 0 (zero) for failure. |
Example Response
{ "errors": null, "result": 1 }
Restart Supervised iOS Devices
This API restarts the Supervised iOS devices.
Authentication
This call requires Tenant Admin credentials.
HTTP Method
PUT
Request URI
api/v1/device/restart
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
ids |
Request Body |
The device IDs of the device to be restarted. You can restart multiple devices by chaining the ids, for example: ids=10542407, 10542400. |
ids=10542407, 10542400 |
Example Request
curl -X PUT https://<hostname>/api/v1/device/restart?ids=xx
Example Response
{
"errors": null,
"result": 1
}
Check Force Check-in Viability
This call determines whether a device can be force checked-in.
Authentication
This call requires Tenant Admin credentials.
HTTP Method
GET
Request URI
api/v1/device/forceCheckin?checkViability=true&ids=ids
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
checkViability |
Path |
Specify true if you want to just check |
true |
ids |
Path |
id of the device |
22000 |
Example Request
https://[Ivanti Neurons for MDM]/api/v1/device/forceCheckin?checkViability=true&ids=22062&ids=22196
Example Response
{
"errors": null,
"result": {
"totalCount": 0,
"queryTime": 0,
"searchResults": [ ],
"offset": 0,
"limit": 0
}
}
Force check in a device or devices
This call forces a single or multiple devices to check in. You can use device IDs or GUIDs (global unique identifier) as parameters. The parameters of this call are included in a request body, however, you can issue them as query parameters, and the server will parse them into a request body for you.
Authentication
Device Actions or Device Management.
HTTP Method
PUT
Request URI
/api/v1/device/forceCheckin
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
ids |
Request Body |
IDs of the devices to force checkin. You can force checkin multiple devices by chaining the ids, for example: ids=22015,22002. |
ids=22015,22002 |
guids |
Request Body |
GUIDs of the devices to force checkin. You can force checkin multiple devices by chaining the GUIDs, for example: guids=57d9903c-aadf-4b40-aef3-e1f24302f180,56d8803c-aadf-4b40-aef3-e1f24302f180. |
guids=57d9903c-aadf-4b40-aef3-e1f24302f180,56d8803c-aadf-4b40-aef3-e1f24302f180 |
Example Requests
curl "https://[Ivanti Neurons for MDM]/api/v1/device/forceCheckin" -X PUT --data "ids=22062&ids=22196"
curl -X PUT -kv -u user:password "https://[Ivanti Neurons for MDM]/api/v1/device/forceCheckin?ids=22000”
curl -X PUT -kv -u user:password "https://[Ivanti Neurons for MDM]/api/v1/device/forceCheckin?guids=57d9903c-aadf-4b40-aef3-e1f24302f180”
Example Response
{
"errors": null,
"result": 2
}
Check Wipe Viability
This call determines whether a device can be wiped.
Authentication
This call requires Tenant Admin credentials.
HTTP Method
GET
Request URI
api/v1/device/wipe
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
checkViability |
Path |
Specify true if you want to just check |
true |
ids |
Path |
id of the device |
22000 |
Example Request
https://[Ivanti Neurons for MDM]/api/v1/device/wipe?checkViability=true&ids=22000
Example Response
{
"errors": null,
"result": {
"totalCount": 0,
"queryTime": 0,
"searchResults": [ ],
"offset": 0,
"limit": 0
}
}
Wipe device
This call wipes a device.
Authentication
This call requires Tenant Admin credentials.
HTTP Method
PUT
Request URI
api/v1/device/wipe
Request Body Parameters
Parameter |
Argument Type |
Description |
Example Value |
ids |
Request body |
id of the device to wipe |
25652 |
iosDisallowProximitySetup |
Request body |
true or false. Specifies whether to disallow proximity setup. Applicable for iOS 11.3+. |
true |
iosPreserveDataPlan |
Request body |
true or false. Specifies whether to preserve the data plan settings. applicable for iOS 11+. |
true |
message |
Request body |
Message to send to device upon wipe. |
Decommissioning |
returnToServiceEnabled |
Request body |
true or false. Specifies where returnToService option is considered along with wipe. |
true |
wifiPolicyId |
Request body |
The policyId of the Wi-Fi config to which the device should be connected to post wipe to register itself with the help of returnToService. Note that the Wi-Fi config should be assigned to the device. |
144616 |
Example Request
curl 'https://[Ivanti Neurons for MDM]/api/v1/device/wipe' \ -X 'PUT' \ -H 'Content-Type: application/x-www-form-urlencoded' \ -H 'Accept: application/json, text/plain, /' \
-H 'Sec-Fetch-Site: same-origin' \ -H 'Accept-Language: en,fr;q=0.9,en-US;q=0.8,pt-BR;q=0.7,pt;q=0.6' \
-H 'Sec-Fetch-Mode: cors' \
--data-urlencode 'ids=32362&osxWipePin=&iosDisallowProximitySetup=false&iosPreserveDataPlan=false&message=&returnToServiceEnabled=true&wifiPolicyId=144616"
Example Response
{
"errors": null,
"result": 1
}
Check Lock viability
This call checks whether a device can be locked.
Authentication
This call requires Tenant Admin credentials.
HTTP Method
GET
Request URI
api/v1/device/lock
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
checkViability |
Path |
Specify true if you want to just check |
true |
ids |
Path |
id of the device |
22000 |
Example Request
https://[Ivanti Neurons for MDM]/api/v1/device/lock?checkViability=true&ids=22000
Example Response
{
"errors": null,
"result": {
"totalCount": 0,
"queryTime": 0,
"searchResults": [ ],
"offset": 0,
"limit": 0
}
}
Lock a device or devices
This call locks a single or several devices. You can use device IDs or GUIDs (global unique identifier) as parameters. The parameters of this call are included in a request body, however, you can issue them as query parameters, and the server will parse them into a request body for you.
Authentication
Device Actions or Device Management.
HTTP Method
PUT
Request URI
api/v1/device/lock
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
ids |
Request body |
ids of the devices to lock. To lock multiple devices, you can chain the ids parameter, for example: ids=126070&ids=337552 |
22000 |
guids |
Request Body |
GUIDs of the devices to lock. You can lock multiple devices by chaining the GUIDs, for example: guids=57d9903c-aadf-4b40-aef3-e1f24302f180&guids=56d8803c-aadf-4b40-aef3-e1f24302f180. |
57d9903c-aadf-4b40-aef3-e1f24302f180 |
Example Requests
curl –X PUT “https://[Ivanti Neurons for MDM]/api/v1/device/lock” –d “ids=22000”
curl -X PUT -kv -u user:password "https://[Ivanti Neurons for MDM]/api/v1/device/lock?ids=22000”
curl -X PUT -kv -u user:password "https://[Ivanti Neurons for MDM]/api/v1/device/lock?guids=57d9903c-aadf-4b40-aef3-e1f24302f180”
Example Response
{
"errors": null,
"result": 1
}
Unlock a device or devices
This call unlocks a single or several devices.
Authentication
This call requires Tenant Admin credentials.
HTTP Method
PUT
Request URI
api/v1/device/unlock
Request Parameters
Parameter |
Argument Type |
Description |
Sample Value |
ids |
Request body |
id of the device to unlock. To unlock multiple devices, you can chain the ids parameter, for example: ids=126070&ids=337552 |
22000 |
deviceUnlockPin |
Request body |
Alphanumeric device unlock pin which should be between 6-8 digits. |
123ab400 |
Example Request
curl –X PUT “https://Ivanti Neurons for MDM/api/v1/device/unlock”
--header 'Authorization: Basic <token>' \
--form 'ids="22000"' \
--form 'deviceUnlockPin="Pin"'
Example Response
{
"errors": null,
"result": 1
}
DeviceUnlockPin regex = "(^$)|([a-zA-Z0-9]{6,8})".
If the client version is greater than or equal to 92, the device will be unlocked via an alphanumeric unlock pin sent over the curl command, otherwise, it will be unlocked via legacy unlock code '0000'.
Check Retire Viability
This call checks whether a device can be retired
Authentication
This call requires Tenant Admin credentials.
HTTP Method
GET
Request URI
api/v1/device/retire
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
checkViability |
Path |
Specify true if you want to just check |
true |
ids |
Path |
id of the device |
22000 |
Example Request
https://[Ivanti Neurons for MDM]/api/v1/device/retire?checkViability=true&ids=22000
Example Response
{
"errors": null,
"result": {
"totalCount": 0,
"queryTime": 0,
"searchResults": [ ],
"offset": 0,
"limit": 0
}
}
Retire device
This call retires a device.
Authentication
This call requires Tenant Admin credentials.
HTTP Method
PUT
Request URI
api/v1/device/retire
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
ids |
Request body |
id of the device to retire |
1007966 |
Example Request
curl –X PUT “https://[Ivanti Neurons for MDM]/api/v1/device/retire” –d “ids= 1007966”
Example Response
{
"errors": null,
"result": 1
}
Check force logout viability
This call determines whether the specified devices are available for having their current users logged out. If the device supports force log out, then call the PUT API to force log out the current users from the devices.
Authentication
This call requires Tenant Admin credentials.
HTTP Method
GET
Request URI
api/v1/device/logoutUser
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
checkViability |
Path |
Specify true if you want to just check |
true |
ids |
Path |
IDs of the devices whose current users to log out. Separate the IDs with commas. |
22002 |
Example Request
curl --location --request GET -kv -u user:password 'https://[Ivanti Neurons for MDM]/api/v1/device/logoutUser?checkViability=true&ids=22002'
Example Response
{ "errors": null, "result": { "searchResults": [ { "id": 22003, "guid": "badd9735-4572-4ee9-a13c-062367c62792", "mdmChannelId": "fb84afb7-c458-43e6-9c6e-45cf011542b1", "actionExceptionCodes": [ "PLATFORM_NOT_SUPPORTED" ], ... } ], "totalCount": 1, "offset": 0, "limit": 1 } }
Force logout current users from devices
This call force logs out the current users from the specified devices. The call sends the logout request to all of the eligible devices having their IDs present in the request parameter, "ids."
Authentication
This call requires Tenant Admin credentials.
HTTP Method
PUT
Request URI
api/v1/device/logoutUser
Request Body Parameters
Parameter |
Argument Type |
Description |
Example Value |
ids |
Request body |
IDs of the devices whose current users to force logout. Separate multiple IDs with commas. |
22002 |
Example Request
curl --location --request PUT -kv -u user:password 'https://[Ivanti Neurons for MDM]/api/v1/device/logoutUser'
--header 'Content-Type: application/x-www-form-urlencoded'
--data-urlencode 'ids=22002'
Response fields
Filed |
Description |
errors | Errors returned by the call. |
result |
Number of devices to which the API call sent the logout request. |
Example Response
{
"errors": null,
"result": 1
}
Delete Device
This call deletes a device. You must run the Retire device call first before deleting the device. Device should not be in the "ACTIVE" or "WIPE_PENDING" state when you run the call against it.
Authentication
This call requires Tenant Admin credentials.
HTTP Method
DELETE
Request URI
/api/v1/device?deviceIds={id}
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
ids |
Request body |
id of the device to retire |
1007966 |
Example Request
curl 'https://[Ivanti Neurons for MDM]/api/v1/device?deviceIds=1007966' -X DELETE
Example Response
{
"errors": null,
"result": 1
}
Send a device or devices a message
This call sends a device or devices a push notification message.
Authentication
This call requires Tenant Admin credentials.
HTTP Method
PUT
Request URI
/api/v1/device/message
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
---|---|---|---|
sendPushNotification |
Request body |
Instructs the call to send a push notification message. Value is true. |
sendPushNotification=true |
pushNotificationMessage |
Request body |
The content of the message, concatenated with plus signs (+). |
pushNotificationMessage=Docs+test+of+bulk+messages |
sendEmail |
Request body |
Instructs the call not to send an email also. Value is false. |
sendEmail=false |
emailSubject |
Request body |
Should be sent as shown in the next column. |
emailSubject= |
emailBody |
Request body |
Should be sent as shown in the next column. |
emailBody= |
dmPartitionId |
Request body |
The device space ID of the device(s). |
dmPartitionId=23003 |
deviceIds |
Request body |
The IDs of the devices to which to send the push notification message, separated by url-encoded commas. , is %2C url-encoded. |
deviceIds=370872%2C383279 |
Example Request
curl "https://[Ivanti Neurons for MDM]/api/v1/device/message" -X PUT --data "sendPushNotification=true&pushNotificationMessage=Docs+test+of+bulk+messages&sendEmail=false&emailSubject=&emailBody=&dmPartitionId=23003&deviceIds=370872"%"2C383279"
Example Response
{
"errors": null,
"result": true
}
Check Enter Kiosk Mode Viability
This call checks whether a device can be entered into kiosk mode.
Authentication
This call requires Tenant Admin credentials.
HTTP Method
GET
Request URI
/api/v1/device/enterKioskMode?checkViability=true&ids=deviceIds
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
---|---|---|---|
deviceIds |
Path |
id of the device |
22000 |
Example Request
https://[Ivanti Neurons for MDM]/api/v1/device/enterKioskMode?checkViability=true&ids=22000
Example Response
{
"errors": null,
"result": {
"totalCount": 0,
"queryTime": 0,
"searchResults": [ ],
"offset": 0,
"limit": 0
}
}
Enter a Device into Kiosk Mode
This call enters a device into Kiosk mode and is available for Android devices only.
Authentication
This call requires Tenant Admin credentials.
HTTP Method
PUT
Request URI
api/v1/device/enterKioskMode
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
ids |
Request body |
ids of the devices to enter into Kiosk mode |
22000 |
Example Request
curl -X PUT 'https://[Ivanti Neurons for MDM]/api/v1/device/enterKioskMode' --data 'ids=22000'
Example Response
{
"errors": null,
"result": 1
}
Remove Device from Kiosk Mode
This call removes a device from Kiosk mode and is available for Android devices only.
Authentication
This call requires Tenant Admin credentials.
HTTP Method
PUT
Request URI
api/v1/device/exitKioskMode
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
ids |
Request body |
ids of the devices to remove from Kiosk mode |
22000 |
Example Request
curl –X PUT “https://[Ivanti Neurons for MDM]/api/v1/device/exitKioskMode” –d “ids=22000”
Example Response
{
"errors": null,
"result": 1
}
Enable Lost Mode (iOS only)
This call enables lost mode on an iOS device. You can also use related calls to check disable lost mode viability and disable lost mode.
Authentication
User with the Device Management role.
HTTP Method
PUT
Request URI
api/v1/device/enableLostMode
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
ids |
Request body |
Required ID of the device to enter into lost mode. |
121073 |
message |
Request body |
Required Message to send to the device. |
This device has been lost. Please call the number below. |
phoneNumber |
Request body |
Phone number to send to the device. |
555-555-5555 |
changeFootnote |
Request body |
Boolean. true or false. |
true |
footnote |
Request body |
Message to push to footnote. 15 character maximum. changeFootnote parameter must be set to true to enable footnote message. |
Lost Phone |
Example Request
curl --location --request PUT 'https://[Ivanti Neurons for MDM]/api/v1/device/enableLostMode' \ --header 'Accept: application/json, text/plain, */*' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Basic <token>' \ --data-urlencode 'ids=121073' \ --data-urlencode 'message=This device has been lost. Please call the number below.' \ --data-urlencode 'phoneNumber=555-555-5555' \ --data-urlencode 'changeFootnote=true' \ --data-urlencode 'footnote=Lost Phone'
Example Response
{
"errors": null,
"result": 1
}
Check Disable Lost Mode Viability (iOS only)
This call checks whether the specified devices are eligible to have lost mode disabled. The results only list the specified devices that CANNOT have lost mode disabled. The scenario may be that a user had reported a lost device and then the Ivanti for MDM administrator responded by putting the device into lost mode. Then the user reports having found the device, prompting the administrator to use this call to check whether the device really is in lost mode. If the call does not return the device in the results, meaning in this case that the device can have lost mode disabled, then the administrator can move on to the disable lost mode call.
Authentication
Use credentials for a user with the device management permission.
HTTP Method
GET
Request URI
/api/v1/device/disableLostMode?checkViability=true&ids={ids}
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
---|---|---|---|
checkViability |
Query |
Use true to check for disable lost mode eligibility. |
checkViability=true&ids=136732 |
ids |
Query |
The IDs of the devices for which to check disable lost mode eligibility. Separate multiple IDs with commas. |
Example Request
curl 'https://[Ivanti Neurons for MDM host]/api/v1/device/disableLostMode?checkViability=true&ids=136732' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Basic <token>' \
--compressed
Response Fields
Field |
Description |
---|---|
errors |
|
result |
The results only list devices that CANNOT have lost mode disabled. |
searchResults |
|
totalCount |
|
offset |
|
limit |
|
Example Response
{ "errors": null, "result": { "searchResults": [ ], "totalCount": 0, "offset": 0, "limit": 0 } }
Disable Lost Mode (iOS only)
This call disables lost mode on an iOS device. Perhaps a user reports recovery of a lost device, prompting the Ivanti Neurons for MDM administrator to first check whether the device can have lost mode disabled, and then use this call to disable lost mode, restoring the device into service.
Authentication
User with the Device Management role.
HTTP Method
PUT
Request URI
api/v1/device/disableLostMode
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
ids |
Request body |
Required IDs of the devices to enter into lost mode. Sepatare values with commas. |
--data-raw 'ids=136732' |
Example Request
curl 'https://[Ivanti Neurons for MDM host]/api/v1/device/disableLostMode' \ -X 'PUT' \ -H 'Accept: application/json, text/plain, */*' \ -H 'Content-Type: application/x-www-form-urlencoded' \ -H 'Authorization: Basic <token>' \
--data-raw 'ids=136732' \ --compressed
Example Response
{
"errors": null,
"result": 1
}
Check Relinquish Viability (Android only)
This call checks whether the specified device is eligible to be relinquished. Relinquishing removes the work profile and all policies from a company-owned device, releasing the device for personal use.
Authentication
Use credentials for a user with the device management permission.
HTTP Method
PUT
Request URI
/api/v1/device/relinquishOwnership?checkViability=true&ids={ids}
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
---|---|---|---|
checkViability |
Query |
Use true to check for relinquish eligibility. |
checkViability=true&ids=909 |
ids |
Query |
The IDs of the devices for which to check relinquish eligibility. Separate multiple IDs with commas. |
Example Request
PUT https://<host>/api/v1/device/relinquishOwnership?checkViability=true&ids=909
Response Fields
Field |
Description |
---|---|
errors |
object(Error) Response errors. |
result |
number Number of eligible devices. |
Example Response
{ "errors": null, "result": 0 }
Relinquish device (Android only)
This call relinquishes an Android device. Relinquishing removes the work profile and all policies from a company-owned device, releasing the device for personal use.
Authentication
Use credentials for a user with the device management permission.
HTTP Method
PUT
Request URI
/api/v1/device/relinquishOwnership?ids={ids}
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
---|---|---|---|
ids |
Query |
The IDs of the devices to relinquish eligibility. Separate multiple IDs with commas. |
ids=909 |
Example Request
PUT https://<host>/api/v1/device/relinquishOwnership?ids=909
Response Fields
Field |
Description |
---|---|
errors |
object(Error) Response errors. |
result |
number Number of relinquished devices. |
Example Response
{ "errors": null, "result": 0 }
Cancel Relinquish device (Android only)
This call cancels relinquishing an Android device. Relinquishing removes the work profile and all policies from a company-owned device, releasing the device for personal use.
Authentication
Use credentials for a user with the device management permission.
HTTP Method
PUT
Request URI
/api/v1/device/relinquishOwnershipCancel?ids={ids}
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
---|---|---|---|
ids |
Query |
The IDs of the devices for which to cancel relinquishing. Separate multiple IDs with commas. |
ids=909 |
Example Request
PUT https://<host>/api/v1/device/relinquishOwnershipCancel?ids=909
Response Fields
Field |
Description |
---|---|
errors |
object(Error) Response errors. |
result |
number Number of devices for which relinquishment has been canceled. |
Example Response
{ "errors": null, "result": 0 }
Get List of Devices Registered Within x Amount of Time
This call gets a list of devices registered within the last x days, hours, minutes, and seconds.
Authentication
This call requires Tenant Admin credentials.
HTTP Method
GET
Request URI
/api/v1/device?dmPartitionId=dmPartitionId&fq=lastRegistrationTime<'dd:hr:mm:ss'&rows=rows&start=start
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
---|---|---|---|
dmPartitionId |
Path |
Integer. The device space ID. |
23003 |
|
|
|
|
dd:hr:mm:ss |
Path |
Time. The time in days, hours, minutes, and seconds to search for the last registration. |
0:0:03:06 (Represents in the last 3 minutes 6 seconds) |
rows |
Path |
Integer. How many rows to retrieve. Do not send a value larger than 500 with the rows parameter because the APIs do not permit a value of greater than 500. See Controlling Results. |
5 |
start |
Path |
Integer. The row on which to start the display. See Searching for devices efficiently |
0 |
searchAfterValues |
Query |
Useful in searches in environments with ten-thousand or more devices. See Searching for devices efficiently. |
|
Example Request
http://[Ivanti Neurons for MDM]/api/v1/device?dmPartitionId=23003&fq=lastRegistrationTime<'0:0:03:06'&rows=5&start=0
Response Fields
Response Fields |
Description |
---|---|
errors |
|
result |
|
totalCount |
|
queryTime |
|
searchResults |
|
id |
|
phoneNumber |
|
deviceModel |
|
platformType |
|
platformVersion |
|
lastCheckin |
|
registrationState |
|
displayName |
|
firstName |
|
lastName |
|
uid |
|
emailAddress |
|
clientVersion |
|
manufacturer |
|
imei |
|
wifiMacAddress |
|
serialNumber |
|
currentCarrierNetwork |
|
subscriberCarrierNetwork |
|
locale |
|
ownershipType |
|
complianceState |
|
roaming |
|
supervised |
|
udid |
|
clientLastCheckin |
|
iccid |
|
currentMcc |
|
currentMnc |
|
subscriberMcc |
|
subscriberMnc |
|
prettyModel |
|
policyViolationCount |
|
latitude |
|
longitude |
|
locationLastCapturedAt |
|
lastRegistrationTime |
|
locationStatusDetail |
|
actionExceptionCodes |
|
null |
|
supportLockMessage |
|
ownerId |
|
legalOwnerId |
Legal owner of the device, for shared iPad devices. |
legalOwnerEmailAddress |
Email address of the device legal owner, for shared iPad devices. |
kioskState |
|
customAttributes |
|
offset |
|
limit |
|
facetedResults |
|
PRETTYMODEL |
|
List of models |
|
COMPLIANCESTATE |
|
false |
|
true |
|
OWNERSHIPTYPE |
|
COMPANY |
|
EMPLOYEE |
|
UNKNOWN |
|
SUBSCRIBERCARRIERNETWORK |
|
List of networks |
|
JAILBROKEN |
|
true |
|
false |
|
ACCOUNTGROUP |
|
List of groups |
|
REGISTRATIONSTATE |
|
RETIRED |
|
WIPE_CANCELED |
|
RETIRE_CANCELED |
|
RETIRE_SENT |
|
WIPE_PENDING |
|
WIPE_SENT |
|
WIPED |
|
RETIRE_PENDING |
|
ACTIVE |
|
SUPERVISED |
|
true |
|
false |
|
ROAMING |
|
true |
|
false |
|
PLATFORMTYPE |
|
ANDROID |
|
IOS |
|
WINDOWS_PHONE |
|
OSX |
|
KIOSKSTATE |
|
NOT_CONFIGURED |
|
INACTIVE |
|
ACTIVE |
|
totalUnfilteredResultCount |
|
Example Response
{
"errors": null,
"result": {
"totalCount": 1,
"queryTime": 28,
"searchResults": [
{
"id": 394985,
"phoneNumber": "+15558555543",
"deviceModel": "XT1095",
"platformType": "ANDROID",
"platformVersion": "5.0",
"lastCheckin": 1426183813073,
"registrationState": "ACTIVE",
"displayName": "Bill Smith",
"firstName": "Bill",
"lastName": "Smith",
"uid": "[email protected]",
"emailAddress": " [email protected]",
"clientVersion": "3.0.1.3",
"manufacturer": "motorola",
"imei": "353345061657294",
"wifiMacAddress": "f8:cf:c5:00:b1:4a",
"serialNumber": "TA44908O8E",
"currentCarrierNetwork": "T-Mobile",
"subscriberCarrierNetwork": "UNKNOWN",
"locale": "en_US",
"ownershipType": "UNKNOWN",
"complianceState": true,
"roaming": false,
"supervised": null,
"udid": null,
"clientLastCheckin": 1426183813073,
"iccid": "8901260222782933598",
"currentMcc": "310",
"currentMnc": "260",
"subscriberMcc": "310",
"subscriberMnc": "260",
"prettyModel": "XT1095",
"policyViolationCount": 0,
"latitude": null,
"longitude": null,
"locationLastCapturedAt": null,
"lastRegistrationTime": 1426183707585,
"locationStatusDetail": null,
"actionExceptionCodes": [
null
],
"supportLockMessage": false,
"ownerId": 10220,
"legalOwnerId": null,
"legalOwnerEmailAddress": null,
"kioskState": "NOT_CONFIGURED",
"customAttributes": null
}
],
"offset": 0,
"limit": 5,
"facetedResults": {
"PRETTYMODEL": {
"SM-N900V": 0,
"iPad": 0,
"GT-I9505": 0,
"SAMSUNG-SM-N900A": 0,
"HTC 802w": 0,
"SM-N900T": 0,
"GT-I9500": 0,
"SAMSUNG-SGH-I337": 0,
"Nexus 9": 0,
"GT-N8013": 0,
"iPhone": 0,
"MI 2S": 0,
"SM-G900F": 0,
"SM-T210R": 0,
"SM-G900H": 0,
"SC-02E": 0,
"SM-G530H": 0,
"Nexus 4": 0,
"SAMSUNG-SGH-I727": 0,
"iPod touch": 0,
"Nexus 5": 0,
"SM-T530NU": 0,
"SPH-L720": 0,
"Nexus 6": 0,
"Nexus 7": 0,
"SM-T320": 0,
"iPhone 4s": 0,
"SM-P600": 0,
"iPad Mini": 0,
"GT-I9105P": 0,
"SGH-M919": 0,
"SCH-I535": 0,
"C6802": 0,
"A0001": 0,
"SC-03D": 0,
"GT-P3113": 0,
"iPhone 3Gs": 0,
"DROID RAZR": 0,
"LG-D858HK": 0,
"SAMSUNG-SM-G900A": 0,
"iPad 2": 0,
"iPhone 5s": 0,
"XT1095": 1,
"Galaxy Nexus": 0,
"GT-N7000": 0,
"iPhone 6 Plus": 0,
"iPad4,7": 0,
"iPad5,3": 0,
"iPad5,4": 0,
"Nexus 10": 0,
"Lumia 520": 0,
"iPhone 5c": 0,
"GT-P5113": 0,
"SCH-I545": 0,
"MacBookAir6,2": 0,
"SAMSUNG-SGH-I317": 0,
"GT-N7105": 0,
"LG-D851": 0,
"SAMSUNG-SGH-I747": 0,
"GT-N7100": 0,
"iPad 4th gen": 0,
"iPhone3,2": 0,
"iPod touch 4th gen": 0,
"HTC One X": 0,
"SM-N910G": 0,
"XT1080": 0,
"Lumia 635": 0,
"GT-I9000": 0,
"iPad 3rd gen": 0,
"iPad Air": 0,
"Lumia 925": 0,
"iPhone 4": 0,
"SCH-I915": 0,
"iPhone 5": 0,
"iPhone 6": 0,
"HTC One": 0,
"GT-I9300": 0,
"iPod touch 5th gen": 0,
"Lumia 630": 0,
"iPad Mini 2nd gen": 0,
"iPhone Simulator": 0,
"SC-01F": 0,
"MacBookAir4,2": 0,
"Nexus S": 0
},
"COMPLIANCESTATE": {
"false": 0,
"true": 1
},
"OWNERSHIPTYPE": {
"COMPANY": 0,
"EMPLOYEE": 0,
"UNKNOWN": 1
},
"SUBSCRIBERCARRIERNETWORK": {
"Verizon": 0,
"vf nl": 0,
"Viettel": 0,
"ドコモ": 0,
"KDDI": 0,
"T-Mobile": 0,
"AT&T": 0,
"ATT-US": 0,
"中国移动": 0,
"Sprint": 0,
"Vodafone India": 0,
"movistar": 0,
"Vodafone.de": 0,
"OPTUS": 0,
"UNKNOWN": 1,
"NTT DOCOMO": 0,
"Airtel TZ": 0,
"vodafone UK": 0,
"TELCEL": 0,
"airtel": 0,
"SingTel": 0,
"YES OPTUS": 0,
"Singtel": 0,
"AirTel": 0,
"000-IN": 0,
"Carrier": 0,
"CMCC": 0,
"Telekom.de": 0,
"中国联通": 0,
"Verizon Wireless": 0,
"EE": 0,
"Telstra": 0
},
"JAILBROKEN": {
"true": 0,
"false": 1
},
"ACCOUNTGROUP": {
"Professional Services": 0,
"xteam": 0,
"UX Test Group": 0,
"Sales": 1,
"EMEA-ISR": 0,
"MiOnMi-AllO365": 1,
"UG2": 0,
"Demo Group": 0,
"hari": 0,
"Russ": 0,
"UX Team": 0,
"Test Group - Created by/for [email protected]": 0,
"Newell North America": 0,
"洋一テストユーザーグループ": 0,
"Customer Success": 0,
"IT Test Group": 0,
"Engineering": 0,
"Business Development": 0,
"Newell Georgia": 0,
"MIMIC-o365Test": 0,
"Marketing": 0,
"EMEA-Partner-Helpdesk": 0,
"all-productmanagers": 0,
"UX": 0,
"Newell": 0,
"RichardLi": 0,
"Users Not Syncing groups": 0,
"SE": 1,
"QA": 0,
"SAFE - Native Samsung Users": 0,
"Roupen Group": 0,
"IT": 0,
"Local Users - Unable to Link to AD": 0,
"System Administrators": 0,
"Supervised Devices": 0,
"Vinay Parihar": 0,
"Tyson Wheeler - Android": 0,
"MIOnMI-AllServices": 0,
"UG1": 0,
"RamseyNJesse": 0,
"Default Group": 1,
"All Users": 1,
"Sales Ops": 0,
"Chris Kim": 0,
"CN": 0,
"Japan": 0,
"Mirko": 0
},
"REGISTRATIONSTATE": {
"RETIRED": 0,
"WIPE_CANCELED": 0,
"RETIRE_CANCELED": 0,
"RETIRE_SENT": 0,
"WIPE_PENDING": 0,
"WIPE_SENT": 0,
"WIPED": 0,
"RETIRE_PENDING": 0,
"ACTIVE": 1
},
"SUPERVISED": {
"true": 0,
"false": 1
},
"ROAMING": {
"true": 0,
"false": 1
},
"PLATFORMTYPE": {
"ANDROID": 1,
"IOS": 0,
"WINDOWS_PHONE": 0,
"OSX": 0
},
"KIOSKSTATE": {
"NOT_CONFIGURED": 1,
"INACTIVE": 0,
"ACTIVE": 0
}
},
"totalUnfilteredResultCount": 503
}
}
Get List of Devices Checked In Within x Amount of Time
This call gets a list of devices checked in within the last x seconds, minutes or hours. The call returns such fields, for example, as availableCapacity and totalCapacity, to aid troubleshooting why apps are not installing.
Authentication
This call requires Tenant Admin credentials.
HTTP Method
GET
Request URI
/api/v1/device?dmPartitionId=dmPartitionId&fq=lastCheckin<'hh:mm:ss'&rows=rows&start=start
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
---|---|---|---|
dmPartitionId |
Path |
Integer. The device space ID. |
23003 |
fq=lastCheckin |
Query |
Solr Filter Query parameter (fq) filtering the query to return devices checked in within the time specified in hours, minutes and seconds. |
fq=lastCheckin<'00:01:00' |
rows |
Query |
Integer. How many rows to retrieve. Do not send a value larger than 500 with the rows parameter because the APIs do not permit a value of greater than 500. See Controlling Results. |
5 |
start |
Path |
Integer. The row on which to start the display. See Searching for devices efficiently |
0 |
searchAfterValues |
Query |
Useful in searches in environments with ten-thousand or more devices. See Searching for devices efficiently. |
|
Example Request
https://[Ivanti Neurons for MDM]/api/v1/device?dmPartitionId=23003&fq=lastCheckin<'00:01:00'&rows=5&start=0
Response Fields
Field |
Description |
---|---|
errors |
|
result |
|
totalCount |
|
searchResults |
|
id |
|
guid |
|
mdmChannelId |
|
phoneNumber |
|
deviceModel |
|
deviceName |
|
platformType |
|
platformVersion |
|
osBuildVersion |
|
lastCheckin |
|
registrationState |
|
displayName |
|
firstName |
|
lastName |
|
uid |
|
emailAddress |
|
clientVersion |
|
manufacturer |
|
imei |
|
imei2 |
|
imsi |
|
locatorServiceEnabled |
|
meid |
|
wifiMacAddress |
|
wifiMacAddressForInventory |
|
systemUpdateInformation |
|
serialNumber |
|
altSerialNumber |
|
cellularTechnology |
|
currentCarrierNetwork |
|
subscriberCarrierNetwork |
|
locale |
|
ownershipType |
|
complianceState |
|
roaming |
|
supervised |
|
udid |
|
clientLastCheckin |
|
iccid |
|
currentMcc |
|
currentMnc |
|
subscriberMcc |
|
subscriberMnc |
|
prettyModel |
|
policyViolationCount |
|
latitude |
|
longitude |
|
locationLastCapturedAt |
|
lastRegistrationTime |
|
lostModeEnabled |
|
multiUser |
|
maxResidentUsers |
|
clientDeviceIdentifier |
|
availableCapacity |
|
totalCapacity |
|
clusterIdentifier |
|
deviceSource |
|
quarantined |
|
jailbroken |
|
passcodeCompliant |
True if the passcode is compliant with all the requirements on the device, including Exchange and other accounts. Applicable for iOS only (null for the other platforms). |
passcodeCompliantWithProfiles |
True if the passcode is compliant with EMM profiles. |
blocked |
|
locationStatusDetail |
|
androidBuildFingerprint |
|
androidBuildId |
|
androidZebraPatchLevel |
|
androidSystemUpdateStatus |
|
salesCode |
|
firmwareVersion |
|
uptime |
|
userEnrolled |
|
androidWorkContainerEnabled |
|
androidWorkUid |
|
androidManagedByGoogle |
|
fcmEnabled |
|
actionExceptionCodes |
|
violatedPolicies |
|
supportLockMessage |
|
ownerId |
|
legalOwnerId |
Legal owner of the device, for shared iPad devices. |
legalOwnerEmailAddress |
Email address of the device legal owner, for shared iPad devices. |
kioskState |
|
customAttributes |
|
easDeviceIdentifiers |
|
appEasIdentifiers |
|
androidDeviceOwnerModeEnabled |
|
windowsDeviceType |
|
secureAppsStatus |
|
secureAppsEncryptionStatus |
|
secureAppsEncryptionMode |
|
tpmSpecificationVersion |
|
bridgeVersion |
|
bridgeDeviceDataLastCapturedAt |
|
lastHotfixId |
|
lastHotfixInstalledOn |
|
mamOnly |
|
authOnly |
|
ipAddress |
Is GDPR compliant. |
depEnrolled |
|
depEligible |
|
mobileThreatDefenseGeneralStatus |
|
antiPhishingGeneralStatus |
|
samsungEfotaCapable |
|
currentCountryName |
If the value for currentCountryName is blank or null, the corres ponding API response field will be "null." |
currentCountryCode |
|
homeCountryName |
If the value for homeCountryName is blank or null, the corresp onding API response field will be "null." |
homeCountryCode |
|
userPreferenceCSVHeader |
|
dmPartitionId |
|
dmPartitionName |
|
entityName |
|
offset |
|
queryTime |
|
facetedResults |
|
LAST_HOTFIX_ID |
|
SUBSCRIBERCARRIERNETWORK |
|
AUTHONLY |
|
ANDROIDWORKPROFILEONCOMPANYOWNEDDEVICEENABLED |
|
ANDROIDDEVICEOWNERMODEENABLED |
|
PRETTYMODEL |
|
REGISTRATIONSTATE |
|
DEVICESOURCE |
|
MULTIUSER |
|
ACCOUNTENABLED |
|
ANDROIDWORKPROFILEENABLED |
|
KIOSKSTATE |
|
ANDROIDSECURITYPATCHLEVEL |
|
JAILBROKEN |
|
PLATFORMTYPE |
|
OWNERSHIPTYPE |
|
ANDROIDSAFETYNETATTESTATIONTYPE |
|
ANDROIDWORKDEVICEOWNERWITHWORKPROFILEENABLED |
|
COMPLIANCESTATE |
|
MOBILE_THREAT_DEFENSE_GENERAL_STATUS |
|
SUPERVISED |
|
ANTIPHISHINGGENERALSTATUS |
|
SECUREAPPSSTATUS |
|
MAMONLY |
|
ANDROIDMANAGEDBYGOOGLE |
|
ACCOUNTGROUP |
|
ANDROIDWORKENABLED |
|
OSBUILDVERSION |
|
ROAMING |
|
LOSTMODEENABLED |
|
totalUnfilteredResultCount |
|
Example Response
{ "errors": null, "result": { "totalCount": 1, "searchResults": [ { "id": 89073, "guid": "50cf8b26-4514-4f16-b0b8-2b4a5f9a965d", "mdmChannelId": "50f0321c-f12d-492e-99c1-61bbbe31b4ef", "phoneNumber": null, "deviceModel": "iPad7,5", "deviceName": "Micloud’s iPad", "platformType": "IOS", "platformVersion": "12.4", "osBuildVersion": "16G77", "lastCheckin": 1597793723830, "registrationState": "ACTIVE", "displayName": "ad fs", "firstName": "ad", "lastName": "fs", "uid": "[email protected]", "emailAddress": "[email protected]", "clientVersion": null, "manufacturer": "Apple Inc.", "imei": null, "imei2": null, "imsi": null, "locatorServiceEnabled": true, "meid": null, "wifiMacAddress": "60:8c:4a:ac:b6:24", "wifiMacAddressForInventory": null, "systemUpdateInformation": null, "serialNumber": "GG7XCJ38JF8K", "altSerialNumber": null, "cellularTechnology": "device__p_cellular_technology", "currentCarrierNetwork": "UNKNOWN", "subscriberCarrierNetwork": "UNKNOWN", "locale": null, "ownershipType": "UNKNOWN", "complianceState": true, "roaming": false, "supervised": false, "udid": "aa02889fa80c43e2e22f33d12ff12d564d735d49", "clientLastCheckin": null, "iccid": null, "currentMcc": null, "currentMnc": null, "subscriberMcc": null, "subscriberMnc": null, "prettyModel": "iPad 6th gen", "policyViolationCount": 0, "latitude": null, "longitude": null, "locationLastCapturedAt": null, "lastRegistrationTime": 1597349037211, "lostModeEnabled": false, "multiUser": false, "maxResidentUsers": null, "clientDeviceIdentifier": null, "availableCapacity": 17.063477, "totalCapacity": 22.111652, "clusterIdentifier": "CLOUD", "deviceSource": "CLOUD", "quarantined": false, "jailbroken": false, "passcodeCompliant": true, "passcodeCompliantWithProfiles": true, "blocked": false, "locationStatusDetail": null, "androidBuildFingerprint": null, "androidBuildId": null, "androidZebraPatchLevel": null, "androidSystemUpdateStatus": null, "salesCode": null, "firmwareVersion": null, "uptime": null, "userEnrolled": false, "androidWorkContainerEnabled": false, "androidWorkUid": null, "androidManagedByGoogle": false, "fcmEnabled": false, "actionExceptionCodes": [ ], "violatedPolicies": [ ], "supportLockMessage": true, "ownerId": 12206107, "legalOwnerId": null, "legalOwnerEmailAddress": null, "kioskState": "NOT_CONFIGURED", "legalOwnerId": null, "legalOwnerEmailAddress": null, "customAttributes": null, "easDeviceIdentifiers": [ "LQQEGK4VED1H75L0S40DBA9MB8" ], "appEasIdentifiers": null, "androidDeviceOwnerModeEnabled": false, "windowsDeviceType": null, "secureAppsStatus": null, "secureAppsEncryptionStatus": null, "secureAppsEncryptionMode": null, "tpmSpecificationVersion": null, "bridgeVersion": null, "bridgeDeviceDataLastCapturedAt": null, "lastHotfixId": null, "lastHotfixInstalledOn": null, "mamOnly": false, "authOnly": false, "ipAddress": null, "depEnrolled": false, "depEligible": false, "mobileThreatDefenseGeneralStatus": "NA", "antiPhishingGeneralStatus": "NA", "samsungEfotaCapable": false, "currentCountryName": null, "currentCountryCode": null, "homeCountryName": null, "homeCountryCode": null, "userPreferenceCSVHeader": null, "dmPartitionId": 23504, "dmPartitionName": "Default Space", "entityName": "Micloud’s iPad" } ], "offset": 0, "queryTime": 5, "facetedResults": { "LAST_HOTFIX_ID": { }, "SUBSCRIBERCARRIERNETWORK": { "UNKNOWN": 1 }, "AUTHONLY": { "false": 1 }, "ANDROIDWORKPROFILEONCOMPANYOWNEDDEVICEENABLED": { "false": 1 }, "ANDROIDDEVICEOWNERMODEENABLED": { "false": 1 }, "PRETTYMODEL": { "iPad 6th gen": 1 }, "REGISTRATIONSTATE": { "ACTIVE": 1 }, "DEVICESOURCE": { "CLOUD": 1 }, "MULTIUSER": { "false": 1 }, "ACCOUNTENABLED": { "true": 1 }, "ANDROIDWORKPROFILEENABLED": { "false": 1 }, "KIOSKSTATE": { "NOT_CONFIGURED": 1 }, "ANDROIDSECURITYPATCHLEVEL": { }, "JAILBROKEN": { "false": 1 }, "PLATFORMTYPE": { "IOS": 1 }, "OWNERSHIPTYPE": { "UNKNOWN": 1 }, "ANDROIDSAFETYNETATTESTATIONTYPE": { "UNKNOWN": 1 }, "ANDROIDWORKDEVICEOWNERWITHWORKPROFILEENABLED": { "false": 1 }, "COMPLIANCESTATE": { "true": 1 }, "MOBILE_THREAT_DEFENSE_GENERAL_STATUS": { "NA": 1 }, "SUPERVISED": { "false": 1 }, "ANTIPHISHINGGENERALSTATUS": { "NA": 1 }, "SECUREAPPSSTATUS": { }, "MAMONLY": { "false": 1 }, "ANDROIDMANAGEDBYGOOGLE": { "false": 1 }, "ACCOUNTGROUP": { "All Users": 1, "ADFS IDP": 1 }, "ANDROIDWORKENABLED": { "false": 1 }, "OSBUILDVERSION": { "16G77": 1 }, "ROAMING": { "false": 1 }, "LOSTMODEENABLED": { "false": 1 } }, "totalUnfilteredResultCount": 0 } }
List Devices by UID or Email Address
This call lists devices by UID or by email address.
Authentication
This call requires Tenant Admin credentials.
HTTP Method
GET
Request URI
/api/v1/device
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
---|---|---|---|
q |
Query |
The query container |
?q=&dmPartitionId |
dmPartitionId |
Query |
The device space ID. |
23505 |
fq |
Query |
•Searches for a device by email address or by UID: •By email address: •fq=EMAILADDRESS+EQ+emailaddress •By UID: •fq=UID+EQ+UID |
or
|
searchAfterValues |
Query |
Useful in searches in environments with ten-thousand or more devices. See Searching for devices efficiently. |
|
Example Request
https://[Ivanti Neurons for MDM]/api/v1/device?q=&dmPartitionId=23505&fq=EMAILADDRESS+EQ+ [email protected]
or
https://[Ivanti Neurons for MDM]/api/v1/device?q=&dmPartitionId=23505&fq=UID+EQ+ [email protected]
Example Response
{
"errors": null,
"result": {
"totalCount": 1,
"searchResults": [
{
"id": 197483,
"mdmChannelId": null,
"phoneNumber": "+447480308390",
"deviceModel": "iPhone6,2",
"deviceName": "iPhone",
"platformType": "IOS",
"platformVersion": "8.1.2",
"osBuildVersion": "12B440",
"lastCheckin": 1422649201021,
"registrationState": "ACTIVE",
"displayName": "Stuart Cordery",
"firstName": "Stuart",
"lastName": "Cordery",
"uid": "[email protected]",
"emailAddress": "[email protected]",
"clientVersion": "2.9.0 (2.9.0.15)",
"manufacturer": "Apple Inc.",
"imei": "35 876105 566321 0",
"imsi": null,
"meid": null,
"wifiMacAddress": "90:b9:31:73:5b:f6",
"serialNumber": "F2LLMEE9FFG8",
"cellularTechnology": "device__p_cellular_technology",
"currentCarrierNetwork": "UNKNOWN",
"subscriberCarrierNetwork": "Three",
"locale": null,
"ownershipType": "UNKNOWN",
"complianceState": false,
"roaming": true,
"supervised": false,
"udid": "f831a81049c541ad78b12e09db0849e06ad6dadb",
"clientLastCheckin": 1422640798139,
"iccid": "8944 2001 0071 0054 856",
"currentMcc": "310",
"currentMnc": "410",
"subscriberMcc": "234",
"subscriberMnc": "20",
"prettyModel": "iPhone 5S",
"policyViolationCount": 2,
"latitude": 33.651546,
"longitude": -117.99167,
"locationLastCapturedAt": 1422640798182,
"lastRegistrationTime": 1418162611699,
"lostModeEnabled": false,
"multiUser": false,
"locationStatusDetail": {
"lastUpdatedAt": 1422640798182,
"locationStatus": "AVAILABLE"
},
"androidWorkContainerEnabled": false,
"actionExceptionCodes": [ ],
"supportLockMessage": true,
"ownerId": 1110567,
"legalOwnerId": null,
"legalOwnerEmailAddress": null,
"kioskState": "NOT_CONFIGURED",
"customAttributes": null,
"easDeviceIdentifiers": [
"ApplF2LLMEE9FFG8"
],
"androidDeviceOwnerModeEnabled": false,
"windowsDeviceType": null,
"secureAppsStatus": null,
"secureAppsEncryptionStatus": null,
"secureAppsEncryptionMode": null
}
],
"offset": 0,
"queryTime": 2,
"facetedResults": {
"SUBSCRIBERCARRIERNETWORK": {
"Three": 1
},
"COMPLIANCESTATE": {
"false": 1
},
"SUPERVISED": {
"false": 1
},
"SECUREAPPSSTATUS": { },
"ANDROIDDEVICEOWNERMODEENABLED": {
"false": 1
},
"PRETTYMODEL": {
"iPhone 5S": 1
},
"ACCOUNTGROUP": {
"All Users": 1
},
"REGISTRATIONSTATE": {
"ACTIVE": 1
},
"MULTIUSER": {
"false": 1
},
"OSBUILDVERSION": {
"12B440": 1
},
"KIOSKSTATE": {
"NOT_CONFIGURED": 1
},
"ANDROIDWORKCONTAINERENABLED": {
"false": 1
},
"ROAMING": {
"true": 1
},
"LOSTMODEENABLED": {
"false": 1
},
"JAILBROKEN": {
"false": 1
},
"PLATFORMTYPE": {
"IOS": 1
},
"OWNERSHIPTYPE": {
"UNKNOWN": 1
}
},
"totalUnfilteredResultCount": 0
}
}
Get Device Enrollment Program (DEP) details by DEP profile ID
iOS only. This call returns DEP details by DEP profile ID. Apple allows customers to purchase devices in bulk and automatically enroll those devices in MDM during device activation. You can create a DEP profile and apply it to all devices associated with that MDM Server. This call returns details about a specific DEP profile.
Authentication
This call requires tenant admin credentials.
HTTP Method
GET
Request URI
/api/v1/depServer{id}/profiles
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
---|---|---|---|
id |
Path |
The profile ID of the DEP for which you get details. You can get this value using the GET /api/v1/depServer call, and then use the value for id found here in that return: {
"errors": null,
"result": {
"searchResults": [
{
"id": 198,
"serverUuid": "xxxxaa95-3bd7-4dde-8339-6218d43d8937",
...
"limit": 50
}
}
|
198 |
Example Request
curl -X GET https://[Ivanti Neurons for MDM]/api/v1/depServer/198/profiles
Response Fields
Field |
Description |
---|---|
errors |
|
result |
|
id |
|
uuid |
|
profileName |
|
allowPairing |
|
softwareUpdateEnabled |
|
anchorCerts |
|
department |
|
mandatory |
|
mdmRemovable |
|
maximumResidentUsers |
|
multiUser |
|
orgMagic |
|
skipSetupItems |
|
Location |
|
Restore |
|
Android |
|
AppleID |
|
TOS |
|
Biometric |
|
Payment |
|
Zoom |
|
Siri |
|
Diagnostics |
|
Passcode |
|
supervised |
|
supervisingHostCerts |
|
supportPhoneNumber |
|
supportEmailAddress |
|
url |
|
accountConfiguration |
|
skipPrimarySetupAccountCreation |
|
setPrimarySetupAccountAsRegularUser |
|
skipAutoSetupAdminAccounts |
|
autoSetupAdminAccounts |
|
showCustomTextOnLoginPage |
|
customText |
|
awaitDeviceConfig |
|
timeLimit |
|
enableCustomEnrollment |
|
configurationWebUrl |
|
virtualServerId |
|
status |
|
description |
|
newProfileUuid |
|
createdAt |
|
createdBy |
|
modifiedAt |
|
modifiedBy |
|
numOfDevices |
|
default |
|
Example Response
{ "errors": null, "result": [ { "id": 51799, "uuid": "27EF7B79448A485D9CF9F68038BB18DB", "profileName": "QEJoe", "allowPairing": true, "softwareUpdateEnabled": false, "anchorCerts": null, "department": "QE-2", "mandatory": false, "mdmRemovable": true, "maximumResidentUsers": 0, "multiUser": false, "orgMagic": "xxxxaa95-3bd7-4dde-8339-6218d43d8937", "skipSetupItems": [ "Biometric", "Payment", "Passcode" ], "supervised": false, "supervisingHostCerts": null, "supportPhoneNumber": "1234567890", "supportEmailAddress": null, [Ivanti Neurons for MDM]/c/i/dep/dep.mobileconfig", "accountConfiguration": { "skipPrimarySetupAccountCreation": false, "setPrimarySetupAccountAsRegularUser": false, "skipAutoSetupAdminAccounts": true, "autoSetupAdminAccounts": null }, "showCustomTextOnLoginPage": false, "customText": null, "awaitDeviceConfig": false, "timeLimit": 3, "enableCustomEnrollment": false, "configurationWebUrl": null, "virtualServerId": 198, "status": "ACTIVE", "description": null, "newProfileUuid": null, "createdAt": null, "createdBy": null, "modifiedAt": null, "modifiedBy": null, "numOfDevices": 0, "default": true } ] }