API Guide
"Schedule" : {
"RunNow" : <true-false>,
"RunLater" : <true-false>,
"Cron" : "<cron-string>",
"StartTime" : "<start-time-string>",
"EndTime" : "<end-time-string>"
},
"Attributes" : [
{
"DeviceId" : <device-id>,
"Attributes" : [
{
"Id" : <attribute-id>,
"Value" : "<string-value>",
"IsIgnored" : <true-false>
}, ...
]
},...
],
"Options" : {
"ShutdownType" : <shutdown-type>,
"TimeToWaitBeforeShutdown" : <wait-secs>,
"EndHostPowerState" : <end-power-state>,
"PrecheckOnly" : <true-false>,
"ContinueOnWarning" : <true-false>,
"StrictCheckingVlan" : <true-false>
},
"NetworkBootIsoModel" : {
"BootToNetwork" : <true-false>,
"ShareType" : "<share-type>",
"IsoPathâ : "<iso-path>",
"ShareDetail" : {
"IpAddress" : "<share-ip-address>",
"ShareName" : "<share-name>",
"WorkGroup" : "<work-group-name>",
"User" : "<share-user-name>",
"Password" : "<share-password>"
}
}
}
The following is a sample payload for a Deploy Template request:
{
"Id":29,
"TargetIds":[8564,5364],
"NetworkBootIsoModel":{
"BootToNetwork":false,
"ShareType":"CIFS",
"ShareDetail":{
}
},
"Attributes":[
{
"DeviceId":0,
"Attributes":[
{
"Id":2536,
"IsIgnored":true
}
]
}
],
"Options":{
"ShutdownType":0,
"TimeToWaitBeforeShutdown":300,
"EndHostPowerState":1
}
}
172
Configure