Wiki-Quellcode von Nachrichten

Version 50.1 von Steffi F am 2025/06/06 13:18

Zeige letzte Bearbeiter
1 {{aagon.floatingbox/}}
2
3 = APIMacro =
4
5 {{apimacro title="APIMacro"}}
6 {{code language="java" layout="LINENUMBERS"}}
7 Code
8 Code
9 Code
10 {{/code}}
11 {{/apimacro}}
12
13 = APIMacro 2 =
14
15 {{apimacro title="APIMacro"}}
16 {{code language="java" layout="LINENUMBERS"}}
17 Code
18 Code
19 Code
20 {{/code}}
21 {{/apimacro}}
22
23 Use Case Container Adapter
24
25 {{apimacro title="SaveContainers"}}
26 {{{<ICQL>
27 <ACMP>
28 <SaveContainers version="1">
29 <TSaveContainersRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
30 <Containers>
31 <TAcmpContainer_V1 xsi:type="TAcmpContainer_V1">
32 <Id>Id</Id>
33 <Name>Name</Name>
34 <Path>Path</Path>
35 <ParentId>ParentId</ParentId>
36 </TAcmpContainer_V1>
37 <TAcmpContainer_V1 xsi:type="TAcmpContainer_V1">
38 <Id>Id</Id>
39 <Name>Name</Name>
40 <Path>Path</Path>
41 <ParentId>ParentId</ParentId>
42 </TAcmpContainer_V1>
43 </Containers>
44 </TSaveContainersRequest_V1>
45 </SaveContainers>
46 </ACMP>
47 </ICQL>}}}
48 {{/apimacro}}
49
50 {{apimacro title="DeleteContainer Request"}}
51 {{{<ICQL>
52 <ACMP>
53 <DeleteContainers version="1">
54 <TDeleteContainersRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
55 <ContainerIds>
56 <string>Value 1</string>
57 <string>Value 2</string>
58 </ContainerIds>
59 </TDeleteContainersRequest_V1>
60 </DeleteContainers>
61 </ACMP>
62 </ICQL>}}}
63 {{/apimacro}}
64
65 {{apimacro title="DeleteContainer Response"}}
66 {{{<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/DeleteContainersResponse_V1">
67 <ACMP>
68 <DeleteContainers ActionType="Response" version="1">
69 <TDeleteContainersResponse_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
70 <ResultCode>0</ResultCode>
71 <ResultMessage>ResultMessage</ResultMessage>
72 </TDeleteContainersResponse_V1>
73 </DeleteContainers>
74 </ACMP>
75 </ICQL>}}}
76 {{/apimacro}}
77
78 {{apimacro title="Remove Computer from Container"}}
79 {{{<ICQL>
80 <ACMP>
81 <DeleteActiveDirectoryComputersInContainers version="1">
82 <TDeleteActiveDirectoryComputersInContainersRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
83 <ContainerPath>/dotnet.local/OU_A</ContainerPath>
84 <Items>
85 <TAcmpContainerItem_V1 xsi:type="TAcmpContainerItem_V1">
86 <ADObjectId>{643F4E58-AD28-4B3B-87CD-44F5A1188BCA}</ADObjectId>
87 <ComputerName>Computer1</ComputerName>
88 <DomainFQDN>dotnet.local</DomainFQDN>
89 </TAcmpContainerItem_V1>
90 </Items>
91 </TDeleteActiveDirectoryComputersInContainersRequest_V1>
92 </DeleteActiveDirectoryComputersInContainers>
93 </ACMP>
94 </ICQL>}}}
95 {{/apimacro}}
96
97 (% class="showhide-header" data-show-duration="$effectduration" data-show-effect="$effect" %)
98 (((
99 (% class="showhide-header-flex" %)
100 (((
101 (% class="showhide-title" %)
102 (((
103 UpdateActiveDirectoryComputerInContainers
104 )))
105
106 (% class="showhide-arrow" %)
107 (((
108
109 )))
110 )))
111 )))
112
113 (% class="showhidecontent" style="display: none;" %)
114 (((
115 <ICQL>
116 <ACMP>
117 <UpdateActiveDirectoryComputerInContainers version="1">
118 <TUpdateActiveDirectoryComputerInContainersRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
119 <Items>
120 <TAcmpContainerItem_V1 xsi:type="TAcmpContainerItem_V1">
121 <ContainerId>ContainerId</ContainerId>
122 <ADObjectId>ADObjectId</ADObjectId>
123 <ComputerName>ComputerName</ComputerName>
124 <DomainFQDN>DomainFQDN</DomainFQDN>
125 </TAcmpContainerItem_V1>
126 <TAcmpContainerItem_V1 xsi:type="TAcmpContainerItem_V1">
127 <ContainerId>ContainerId</ContainerId>
128 <ADObjectId>ADObjectId</ADObjectId>
129 <ComputerName>ComputerName</ComputerName>
130 <DomainFQDN>DomainFQDN</DomainFQDN>
131 </TAcmpContainerItem_V1>
132 </Items>
133 </TUpdateActiveDirectoryComputerInContainersRequest_V1>
134 </UpdateActiveDirectoryComputerInContainers>
135 </ACMP>
136 </ICQL>
137 )))
138
139 Use Case Contacts Adapter
140
141 {{apimacro title="SaveContacts (Request) V1"}}
142 {{{<ICQL>
143 <ACMP>
144 <SaveContacts version="1">
145 <TSaveContactsRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
146 <Contacts>
147 <TContact_V1 xsi:type="TContact_V1">
148 <! Pflichtfeld >
149 <ADobjectId>ADobjectId</ADobjectId>
150 <FirstName>Jane</FirstName>
151 <LastName>LastName</LastName>
152 <Titles>Titles</Titles>
153 <Phone>Phone</Phone>
154 <Phone2>Phone2</Phone2>
155 <Phone3>Phone3</Phone3>
156 <Phone4>Phone4</Phone4>
157 <Fax>Fax</Fax>
158 <EMail>EMail</EMail>
159 <DepartmentName>DepartmentName</DepartmentName>
160 <CostCenterName>CostCenterName</CostCenterName>
161 <CompanyName>CompanyName</CompanyName>
162 <LocationName>LocationName</LocationName>
163 <Address>Address</Address>
164 <ZipCode>ZipCode</ZipCode>
165 <City>City</City>
166 <Country>Country</Country>
167 <Position>Position</Position>
168 </TContact_V1>
169 <TContact_V1 xsi:type="TContact_V1">
170 <! Pflichtfeld >
171 <ADobjectId>ADobjectId</ADobjectId>
172 <FirstName>Jane</FirstName>
173 <LastName>LastName</LastName>
174 <Titles>Titles</Titles>
175 <Phone>Phone</Phone>
176 <Phone2>Phone2</Phone2>
177 <Phone3>Phone3</Phone3>
178 <Phone4>Phone4</Phone4>
179 <Fax>Fax</Fax>
180 <EMail>EMail</EMail>
181 <DepartmentName>DepartmentName</DepartmentName>
182 <CostCenterName>CostCenterName</CostCenterName>
183 <CompanyName>CompanyName</CompanyName>
184 <LocationName>LocationName</LocationName>
185 <Address>Address</Address>
186 <ZipCode>ZipCode</ZipCode>
187 <City>City</City>
188 <Country>Country</Country>
189 <Position>Position</Position>
190 </TContact_V1>
191 </Contacts>
192 </TSaveContactsRequest_V1>
193 </SaveContacts>
194 </ACMP>
195 </ICQL>}}}
196 {{/apimacro}}
197
198 {{apimacro title="SaveContacts (Response) V1"}}
199 {{{<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
200 <ACMP>
201 <SaveContacts>
202 <TSaveContactsResponse_V1>
203 <ADObjectIds>
204 <string>AdObjectId1</string>
205 <string>AdObjectId2</string>
206 </ADObjectIds>
207 <ContactIds>
208 <string>ContactId1</string>
209 <string>ContactId2</string>
210 </ContactIds>
211 </TSaveContactsResponse_V1>
212 </SaveContacts>
213 </ACMP>
214 </ICQL>}}}
215 {{/apimacro}}
216
217 {{apimacro title="DeleteContactsByAdObjectIds Response"}}
218 {{{<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/DeleteContactsByAdObjectIdsResponse_V1">
219 <ACMP>
220 <DeleteContactsByAdObjectIds ActionType="Response" version="1">
221 <TDeleteContactsByAdObjectIdsResponse_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
222 <ResultCode>0</ResultCode>
223 <ResultMessage>ResultMessage</ResultMessage>
224 </TDeleteContactsByAdObjectIdsResponse_V1>
225 </DeleteContactsByAdObjectIds>
226 </ACMP>
227 </ICQL>}}}
228 {{/apimacro}}
229
230 {{apimacro title="DeleteContact (by RequesterID)"}}
231 {{{<ICQL>
232 <ACMP>
233 <SaveContacts>
234 <TSaveContactsRequest>
235 <Contacts xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
236 <TContact xsi:type="TContact">
237 <Action>eaDelete</Action>
238 <RequesterId>{D7F8B505-9FEF-4F62-98C8-129643783EFC}</RequesterId>
239 </TContact>
240 </Contacts>
241 </TSaveContactsRequest>
242 </SaveContacts>
243 </ACMP>
244 </ICQL>}}}
245 {{/apimacro}}
246
247 {{apimacro title="DisableContactsByAdObjectIds Request"}}
248 {{{<ICQL>
249 <ACMP>
250 <DisableContactsByAdObjectIds version="1">
251 <TDisableContactsByAdObjectIdsRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
252 <ADObjectIds>
253 <string>Value 1</string>
254 <string>Value 2</string>
255 </ADObjectIds>
256 </TDisableContactsByAdObjectIdsRequest_V1>
257 </DisableContactsByAdObjectIds>
258 </ACMP>
259 </ICQL>}}}
260 {{/apimacro}}
261
262 {{apimacro title="DisableContactsByAdObjectIds Response"}}
263 {{{<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/DisableContactsByAdObjectIdsResponse_V1">
264 <ACMP>
265 <DisableContactsByAdObjectIds ActionType="Response" version="1">
266 <TDisableContactsByAdObjectIdsResponse_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
267 <ResultCode>0</ResultCode>
268 <ResultMessage>ResultMessage</ResultMessage>
269 </TDisableContactsByAdObjectIdsResponse_V1>
270 </DisableContactsByAdObjectIds>
271 </ACMP>
272 </ICQL>}}}
273 {{/apimacro}}
© Aagon GmbH 2025
Besuchen Sie unsere Aagon-Community