Wiki source code of Client Commands
Last modified by Steffi F on 2025/06/16 05:53
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{aagon.floatingbox/}} | ||
2 | |||
3 | = Client Command einreihen = | ||
4 | |||
5 | Dieses Command reiht für einen bestimmten Client ein bestimmtes Client Command ein. Der Client kann entweder über seine ClientId oder über ComputerName und ComputerFQDN identifiziert werden. Die Identifizierung des Client Commands erfolgt über seine Id. | ||
6 | |||
7 | Existieren von diesem Client Command mehrere Versionen, wird die höchste freigegebene und technisch verfügbare Version genommen. | ||
8 | |||
9 | {{apimacro title="EnqueueClientCommand Request"}} | ||
10 | {{{<ICQL> | ||
11 | <ACMP> | ||
12 | <EnqueueClientCommand version="1"> | ||
13 | <TEnqueueClientCommandRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
14 | <ClientId></ClientId> | ||
15 | <DomainFQDN>aagon.local</DomainFQDN> | ||
16 | <ComputerName>3-desgli-w81</ComputerName> | ||
17 | <ClientCommandId>{B03D2CCD-ADC1-4B9D-BDB8-87564B94030C}</ClientCommandId> | ||
18 | <Variables> | ||
19 | <TClientCommandVariable_V1> | ||
20 | <Name>Name</Name> | ||
21 | <Value>Value</Value> | ||
22 | </TClientCommandVariable_V1> | ||
23 | <TClientCommandVariable_V1> | ||
24 | <Name>Name</Name> | ||
25 | <Value>Value</Value> | ||
26 | </TClientCommandVariable_V1> | ||
27 | </Variables> | ||
28 | </TEnqueueClientCommandRequest_V1> | ||
29 | </EnqueueClientCommand> | ||
30 | </ACMP> | ||
31 | </ICQL>}}} | ||
32 | {{/apimacro}} | ||
33 | |||
34 | {{apimacro title="EnqueueClientCommand Response"}} | ||
35 | {{{<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/EnqueueClientCommandResponse_V1"> | ||
36 | <ACMP> | ||
37 | <EnqueueClientCommand ActionType="Response" version="1"> | ||
38 | <TEnqueueClientCommandResponse_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
39 | <ErrorCode>0</ErrorCode> | ||
40 | <ResultCode>0</ResultCode> | ||
41 | <ResultMessage>ResultMessage</ResultMessage> | ||
42 | </TEnqueueClientCommandResponse_V1> | ||
43 | </EnqueueClientCommand> | ||
44 | </ACMP> | ||
45 | </ICQL>}}} | ||
46 | {{/apimacro}} | ||
47 | |||
48 | = Client Command Liste auslesen = | ||
49 | |||
50 | Dieses Command liest von Client Commands mit der jeweils aktuellsten Version und dem Status "Released" und "Distributing/Released" aus. Ausgegeben wird die ClientCommand ID, Name, Ordnerpfad, Version und Status. | ||
51 | |||
52 | {{apimacro title="GetClientCommandList Request"}} | ||
53 | {{{<ICQL> | ||
54 | <ACMP> | ||
55 | <GetClientCommandList version="1"> | ||
56 | <TGetClientCommandListRequest_V1 /> | ||
57 | </GetClientCommandList> | ||
58 | </ACMP> | ||
59 | </ICQL>}}} | ||
60 | {{/apimacro}} | ||
61 | |||
62 | {{apimacro title="GetClientCommandList Response"}} | ||
63 | {{{<ICQL> | ||
64 | <ACMP> | ||
65 | <GetClientCommandList version="1"> | ||
66 | <TGetClientCommandListResponse_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
67 | <ClientCommands> | ||
68 | <TClientCommand_V1 xsi:type="TClientCommand_V1"> | ||
69 | <Id>Id</Id> | ||
70 | <Name>Name</Name> | ||
71 | <FolderPath>FolderPath</FolderPath> | ||
72 | <State>State</State> | ||
73 | <Version>Version</Version> | ||
74 | </TClientCommand_V1> | ||
75 | <TClientCommand_V1 xsi:type="TClientCommand_V1"> | ||
76 | <Id>Id</Id> | ||
77 | <Name>Name</Name> | ||
78 | <FolderPath>FolderPath</FolderPath> | ||
79 | <State>State</State> | ||
80 | <Version>Version</Version> | ||
81 | </TClientCommand_V1> | ||
82 | </ClientCommands> | ||
83 | </TGetClientCommandListResponse_V1> | ||
84 | </GetClientCommandList> | ||
85 | </ACMP> | ||
86 | </ICQL>}}} | ||
87 | {{/apimacro}} | ||
88 | |||
89 |