White Papers

17 End to End Automation with REST API in Dell EMC OpenManage Enterprise 3.0
If this functionality was not provided in OpenManage Enterprise, you would have to access each target
device after deployment completed and customize its boot attributes as required at that point. Being able
to do this customization in the Deploy Template wizard is a lot more convenient.
Values set in the wizard for boot option attributes are included in the Deploy Template API (discussed
below).
Deploy Template
This API specifies the ID of the template to be deployed, various related instructions (such as whether or
not Boot-from-ISO is wanted, and associated values if it is wanted), the ID of each target device, and
when to do the deployment. The request may specify that the deployment execute immediately, or at a
specified time in the future. The request also includes boot option values for each target device.
Each of the preceding APIs is discussed here:
Assign Identities
The Assign Identities API uses the following URI:
HTTP Method: POST
URI: https://<ip-addr>/api/TemplateService/Actions/
TemplateService.AssignIdentities
The following example payload requests that unused values be reserved from the Identity Pool associated
with Template 12, based on the applicable identity attributes contained in that Template. A set of those
Identity Pool values is requested for a single target device (with ID 25028):
As indicated by the payload structure above, multiple target device IDs could have been specified (in a
comma-separated list). OpenManage Enterprise will reserve a unique set of identity values for each specified
target device.
The reply indicates whether or not the request succeeded. If it did not succeed, the reply will contain an error
entry for each problem that was found.
Get Assigned Identities and Boot Options
The Get Assigned Identities API uses the following URI:
HTTP Method: POST
URI: https://<ip-addr>/api/TemplateService/Actions/
TemplateService.GetAssignedIdentities
{
"TemplateId" : 12,
"BaseEntityIds" : [25028]
}