Wiki-Quellcode von Nachrichten

Version 44.1 von Steffi F am 2025/06/06 07:15

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
218
219 {{apimacro title="DeleteContactsByAdObjectIds Response"}}
220 <ICQL xmlns:xsi="http:~/~/www.w3.org/2001/XMLSchema-instance" xmlns="http:~/~/acmp.com/DeleteContactsByAdObjectIdsResponse_V1">
221 <ACMP>
222 <DeleteContactsByAdObjectIds ActionType="Response" version="1">
223 <TDeleteContactsByAdObjectIdsResponse_V1 xmlns:xsi="http:~/~/www.w3.org/2001/XMLSchema-instance">
224 <ResultCode>0</ResultCode>
225 <ResultMessage>ResultMessage</ResultMessage>
226 </TDeleteContactsByAdObjectIdsResponse_V1>
227 </DeleteContactsByAdObjectIds>
228 </ACMP>
229 </ICQL>
230 {{/apimacro}}
231
232 {{apimacro title="DeleteContact (by RequesterID)"}}
233 <ICQL>
234 <ACMP>
235 <SaveContacts>
236 <TSaveContactsRequest>
237 <Contacts xmlns:xsi="http:~/~/www.w3.org/2001/XMLSchema-instance">
238 <TContact xsi:type="TContact">
239 <Action>eaDelete</Action>
240 <RequesterId>{D7F8B505-9FEF-4F62-98C8-129643783EFC}</RequesterId>
241 </TContact>
242 </Contacts>
243 </TSaveContactsRequest>
244 </SaveContacts>
245 </ACMP>
246 </ICQL>
247 {{/apimacro}}
248
249 {{apimacro title="DisableContactsByAdObjectIds Request"}}
250 <ICQL>
251 <ACMP>
252 <DisableContactsByAdObjectIds version="1">
253 <TDisableContactsByAdObjectIdsRequest_V1 xmlns:xsi="http:~/~/www.w3.org/2001/XMLSchema-instance">
254 <ADObjectIds>
255 <string>Value 1</string>
256 <string>Value 2</string>
257 </ADObjectIds>
258 </TDisableContactsByAdObjectIdsRequest_V1>
259 </DisableContactsByAdObjectIds>
260 </ACMP>
261 </ICQL>
262 {{/apimacro}}
263
264 {{apimacro title="DisableContactsByAdObjectIds Response"}}
265 <ICQL xmlns:xsi="http:~/~/www.w3.org/2001/XMLSchema-instance" xmlns="http:~/~/acmp.com/DisableContactsByAdObjectIdsResponse_V1">
266 <ACMP>
267 <DisableContactsByAdObjectIds ActionType="Response" version="1">
268 <TDisableContactsByAdObjectIdsResponse_V1 xmlns:xsi="http:~/~/www.w3.org/2001/XMLSchema-instance">
269 <ResultCode>0</ResultCode>
270 <ResultMessage>ResultMessage</ResultMessage>
271 </TDisableContactsByAdObjectIdsResponse_V1>
272 </DisableContactsByAdObjectIds>
273 </ACMP>
274 </ICQL>
275 {{/apimacro}}
276
277 fhd
© Aagon GmbH 2025
Besuchen Sie unsere Aagon-Community