Wiki-Quellcode von Client Commands
Zuletzt geändert von Steffi F am 2025/10/29 12:56
Zeige letzte Bearbeiter
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{aagon.floatingbox/}} | ||
| 2 | |||
| 3 | = Client Command einreihen = | ||
| 4 | |||
| 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. | ||
| 7 | |||
| 8 | {{apimacro title="EnqueueClientCommand Request_V1"}} | ||
| 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></DomainFQDN> | ||
| 15 | <ComputerName></ComputerName> | ||
| 16 | <ClientCommandId></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_V1"}} | ||
| 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 | {{apimacro title="EnqueueClientCommand Request_V2"}} | ||
| 48 | <ICQL xmlns:xsi="http:~/~/www.w3.org/2001/XMLSchema-instance" xmlns="http:~/~/acmp.com/EnqueueClientCommandRequest_V2"> | ||
| 49 | <ACMP> | ||
| 50 | <EnqueueClientCommand ActionType="Request" version="2"> | ||
| 51 | <TEnqueueClientCommandRequest_V2 xmlns:xsi="http:~/~/www.w3.org/2001/XMLSchema-instance"> | ||
| 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"}} | ||
| 74 | <ICQL xmlns:xsi="http:~/~/www.w3.org/2001/XMLSchema-instance" xmlns="http:~/~/acmp.com/EnqueueClientCommandResponse_V2"> | ||
| 75 | <ACMP> | ||
| 76 | <EnqueueClientCommand ActionType="Response" version="2"> | ||
| 77 | <TEnqueueClientCommandResponse_V2 xmlns:xsi="http:~/~/www.w3.org/2001/XMLSchema-instance"> | ||
| 78 | <ResultCode>0</ResultCode> | ||
| 79 | <ResultMessage>ResultMessage</ResultMessage> | ||
| 80 | </TEnqueueClientCommandResponse_V2> | ||
| 81 | </EnqueueClientCommand> | ||
| 82 | </ACMP> | ||
| 83 | </ICQL> | ||
| 84 | {{/apimacro}} | ||
| 85 | |||
| 86 | = Client Command Liste auslesen = | ||
| 87 | |||
| 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. | ||
| 89 | |||
| 90 | {{apimacro title="GetClientCommandList Request"}} | ||
| 91 | {{{<ICQL> | ||
| 92 | <ACMP> | ||
| 93 | <GetClientCommandList version="1"> | ||
| 94 | <TGetClientCommandListRequest_V1 /> | ||
| 95 | </GetClientCommandList> | ||
| 96 | </ACMP> | ||
| 97 | </ICQL>}}} | ||
| 98 | {{/apimacro}} | ||
| 99 | |||
| 100 | {{apimacro title="GetClientCommandList Response"}} | ||
| 101 | {{{<ICQL> | ||
| 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> | ||
| 124 | </ICQL>}}} | ||
| 125 | {{/apimacro}} | ||
| 126 | |||
| 127 |

