Get device location details

This API returns device location details of the target device.

HTTP Method

POST

Request URI

/msa/v1/cps/device/location

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.

 

Example response

[
    {
        "deviceMdmId": "id-1", 
        "lastCaptured": 1525260287000, 
        "location": {
            "latitude": "-6.446318", 
            "longitude": "8.305312"
        }
    }, 
    {
        "deviceMdmId": "id-2", 
        "lastCaptured": 1525260287000, 
        "location": {
            "latitude": "5.178482", 
            "longitude": "240.943423"
        }
    }
]