Get Device Job Details

Look up one named job on a device, with patch-level results when it is a patch job.

The tool, jobname and jobtype arguments are all required, so this endpoint resolves one job you can already name rather than listing a device's jobs. Use Device Job Info to discover job names first.

This method is used to retrieve all the job details created for a host in a nested model.

Key NameMeaningMandatoryData Type
hostnameHostname of the device for which job details are requestedYesstring
accountnameName of the account associated with the deviceYesstring
toolTool used to filter job details (e.g., PM, CM)Yesstring
jobnameName of the job to retrieve detailed informationYesstring
jobtypeType of the job (e.g., Rem Job, IR, Automation Rule)Yesstring
Python SDK code

Install:

pip install secpod-saner-sdk

Call this endpoint:

from saner.cvem import CvemClient

client = CvemClient(
    api_key="<YOUR_API_KEY>",
    accountid="<YOUR_ACCOUNT_ID>",
    base_url="https://saner.secpod.com"
)

response=client.Device.getJobDetails(
    hostname="DemoHost",
    accountname="DemoAccount",
    tool="PM",
    jobname="DemoJobName",
    jobtype="DemoJobType"
)

print(response)
client.close()

Requires Python 3.9 or later.

Query Params
string
required

Account name used to identify the User

Body Params
request
object
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json