API Guide

/api/TroubleshootService/Files
This URI returns TechSupport Report (TSR) or diagnostic log files.
GET method for Files
This method returns TechSupport Report (TSR) or diagnostic log files.
Description Returns TechSupport Report (TSR) or diagnostic log files.
URI for TSR files—api/TroubleshootService/Files?$filter=DeviceId eq 25085 and DeviceOperation eq
'SERVER_EXECUTE_TSR'
URI for remote diagnostic files—api/TroubleshootService/Files?$filter=DeviceId eq 25085 and
DeviceOperation eq 'SERVER_DIAGNOSTIC'
Privilege VIEW
HTTP response
codes
200
Example
Output
"value":
[
{
"@odata.type": "#TroubleshootService.FileResponseModel",
"DeviceId": 25085,
"DeviceOperation": "SERVER_EXECUTE_TSR",
"JobId": 0,
"FileName": "TSR.zip",
"FilePath": "/shared/dell/omc/cifs/idrac/F3TPXK2/SERVER_EXECUTE_TSR/TSR/
TSR.zip"
}
]
Table 139. Attributes
Attribute Description
DeviceId Device ID of the output file.
DeviceOperation
'SERVER_DIAGNOSTIC' to retrieve diagnostic files
'SERVER_EXECUTE_TSR' to retrieve TSR files
/api/TroubleshootService/Actions/
TroubleshootService.GetTroubleshootDocument
This URI represents TSR/Diagnostic job reports.
POST method for TroubleshootService.GetTroubleshootDocument
This method extracts TSR/Diagnostic job reports.
Description
Extracts TSR/Diagnostic job reports.
Privilege JOB_MANAGEMENT, DEVICE_CONFIGURATION
HTTP response
codes
200
Example
Input:
{
"DeviceId":0,
"DeviceOperation":"",
"JobId":0,
360 APIs specific to OpenManage Enterprise