Reference Guide
SupportAssist Enterprise
15 REST API Guide – SupportAssist Enterprise
Credentials required in the JSON request body based on the protocol type
Protocols Type
Credentials
Username
Password
enablepassword
communityString
WMI
Required
Required
null
null
SSH
Required
Required
Optional
#
null
WSMAN
Required
Required
null
null
HTTPS
Required
Required
null
null
REST
Required
Required
null
null
VMWare
Required
Required
null
null
SNMP
Null
Null
null
Required
Note: Enable password is required only if the networking device is configured with an enable password.
2.3.1 Create Account Credentials
The following resource URI is used to create an Account Credentials:
https://<BASE_URI>/SupportAssist/api/v1/CredentialAccount
Method: POST
Headers:
Content-Type: application/json
Authorization: Bearer <Authentication_Token>
The following is an example of a JSON for creating a credential account for a server running Windows.
Request body:
{
"id": null,
"name": "<name_of_account>",
"uiDeviceType": "Server / Hypervisor",
"deviceSubTypeEnum":"Windows",
"deviceFamilyTypeEnum": null,
"protocols":
[
{
"protocolType": "WMI",
"credential" : {
"username": "<device_username>",
"password": "<device_password>
}
}
]
}
Response format (success – response code 201):
{