uploadcomponent

API Name

uploadcomponent

Description

Uploads software components to the Server Manager Console.

REST Methods

PUT

Precondition

Input Params

file (file to be uploaded to the Server Manager Console.)

Sample Request

curl -X PUT -H "TOKEN: 044FLzIuXTUDhoZt9qoxx2YKAh0jzBvyCPLTfMWCWm9xaA=MDA5MDM4MDEzamRlX2FkbWluZGhjcC1wdHAxLTEwLTE3Ny0xMzktODIuaWRjLm9yYWNsZS5jb20xMC4xNzcuMTM5LjgyMTQ3NDI3OTY4NDk3OQ==" -H "Cache-Control: no-cache" -H "Content-Type: multipart/form-data " -F "file=@" "https://jdesmc.example.com :8999/manage/mgmtrestservice/uploadcomponent"

Return

HTTP status 201 is returned.

Sample Response

Exception

Throws an exception if there is a problem while uploading the software component.