Get profile inventory (iOS only)

This calls returns the profile inventory details for the device identifiers specified in the request. This API consists of a command and optional payload (URL) that you can use to work with GUIDs instead of mdm-identifiers.

Any invalid device identifier specified in the request is silently ignored.

HTTP Method

POST

Request URI

/msa/v1/cps/device/profile

Request parameters

 

Parameter

Description

Sample Value

identifiers

Required

Parameter Type: Request body

Data Type: String

List of UEM identifiers in this format:

{

"identifiers":["mdm-id-1", "mdm-id-2"]

}

See List of identifiers.

 

identifierType

Optional

Parameter Type: Request body

Data Type: Enum

Possible Values: One of :

MDM_IDENTIFIER

GUID

If not specified, the server assumes MDM identifiers.

GUID

Response fields

See Profile.

Example response

[
    {
        "deviceMdmId": "8bfb639c2676ed8c4d55c8962773698fe2e04cd4", 
        "profiles": [
            {
                "encrypted": true, 
                "hasRemovalPasscode": false, 
                "managed": true, 
                "removalDisallowed": true, 
                "description": "Access the Apple App Catalog via this Web Clip.", 
                "displayName": "Apple App Catalog", 
                "identifier": "mi.webclip.35016.0", 
                "organization": "acme, Inc.", 
                "uuid": "e45473ff-bc98-4041-a220-94019fd2b9d9", 
                "version": "1"
            }, 
            {
                "encrypted": true, 
                "hasRemovalPasscode": false, 
                "managed": true, 
                "removalDisallowed": true, 
                "description": "The Identity used by this device to access the Apple App Catalog securely.", 
                "displayName": "Identity for the App Catalog", 
                "identifier": "mi.credentialidentitydg.35018.0", 
                "organization": "acme, Inc.", 
                "uuid": "5d299f56-6dbb-4318-9f53-39e8a78950f1", 
                "version": "1"
            }, 
            {
                "encrypted": true, 
                "hasRemovalPasscode": false, 
                "managed": false, 
                "removalDisallowed": false, 
                "description": "The top-level MDM payload containing the MDM profile, the identities and the trust certificates necessary to MDM-manage this device.", 
                "displayName": "Root MDM Profile", 
                "identifier": "com.acme.polaris.mdm", 
                "organization": "acme, Inc.", 
                "uuid": "3cdac85c-d56d-4d75-835c-dce062d66c9e", 
                "version": "1"
            }
        ]
    }
]