Wiki-Quellcode von Client Commands
Zuletzt geändert von Steffi F am 2025/10/29 12:56
Verstecke letzte Bearbeiter
| author | version | line-number | content |
|---|---|---|---|
| |
4.1 | 1 | {{aagon.floatingbox/}} |
| 2 | |||
| |
8.1 | 3 | = Client Command einreihen = |
| |
4.1 | 4 | |
| |
8.1 | 5 | Dieser Befehl stellt einen bestimmten Clientbefehl für einen bestimmten Client in die Warteschlange. Der Client kann entweder anhand seiner Client-ID oder anhand von „ComputerName“ und „ComputerFQDN“ identifiziert werden. Der Clientbefehl wird anhand seiner ID identifiziert. |
| 6 | Wenn mehrere Versionen dieses Clientbefehls vorhanden sind, wird die höchste veröffentlichte und technisch verfügbare Version verwendet. | ||
| |
4.1 | 7 | |
| |
10.1 | 8 | {{apimacro title="EnqueueClientCommand Request_V1"}} |
| |
5.1 | 9 | {{{<ICQL> |
| |
4.1 | 10 | <ACMP> |
| 11 | <EnqueueClientCommand version="1"> | ||
| 12 | <TEnqueueClientCommandRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
| 13 | <ClientId></ClientId> | ||
| |
9.1 | 14 | <DomainFQDN></DomainFQDN> |
| 15 | <ComputerName></ComputerName> | ||
| 16 | <ClientCommandId></ClientCommandId> | ||
| |
4.1 | 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> | ||
| |
5.1 | 30 | </ICQL>}}} |
| |
4.1 | 31 | {{/apimacro}} |
| 32 | |||
| |
10.1 | 33 | {{apimacro title="EnqueueClientCommand Response_V1"}} |
| |
5.1 | 34 | {{{<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/EnqueueClientCommandResponse_V1"> |
| |
4.1 | 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> | ||
| |
5.1 | 44 | </ICQL>}}} |
| |
4.1 | 45 | {{/apimacro}} |
| 46 | |||
| |
10.1 | 47 | {{apimacro title="EnqueueClientCommand Request_V2"}} |
| |
11.1 | 48 | <ICQL xmlns:xsi="http:~/~/www.w3.org/2001/XMLSchema-instance" xmlns="http:~/~/acmp.com/EnqueueClientCommandRequest_V2"> |
| |
10.1 | 49 | <ACMP> |
| 50 | <EnqueueClientCommand ActionType="Request" version="2"> | ||
| |
11.1 | 51 | <TEnqueueClientCommandRequest_V2 xmlns:xsi="http:~/~/www.w3.org/2001/XMLSchema-instance"> |
| |
10.1 | 52 | <ClientId>{59387FFD-B171-47C5-B735-041FA132CA39}</ClientId> |
| 53 | <DomainFQDN>DomainFQDN</DomainFQDN> | ||
| 54 | <ComputerName>ComputerName</ComputerName> | ||
| 55 | <ClientCommandId>{59387FFD-B171-47C5-B735-041FA132CA39}</ClientCommandId> | ||
| 56 | <Variables> | ||
| 57 | <TClientCommandVariable_V1 xsi:type="TClientCommandVariable_V1"> | ||
| 58 | <Name>Name</Name> | ||
| 59 | <Value>Value</Value> | ||
| 60 | </TClientCommandVariable_V1> | ||
| 61 | <TClientCommandVariable_V1 xsi:type="TClientCommandVariable_V1"> | ||
| 62 | <Name>Name</Name> | ||
| 63 | <Value>Value</Value> | ||
| 64 | </TClientCommandVariable_V1> | ||
| 65 | </Variables> | ||
| 66 | <CanIgnoreMaintenanceTimes>false</CanIgnoreMaintenanceTimes> | ||
| 67 | </TEnqueueClientCommandRequest_V2> | ||
| 68 | </EnqueueClientCommand> | ||
| 69 | </ACMP> | ||
| 70 | </ICQL> | ||
| 71 | {{/apimacro}} | ||
| 72 | |||
| 73 | {{apimacro title="EnqueueClientCommand Response_V2"}} | ||
| |
11.1 | 74 | <ICQL xmlns:xsi="http:~/~/www.w3.org/2001/XMLSchema-instance" xmlns="http:~/~/acmp.com/EnqueueClientCommandResponse_V2"> |
| |
10.1 | 75 | <ACMP> |
| 76 | <EnqueueClientCommand ActionType="Response" version="2"> | ||
| |
11.1 | 77 | <TEnqueueClientCommandResponse_V2 xmlns:xsi="http:~/~/www.w3.org/2001/XMLSchema-instance"> |
| |
10.1 | 78 | <ResultCode>0</ResultCode> |
| 79 | <ResultMessage>ResultMessage</ResultMessage> | ||
| 80 | </TEnqueueClientCommandResponse_V2> | ||
| 81 | </EnqueueClientCommand> | ||
| 82 | </ACMP> | ||
| 83 | </ICQL> | ||
| 84 | {{/apimacro}} | ||
| 85 | |||
| |
8.1 | 86 | = Client Command Liste auslesen = |
| |
4.1 | 87 | |
| |
8.1 | 88 | Dieses Command liest von ClientCommands mit der jeweils aktuellsten Version und dem Status "Released" und "Distributing/Released" aus. Ausgegeben wird die ClientCommand ID, Name, Ordnerpfad, Version und Status. |
| |
4.1 | 89 | |
| 90 | {{apimacro title="GetClientCommandList Request"}} | ||
| |
5.1 | 91 | {{{<ICQL> |
| |
4.1 | 92 | <ACMP> |
| 93 | <GetClientCommandList version="1"> | ||
| 94 | <TGetClientCommandListRequest_V1 /> | ||
| 95 | </GetClientCommandList> | ||
| 96 | </ACMP> | ||
| |
5.1 | 97 | </ICQL>}}} |
| |
4.1 | 98 | {{/apimacro}} |
| 99 | |||
| 100 | {{apimacro title="GetClientCommandList Response"}} | ||
| |
5.1 | 101 | {{{<ICQL> |
| |
4.1 | 102 | <ACMP> |
| 103 | <GetClientCommandList version="1"> | ||
| 104 | <TGetClientCommandListResponse_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
| 105 | <ClientCommands> | ||
| 106 | <TClientCommand_V1 xsi:type="TClientCommand_V1"> | ||
| 107 | <Id>Id</Id> | ||
| 108 | <Name>Name</Name> | ||
| 109 | <FolderPath>FolderPath</FolderPath> | ||
| 110 | <State>State</State> | ||
| 111 | <Version>Version</Version> | ||
| 112 | </TClientCommand_V1> | ||
| 113 | <TClientCommand_V1 xsi:type="TClientCommand_V1"> | ||
| 114 | <Id>Id</Id> | ||
| 115 | <Name>Name</Name> | ||
| 116 | <FolderPath>FolderPath</FolderPath> | ||
| 117 | <State>State</State> | ||
| 118 | <Version>Version</Version> | ||
| 119 | </TClientCommand_V1> | ||
| 120 | </ClientCommands> | ||
| 121 | </TGetClientCommandListResponse_V1> | ||
| 122 | </GetClientCommandList> | ||
| 123 | </ACMP> | ||
| |
5.1 | 124 | </ICQL>}}} |
| |
4.1 | 125 | {{/apimacro}} |
| 126 | |||
| 127 |

