Variables

You can use REST API calls to obtain information about variables being used in an enrollment.
New for 5.8

The following table lists the properties that can be used in the body of a variable-related request and/or are provided in the response body. (In the "Optional" column, if a default value is applicable, it is listed in angle brackets (< >).

Resource: variable

Property Name Type Editable Sort/Filter Optional in Request/Response Body? Description
variable String No No No Name of the variable.
value String No No Yes Value of the variable (if the value was provided).

variable URIs and Actions

The following table indicates the URIs that you can append to the root URI, along with the actions you can take, and possible return codes you can receive.

variable URIs and Actions

URI Action Description Return Codes

/enrollments/{enrollguid}/variables

GET Returns the complete list of enrollment variables used for this enrollment. This list of variable resources is sorted in ascending order and cannot be changed.

404 - Not found

401 - Unauthorized

200 - Ok