Wiki-Quellcode von Client Commands
Zuletzt geändert von Steffi F am 2025/08/01 11:26
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"}} | ||
| 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"}} | ||
| 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 | = Client Command Liste auslesen = | ||
| 48 | |||
| 49 | 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. | ||
| 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 |

