Jobs
Last modified by Steffi F on 2025/06/13 12:54
Content
Linux Agent
JobLinuxAdd Request
▶
<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/JobLinuxAddRequest_V1"> <ACMP> <JobLinuxAdd ActionType="Request" version="1"> <TJobLinuxAddRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <JobId>{59387FFD-B171-47C5-B735-041FA132CA39}</JobId> <JobName>JobName</JobName> <CreatorName>CreatorName</CreatorName> <ContainerPath>ContainerPath</ContainerPath> <ClientId>{59387FFD-B171-47C5-B735-041FA132CA39}</ClientId> <ContentId>{59387FFD-B171-47C5-B735-041FA132CA39}</ContentId> </TJobLinuxAddRequest_V1> </JobLinuxAdd> </ACMP> </ICQL>
JobLinuxAdd Response
▶
<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/JobLinuxAddResponse_V1"> <ACMP> <JobLinuxAdd ActionType="Response" version="1"> <TJobLinuxAddResponse_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ResultCode>0</ResultCode> <ResultMessage>ResultMessage</ResultMessage> </TJobLinuxAddResponse_V1> </JobLinuxAdd> </ACMP> </ICQL>
JobLinuxUpdate Request
▶
<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/JobLinuxUpdateRequest_V1"> <ACMP> <JobLinuxUpdate ActionType="Request" version="1"> <TJobLinuxUpdateRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <JobId>{59387FFD-B171-47C5-B735-041FA132CA39}</JobId> <ClientId>{59387FFD-B171-47C5-B735-041FA132CA39}</ClientId> <NewState>0</NewState> <Result>0</Result> </TJobLinuxUpdateRequest_V1> </JobLinuxUpdate> </ACMP> </ICQL>
JobLinuxUpdate Response
▶
<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/JobLinuxUpdateResponse_V1"> <ACMP> <JobLinuxUpdate ActionType="Response" version="1"> <TJobLinuxUpdateResponse_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ResultCode>0</ResultCode> <ResultMessage>ResultMessage</ResultMessage> </TJobLinuxUpdateResponse_V1> </JobLinuxUpdate> </ACMP> </ICQL>
JobLinuxExecResult Request
▶
<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/JobLinuxExecResultRequest_V1"> <ACMP> <JobLinuxExecResult ActionType="Request" version="1"> <TJobLinuxExecResultRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <JobId>{59387FFD-B171-47C5-B735-041FA132CA39}</JobId> <ClientId>{59387FFD-B171-47C5-B735-041FA132CA39}</ClientId> <XmlLogFile>XmlLogFile</XmlLogFile> <ExecResult>0</ExecResult> </TJobLinuxExecResultRequest_V1> </JobLinuxExecResult> </ACMP> </ICQL>
JobLinuxExecResult Response
▶
<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/JobLinuxExecResultResponse_V1"> <ACMP> <JobLinuxExecResult ActionType="Response" version="1"> <TJobLinuxExecResultResponse_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ResultCode>0</ResultCode> <ResultMessage>ResultMessage</ResultMessage> </TJobLinuxExecResultResponse_V1> </JobLinuxExecResult> </ACMP> </ICQL>
GetJobs Request
▶
<?xml version="1.0" encoding="utf-8"?> <ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/GetJobsRequest_V1"> <ACMP> <GetJobs ActionType="Request" version="1"> <TGetJobsRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <! JobTypes possible values: jtCCScript jtAgentTask jtClient jtWUM jtRolloutTemplate jtJobTemplate jtWumCollection jtManagedSoftware jtDefenderManagement jtGateway jtUnixScript > <JobTypes/> <ClientId>{59387FFD-B171-47C5-B735-041FA132CA39}</ClientId> </TGetJobsRequest_V1> </GetJobs> </ACMP> </ICQL>
GetJobs Response
▶
<?xml version="1.0" encoding="utf-8"?> <ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/GetJobsResponse_V1"> <ACMP> <GetJobs ActionType="Response" version="1"> <TGetJobsResponse_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Jobs> <TJob_V1 xsi:type="TJob_V1"> <Id>{59387FFD-B171-47C5-B735-041FA132CA39}</Id> <Name>Name</Name> <Description>Description</Description> <Priority>0</Priority> <Conditions> <TStartCondition_V1 xsi:type="TStartCondition_V1"> <Id>Id</Id> <ConditionType>coStartUp</ConditionType> <RunOnce>false</RunOnce> <Enabled>false</Enabled> <ReevaluateConditionBeforeRun>false</ReevaluateConditionBeforeRun> </TStartCondition_V1> <TStartCondition_V1 xsi:type="TStartCondition_V1"> <Id>Id</Id> <ConditionType>coStartUp</ConditionType> <RunOnce>false</RunOnce> <Enabled>false</Enabled> <ReevaluateConditionBeforeRun>false</ReevaluateConditionBeforeRun> </TStartCondition_V1> </Conditions> <JobAction/> <CanRunParallel>false</CanRunParallel> <ContentId>ContentId</ContentId> <JobKind>aiHDQuery</JobKind> <IsManualJob>false</IsManualJob> <Origin>joContainer</Origin> <ContainerId>{59387FFD-B171-47C5-B735-041FA132CA39}</ContainerId> </TJob_V1> <TJob_V1 xsi:type="TJob_V1"> <Id>{59387FFD-B171-47C5-B735-041FA132CA39}</Id> <Name>Name</Name> <Description>Description</Description> <Priority>0</Priority> <Conditions> <TStartCondition_V1 xsi:type="TStartCondition_V1"> <Id>Id</Id> <ConditionType>coStartUp</ConditionType> <RunOnce>false</RunOnce> <Enabled>false</Enabled> <ReevaluateConditionBeforeRun>false</ReevaluateConditionBeforeRun> </TStartCondition_V1> <TStartCondition_V1 xsi:type="TStartCondition_V1"> <Id>Id</Id> <ConditionType>coStartUp</ConditionType> <RunOnce>false</RunOnce> <Enabled>false</Enabled> <ReevaluateConditionBeforeRun>false</ReevaluateConditionBeforeRun> </TStartCondition_V1> </Conditions> <JobAction/> <CanRunParallel>false</CanRunParallel> <ContentId>ContentId</ContentId> <JobKind>aiHDQuery</JobKind> <IsManualJob>true</IsManualJob> <Origin>joPushed</Origin> <ContainerId/> </TJob_V1> </Jobs> <ResultCode>0</ResultCode> <ResultMessage>ResultMessage</ResultMessage> </TGetJobsResponse_V1> </GetJobs> </ACMP> </ICQL>
GetUnixScriptForExecution Request
▶
<?xml version="1.0" encoding="utf-8"?> <ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/GetUnixScriptForExecutionRequest_V1"> <ACMP> <GetUnixScriptForExecution ActionType="Request" version="1"> <TGetUnixScriptForExecutionRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ScriptId>{59387FFD-B171-47C5-B735-041FA132CA39}</ScriptId> <ContainerId>{59387FFD-B171-47C5-B735-041FA132CA39}</ContainerId> <TestRing>0</TestRing> <JobId>{59387FFD-B171-47C5-B735-041FA132CA39}</JobId> <JobExecId>{59387FFD-B171-47C5-B735-041FA132CA39}</JobExecId> </TGetUnixScriptForExecutionRequest_V1> </GetUnixScriptForExecution> </ACMP> </ICQL>
GetUnixScriptForExecution Response
▶
<?xml version="1.0" encoding="utf-8"?> <ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/GetUnixScriptForExecutionResponse_V1"> <ACMP> <GetUnixScriptForExecution ActionType="Response" version="1"> <TGetUnixScriptForExecutionResponse_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Content>Content</Content> <! ScriptInterpreter possible values: siBash siZsh > <ScriptInterpreter>siBash</ScriptInterpreter> <ResultCode>0</ResultCode> <ResultMessage>ResultMessage</ResultMessage> </TGetUnixScriptForExecutionResponse_V1> </GetUnixScriptForExecution> </ACMP> </ICQL>
Job Results
SaveJobExecState_V1 Request
▶
<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/SaveJobExecStateRequest_V1"> <ACMP> <SaveJobExecState ActionType="Request" version="1"> <TSaveJobExecStateRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <JobExecId>{59387FFD-B171-47C5-B735-041FA132CA39}</JobExecId> <! ExecState possible values: esSending esReceived esStarted esFinished esAborted esDelayed > <ExecState>esSending</ExecState> <! ExecResult possible values: jrNone jrSuccessful jrFailed jrSkipped jrNoLicense > <ExecResult>jrNone</ExecResult> <! Optional, some jobs uses constant GUIDs for ChildExecId > <ChildExecId>{59387FFD-B171-47C5-B735-041FA132CA39}</ChildExecId> <! Optional, only used for internal jobs > <MessageCode>0</MessageCode> <! Optional > <NativeMessage>NativeMessage</NativeMessage> </TSaveJobExecStateRequest_V1> </SaveJobExecState> </ACMP> </ICQL>
SaveJobExecState_V1 Response
▶
<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/SaveJobExecStateResponse_V1"> <ACMP> <SaveJobExecState ActionType="Response" version="1"> <TSaveJobExecStateResponse_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ResultCode>0</ResultCode> <ResultMessage>ResultMessage</ResultMessage> </TSaveJobExecStateResponse_V1> </SaveJobExecState> </ACMP> </ICQL>
SaveJobExecState_V2 Request
▶
<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/SaveJobExecStateRequest_V2"> <ACMP> <SaveJobExecState ActionType="Request" version="2"> <TSaveJobExecStateRequest_V2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <JobExecId>{59387FFD-B171-47C5-B735-041FA132CA39}</JobExecId> <! ExecState possible values: esSending esReceived esStarted esFinished esAborted esDelayed > <ExecState>esSending</ExecState> <! ExecResult possible values: jrNone jrSuccessful jrFailed jrSkipped jrNoLicense > <ExecResult>jrNone</ExecResult> <! Optional, some jobs uses constant GUIDs for ChildExecId > <ChildExecId>{59387FFD-B171-47C5-B735-041FA132CA39}</ChildExecId> <! Optional, only used for internal jobs > <MessageCode>0</MessageCode> <! Optional > <NativeMessage>NativeMessage</NativeMessage> <! Mandatory and should be a GUID > <JobId>{E3A3C524-7EEC-46DF-B72E-21267226ADAA}</JobId> </TSaveJobExecStateRequest_V2> </SaveJobExecState> </ACMP> </ICQL>
SaveJobExecState_V2 Response
▶
<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/SaveJobExecStateResponse_V2"> <ACMP> <SaveJobExecState ActionType="Response" version="2"> <TSaveJobExecStateResponse_V2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <! StartResult possible values: srAllowed srAborted > <StartResult>srAllowed</StartResult> <ResultCode>0</ResultCode> <ResultMessage>ResultMessage</ResultMessage> </TSaveJobExecStateResponse_V2> </SaveJobExecState> </ACMP> </ICQL>