logs/logFiles/download

API Name

logs/logFiles/download

Description

Downloads the passed log file if logged in user has right access.

REST Methods

POST

Precondition

Server Manager Console must be running.

Permission

webProductLogInstance

Input Params

instanceName: The Managed Instance Name.

jdeHome: The Install Location of the Managed Home.

agentHostName: The Hostname of the Machine where the Managed Home Resides.

Sample Request

curl --location 'http://phoenix175736.appsdev0.fusionappsdphx1.oraclevcn.com:7101/manage/mgmtrestservice/logs/logFiles/download?instanceName=Html&agentHostName=phoenix175736.appsdev0.fusionappsdphx1.oraclevcn.com&jdeHome=C%3A%5Cwork%5Cinstall%5CSMA%5CSCFHA' \ --header 'Content-Type: application/json' \ --header 'Authorization: Basic SkRFOkpERQ==' \ --header 'Cookie: SMCONSOLE_SSID=73ANjwPC5aSX1sp5pE0e30VfVXJRRS-JJpuQNViGsesx7DeQhg0p!-964259346' \ --data '{ "logFiles":[ "C:\\work\\install\\SMA\\SCFHA\\targets\\Html\\logs\\jde_JDE_20240228_0.log", "C:\\work\\install\\SMA\\SCFHA\\targets\\Html\\logs\\jde_JDE_20240304_0.log" ] }'

Return

HTTP status 200 is returned.

Sample Response

Exception

Throws an exception if the operation fails for any reason.