API Guide

Table Of Contents
/api/DeviceService/Actions/DeviceService.AddCredentialToDevice
When an onboarding operation is initiated on the OpenManage Enterprise console, this URI is used to first add the credentials
of the devices. This URI can be used to add credential information pertaining to management operations used for a particular
target.
POST method for DeviceService.AddCredentialToDevice
Description Adds the credential information of devices when an onboarding job is initiated.
Privilege JOB_MANAGEMENT
HTTP response
codes
204
Example request
body
{
"DeviceId": [11199],
"CredentialProfile": {
"CredentialProfileId": 0,
"CredentialProfile": "{\"profileName\":\"\",
\"profileDescription\":\"\",
\"type\":\"MANAGEMENT\",\"credentials\":[{\"id\":0,\"type\":\"WSMAN\",
\"authType\":\"Basic\",\"modified\":false,\"credentials\":{\"username\":
\"asdf\",
\"password\":\"sdf\",\"caCheck\":false,\"cnCheck\":false,
\"port\":443,\"retries\":3,
\"timeout\":60,\"isHttp\":false,\"keepAlive\":false}},{\"id\":0,\"type\":
\"REDFISH\",
"authType\":\"Basic\",\"modified\":false,\"credentials\":{\"username\":
\"asdf\",
\"password\":\"sdf\",\"caCheck\":false,\"cnCheck\":false,
\"port\":443,\"retries\":3,
\"timeout\":60,\"isHttp\":false,\"keepAlive\":false}}]}",
"ProfileType": "2"
}
}
Auto deploy
/api/AutoDeployService/Targets
This URL is used to get all the auto deploy targets.
GET method for Targets
Description
This method is used to get all the auto deploy targets.
Privilege AUTO_DEPLOY_MANAGEMENT
HTTP response
codes
200
Example
Response Body
{
"@odata.context": "/api/
$metadata#Collection(AutoDeployService.AutoDeployTarget)",
"@odata.count": 2,
"value": [
APIs specific to OpenManage Enterprise 593