API Guide
/api/TemplateService/Actions/
TemplateService.AssignIdentities
POST method for TemplateService.AssignIdentities
This method reserves virtual identities for target devices based on the configuration in a specified template. Identities are reserved from
the identity pool associated with the specified template.
Description Reserves virtual identities for target devices.
Privilege TEMPLATE_MANAGEMENT
HTTP response
codes
200
Example request
body
{
"TemplateId" : 13,
"BaseEntityIds" : [25010]
}
Example response
body
{
"IsSuccessful": true,
"ResultCode": 0,
"ResultMessage": "Operation successful.",
"Issues": []
}
/api/TemplateService/Actions/
TemplateService.GetAssignedIdentities
POST method for TemplateService.GetAssignedIdentities
This method returns a list of virtual identities reserved for a specified target device. The reply also includes boot option attributes.
Description
Returns a list of virtual identities for a specific target device.
Privilege VIEW
HTTP response
codes
200
Example request
body
{
"TemplateId" : 13,
"BaseEntityId" : 25010
}
Example response
body
The reply is a hierarchical structure for the cards, ports, and partitions
for which identities were assigned, or that have boot options.
{
"Id": 5,
"Name": "NetModel",
"Description": "Hierarchy containing NIC and BIOS Network Settings and
Boot Options",
"AttributeGroupNames": [],
"AttributeGroups":
Configure 169