This action is used to import System Configuration Preview.
Privilege: AccessVirtualConsole, AccessVirtualMedia, ClearLogs, ConfigureComponents, ConfigureManager, ConfigureUsers, ExecuteDebugCommands, Login, TestAlerts
NOTE: If the Job ID for this action is marked as completed, completed with errors, or failed, performing GET on below URI will return configuration results in JSON output.
redfish/v1/TaskService/Tasks/{SCP import job}
username:passwordAuthorization: Basic *****************X-Auth-Token: ********************curl --location '/redfish/v1/Managers//Actions/Oem/EID_674_Manager.ImportSystemConfigurationPreview' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data-raw '{
"ShareParameters": {
"FileName": "R660_scp.xml",
"IPAddress": "192.168.0.150",
"Password": "P@ssw0rd",
"ShareName": "cifs_scp_share",
"ShareType": "CIFS",
"Target": "ALL",
"UserName": "User1"
}
}'{
"error": {
"@Message.ExtendedInfo": [
{}
],
"code": "string",
"message": "string"
}
}