POST device/operations/appinventory

Method to receive the device's inventory.

Remarks

C4M Error Code returned:

  • null

    The operation has been successfully requested.

Status HTTP returned:
  • 403 - Forbidden

    The authenticated user doesn't have permission to access the resource. OR The operation is not allowed in a disabled device.

Request Information

Parameters

NameDescriptionAdditional information
applicationInventoryDto
Device's apps list.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "applicationPackages": [
    {
      "friendlyName": "sample string 1",
      "installationTime": "2020-05-15T17:03:27.6960553-03:00",
      "isSystemApplication": true,
      "lastUpdateTime": "2020-05-15T17:03:27.6960553-03:00",
      "packageName": "sample string 5",
      "packageVersion": "sample string 6",
      "packageVersionCode": 1
    },
    {
      "friendlyName": "sample string 1",
      "installationTime": "2020-05-15T17:03:27.6960553-03:00",
      "isSystemApplication": true,
      "lastUpdateTime": "2020-05-15T17:03:27.6960553-03:00",
      "packageName": "sample string 5",
      "packageVersion": "sample string 6",
      "packageVersionCode": 1
    }
  ],
  "deviceDate": {
    "date": "2020-05-15T17:03:27.6960553-03:00",
    "timeZoneId": "E. South America Standard Time",
    "utcOffset": -180
  }
}

Response Information

Operation result.

Response body formats

application/json, text/json

Sample:

Sample not available.