API Guide

{
"Key":"operationName",
"Value":"SERVER_DIAGNOSTIC"
},
{
"Key":"OPERATION_NAME",
"Value":"SERVER_DIAGNOSTIC"
},
{
"Key":"ShareType",
"Value":"2"
},
{
"Key":"RunMode",
"Value":"0"
},
{
"Key":"RebootJobType",
"Value":"2"
},
{
"Key":"ScheduledStartTime",
"Value":"TIME_NOW"
}
],
"Targets":
[
{
"Id":3714,
"Data":"",
"TargetType":
{
"Id":3714,
"Name":"SERVER"
}
}
]
}
/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 Response
Body
"value":
[
{
"@odata.type": "#TroubleshootService.FileResponseModel",
"DeviceId": 25085,
"DeviceOperation": "SERVER_EXECUTE_TSR",
"JobId": 0,
"FileName": "TSR.zip",
516 APIs specific to OpenManage Enterprise