Reference Guide

A sample XML that would comprise the payload when initiating a POST operation to create a power
control task is as follows:
<RESTPowerControlTaskW>
<Id>0</Id>
<Name>A - Power Off - REST 3</Name>
<Description>Power Off Task</Description>
<Schedule>46 22 */1 * * *</Schedule>
<ControlType>1</ControlType>
<Devices>
<int>1</int>
<int>2</int>
<int>3</int>
<int>4</int>
</Devices>
<UserName>Administrator</UserName>
<Password>Dell1234</Password>
<IsGraceFul>1</IsGraceFul>
</RESTPowerControlTaskW>
2.12.4 Task Status And Progress Information
<SPECIFIC_TASK_URI> =<BASE_URI>/Tasks/<SPECIFIC_TASK_ID>
The following resource URI can be used to query the task execution summary:
<SPECIFIC_TASK_URI>/ExecutionSummary
Operations supported:
GET
The attributes associated with the task status and progress information are described in the following
table.
Attribute Name
Description
StartTime The start time of the task.
EndTime
The end time of the task.
TaskState
The enumerated state of the task.
PercentComplete
The completion status of the task in percent.
47 REST API Guide OpenManage Essentials | Revision A02