getStatuses

List statuses

This command lists all the statuses that are associated with a specified status type.

Format

udclient [global-args...] [global-flags...]
  getStatuses [parameters]

Parameters

Table 1. Parameters
Parameter Type Required Description
type string true Status type (inventory, version, or snapshot)

Example

udclient -username jsmith -password passwd 
  -weburl https://myserver.example.com:8443
  getStatuses
  -type inventory

Example response

[
  {
    "id": "061056cc-9433-4036-ac11-b3c0b84e7018",
    "type": "INVENTORY",
    "name": "Active",
    "active": true,
    "description": "Currently Deployed",
    "color": "#B3D66D",
    "unique": true
  }
]

Related REST command: List statuses.