API Guide

Table 143. Attributes(continued)
Attribute Description
JobStatusId Status of the discovery job. For example, Complete, Failed, and so
on.
JobNextRun If discovery job is scheduled, returns the next schedule time.
LastUpdateTime Last updated time of the discovery job.
DiscoveryConfigExpectedDeviceCount Total number of devices expected to be discovered by the job.
DiscoveryConfigDiscoveredDeviceCount Total number of devices discovered by the job.
/api/DiscoveryConfigService/DiscoveryConfigGroups
This URI creates a discovery job.
POST method for DiscoveryConfigGroups
This method creates a discovery job.
Description Creates a discovery job.
Privilege DISCOVERY_MANAGEMENT
HTTP response
codes
200
Example
Input:
{
"DiscoveryConfigGroupName":"Discovery-2017033110553636",
"DiscoveryConfigGroupDescription":"null",
"DiscoveryConfigModels":[
{
"DiscoveryConfigId":331105536,
"DiscoveryConfigDescription":"",
"DiscoveryConfigStatus":"",
"DiscoveryConfigTargets":[
{
"DiscoveryConfigTargetId":0,
"NetworkAddressDetail":"10.35.0.0-10.35.0.255",
"AddressType":30,
"Disabled":false,
"Exclude":false
}
],
"ConnectionProfileId":0,
"ConnectionProfile":"{\"profileName\":\"\",\"profileDescription
\":\"\",\"type\":\"DISCOVERY\",\"credentials\":[{\"id\":0,\"type\":\"WSMAN
\",\"authType\":\"Basic\",\"modified\":false,\"credentials\":{\"username
\":\"root\",\"password\":\"calvin\",\"caCheck\":false,\"cnCheck
\":false,\"port\":443,\"retries\":3,\"timeout\":60,\"isHttp
\":false,\"keepAlive\":false}}]}",
"DeviceType":[
1000
]
}
],
"Schedule":{
"RunNow":true,
"RunLater":false,
"Cron":"startnow",
"StartTime":"",
"EndTime":""
},
"CreateGroup":true,
"TrapDestination":false
}
382
APIs specific to OpenManage Enterprise