API Guide
/api/TemplateService/Actions/TemplateService.Deploy
POST method for TemplateService.Deploy
This method creates a template-deployment job.
Description Creates a template-deployment job.
Privilege DEVICE_CONFIGURATION
HTTP response
codes
200
Example
Input:
{
"Id": 11,
"TargetIds": [5514],
"NetworkBootIsoModel":
{
"BootToNetwork": true,
"ShareType": "CIFS",
"IsoPath": "bootToIsoPath.iso",
"ShareDetail":
{
"IpAddress": "xx.xx.xx.xx",
"ShareName": "xx.xx.xx.xx",
"User": "bootToIsoUsername",
"Password": "bootToIsoPassword"
}
},
"Attributes": [],
"Options":
{
"ShutdownType": 0,
"TimeToWaitBeforeShutdown": 300,
"EndHostPowerState": 1
},
"Schedule":
{
"RunNow": true,
"RunLater": false
}
}
Output:
ID of created task
POST method for TemplateService.Deploy of IOA deployment
This method creates an IOA template-deployment job.
Description
Creates a IOA template-deployment job.
Privilege TEMPLATE_MANAGEMENT
HTTP response
codes
200
Example
Input:
{
"Id": 10,
"TargetIds": [10173,10175],
"Attributes": [
{
"DeviceId": "10173",
"Attributes": [
{
"Id": 18968,
Configure 157