Wiki source code of Client Commands
Last modified by Steffi F on 2025/09/29 13:34
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{aagon.floatingbox/}} | ||
| 2 | |||
| 3 | = Queue Client Command = | ||
| 4 | |||
| 5 | This command queues a specific client command. The client can be identified by its client ID, or by "ComputerName" or "ComputerFQDN." The client command is identified by its ID. | ||
| 6 | If multiple versions of the command exist, the highest published, technically available version is used. | ||
| 7 | |||
| 8 | {{apimacro title="EnqueueClientCommand Request"}} | ||
| 9 | {{{<ICQL> | ||
| 10 | <ACMP> | ||
| 11 | <EnqueueClientCommand version="1"> | ||
| 12 | <TEnqueueClientCommandRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
| 13 | <ClientId></ClientId> | ||
| 14 | <DomainFQDN>aagon.local</DomainFQDN> | ||
| 15 | <ComputerName>3-desgli-w81</ComputerName> | ||
| 16 | <ClientCommandId>{B03D2CCD-ADC1-4B9D-BDB8-87564B94030C}</ClientCommandId> | ||
| 17 | <Variables> | ||
| 18 | <TClientCommandVariable_V1> | ||
| 19 | <Name>Name</Name> | ||
| 20 | <Value>Value</Value> | ||
| 21 | </TClientCommandVariable_V1> | ||
| 22 | <TClientCommandVariable_V1> | ||
| 23 | <Name>Name</Name> | ||
| 24 | <Value>Value</Value> | ||
| 25 | </TClientCommandVariable_V1> | ||
| 26 | </Variables> | ||
| 27 | </TEnqueueClientCommandRequest_V1> | ||
| 28 | </EnqueueClientCommand> | ||
| 29 | </ACMP> | ||
| 30 | </ICQL>}}} | ||
| 31 | {{/apimacro}} | ||
| 32 | |||
| 33 | {{apimacro title="EnqueueClientCommand Response"}} | ||
| 34 | {{{<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/EnqueueClientCommandResponse_V1"> | ||
| 35 | <ACMP> | ||
| 36 | <EnqueueClientCommand ActionType="Response" version="1"> | ||
| 37 | <TEnqueueClientCommandResponse_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
| 38 | <ErrorCode>0</ErrorCode> | ||
| 39 | <ResultCode>0</ResultCode> | ||
| 40 | <ResultMessage>ResultMessage</ResultMessage> | ||
| 41 | </TEnqueueClientCommandResponse_V1> | ||
| 42 | </EnqueueClientCommand> | ||
| 43 | </ACMP> | ||
| 44 | </ICQL>}}} | ||
| 45 | {{/apimacro}} | ||
| 46 | |||
| 47 | = Read out Client Command list = | ||
| 48 | |||
| 49 | This command reads Client Commands with the current version and status of "Released" or "Distributing/Released." It outputs the ClientCommand ID, name, folder path, version, and status. | ||
| 50 | |||
| 51 | {{apimacro title="GetClientCommandList Request"}} | ||
| 52 | {{{<ICQL> | ||
| 53 | <ACMP> | ||
| 54 | <GetClientCommandList version="1"> | ||
| 55 | <TGetClientCommandListRequest_V1 /> | ||
| 56 | </GetClientCommandList> | ||
| 57 | </ACMP> | ||
| 58 | </ICQL>}}} | ||
| 59 | {{/apimacro}} | ||
| 60 | |||
| 61 | {{apimacro title="GetClientCommandList Response"}} | ||
| 62 | {{{<ICQL> | ||
| 63 | <ACMP> | ||
| 64 | <GetClientCommandList version="1"> | ||
| 65 | <TGetClientCommandListResponse_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
| 66 | <ClientCommands> | ||
| 67 | <TClientCommand_V1 xsi:type="TClientCommand_V1"> | ||
| 68 | <Id>Id</Id> | ||
| 69 | <Name>Name</Name> | ||
| 70 | <FolderPath>FolderPath</FolderPath> | ||
| 71 | <State>State</State> | ||
| 72 | <Version>Version</Version> | ||
| 73 | </TClientCommand_V1> | ||
| 74 | <TClientCommand_V1 xsi:type="TClientCommand_V1"> | ||
| 75 | <Id>Id</Id> | ||
| 76 | <Name>Name</Name> | ||
| 77 | <FolderPath>FolderPath</FolderPath> | ||
| 78 | <State>State</State> | ||
| 79 | <Version>Version</Version> | ||
| 80 | </TClientCommand_V1> | ||
| 81 | </ClientCommands> | ||
| 82 | </TGetClientCommandListResponse_V1> | ||
| 83 | </GetClientCommandList> | ||
| 84 | </ACMP> | ||
| 85 | </ICQL>}}} | ||
| 86 | {{/apimacro}} | ||
| 87 | |||
| 88 |

