API Guide

"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": [
{
"@odata.type": "#AutoDeployService.AutoDeployTarget",
"@odata.id": "/api/AutoDeployService/Targets(7)",
"AutoDeployDeviceId": 7,
"Identifier": "DT3Y6S1",
"TemplateId": 9,
"TemplateTypeId": 2,
"TemplateName": "test-migrate",
"GroupName": null,
"IsBootToNetworkIso": false,
"ShareIp": null,
"ShareType": null,
"IsoPath": null,
"TaskId": 0,
"TaskLastRunStatusId": 2200,
"CreatedBy": "admin",
"CreatedOn": "2019-05-15 17:24:29.411303"
},
{
"@odata.type": "#AutoDeployService.AutoDeployTarget",
"@odata.id": "/api/AutoDeployService/Targets(8)",
"AutoDeployDeviceId": 8,
"Identifier": "JHKP8R1",
"TemplateId": 9,
APIs specific to OpenManage Enterprise
547