Wiki-Quellcode von Nachrichten

Zuletzt geändert von Steffi F am 2025/10/13 11:22

Zeige letzte Bearbeiter
1 {{aagon.floatingbox/}}
2
3 = Container Adapter =
4
5 {{apimacro title="SaveContainers"}}
6 {{{<ICQL>
7 <ACMP>
8 <SaveContainers version="1">
9 <TSaveContainersRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
10 <Containers>
11 <TAcmpContainer_V1 xsi:type="TAcmpContainer_V1">
12 <Id>Id</Id>
13 <Name>Name</Name>
14 <Path>Path</Path>
15 <ParentId>ParentId</ParentId>
16 </TAcmpContainer_V1>
17 <TAcmpContainer_V1 xsi:type="TAcmpContainer_V1">
18 <Id>Id</Id>
19 <Name>Name</Name>
20 <Path>Path</Path>
21 <ParentId>ParentId</ParentId>
22 </TAcmpContainer_V1>
23 </Containers>
24 </TSaveContainersRequest_V1>
25 </SaveContainers>
26 </ACMP>
27 </ICQL>}}}
28 {{/apimacro}}
29
30 {{apimacro title="DeleteContainer_V1 Request"}}
31 {{{<ICQL>
32 <ACMP>
33 <DeleteContainers version="1">
34 <TDeleteContainersRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
35 <ContainerIds>
36 <string>Value 1</string>
37 <string>Value 2</string>
38 </ContainerIds>
39 </TDeleteContainersRequest_V1>
40 </DeleteContainers>
41 </ACMP>
42 </ICQL>}}}
43 {{/apimacro}}
44
45 {{apimacro title="DeleteContainer_V1 Response"}}
46 {{{<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/DeleteContainersResponse_V1">
47 <ACMP>
48 <DeleteContainers ActionType="Response" version="1">
49 <TDeleteContainersResponse_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
50 <ResultCode>0</ResultCode>
51 <ResultMessage>ResultMessage</ResultMessage>
52 </TDeleteContainersResponse_V1>
53 </DeleteContainers>
54 </ACMP>
55 </ICQL>}}}
56 {{/apimacro}}
57
58 {{apimacro title="DeleteActiveDiretoryComputersInContainers_V1"}}
59 {{{<ICQL>
60 <ACMP>
61 <DeleteActiveDirectoryComputersInContainers version="1">
62 <TDeleteActiveDirectoryComputersInContainersRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
63 <ContainerPath>/dotnet.local/OU_A</ContainerPath>
64 <Items>
65 <TAcmpContainerItem_V1 xsi:type="TAcmpContainerItem_V1">
66 <ADObjectId>{643F4E58-AD28-4B3B-87CD-44F5A1188BCA}</ADObjectId>
67 <ComputerName>Computer1</ComputerName>
68 <DomainFQDN>dotnet.local</DomainFQDN>
69 </TAcmpContainerItem_V1>
70 </Items>
71 </TDeleteActiveDirectoryComputersInContainersRequest_V1>
72 </DeleteActiveDirectoryComputersInContainers>
73 </ACMP>
74 </ICQL>}}}
75 {{/apimacro}}
76
77 (% class="showhide-header" data-show-duration="$effectduration" data-show-effect="$effect" %)
78 (((
79 (% class="showhide-header-flex" %)
80 (((
81 (% class="showhide-title" %)
82 (((
83 UpdateActiveDirectoryComputerInContainers
84 )))
85
86 (% class="showhide-arrow" %)
87 (((
88
89 )))
90 )))
91 )))
92
93 (% class="showhidecontent" style="display: none;" %)
94 (((
95 <ICQL>
96 <ACMP>
97 <UpdateActiveDirectoryComputerInContainers version="1">
98 <TUpdateActiveDirectoryComputerInContainersRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
99 <Items>
100 <TAcmpContainerItem_V1 xsi:type="TAcmpContainerItem_V1">
101 <ContainerId>ContainerId</ContainerId>
102 <ADObjectId>ADObjectId</ADObjectId>
103 <ComputerName>ComputerName</ComputerName>
104 <DomainFQDN>DomainFQDN</DomainFQDN>
105 </TAcmpContainerItem_V1>
106 <TAcmpContainerItem_V1 xsi:type="TAcmpContainerItem_V1">
107 <ContainerId>ContainerId</ContainerId>
108 <ADObjectId>ADObjectId</ADObjectId>
109 <ComputerName>ComputerName</ComputerName>
110 <DomainFQDN>DomainFQDN</DomainFQDN>
111 </TAcmpContainerItem_V1>
112 </Items>
113 </TUpdateActiveDirectoryComputerInContainersRequest_V1>
114 </UpdateActiveDirectoryComputerInContainers>
115 </ACMP>
116 </ICQL>
117 )))
118
119 = Contacts Adapter =
120
121 {{apimacro title="SaveContacts (Request) V1"}}
122 {{{<ICQL>
123 <ACMP>
124 <SaveContacts version="1">
125 <TSaveContactsRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
126 <Contacts>
127 <TContact_V1 xsi:type="TContact_V1">
128 <! Pflichtfeld >
129 <ADobjectId>ADobjectId</ADobjectId>
130 <FirstName>Jane</FirstName>
131 <LastName>LastName</LastName>
132 <Titles>Titles</Titles>
133 <Phone>Phone</Phone>
134 <Phone2>Phone2</Phone2>
135 <Phone3>Phone3</Phone3>
136 <Phone4>Phone4</Phone4>
137 <Fax>Fax</Fax>
138 <EMail>EMail</EMail>
139 <DepartmentName>DepartmentName</DepartmentName>
140 <CostCenterName>CostCenterName</CostCenterName>
141 <CompanyName>CompanyName</CompanyName>
142 <LocationName>LocationName</LocationName>
143 <Address>Address</Address>
144 <ZipCode>ZipCode</ZipCode>
145 <City>City</City>
146 <Country>Country</Country>
147 <Position>Position</Position>
148 </TContact_V1>
149 <TContact_V1 xsi:type="TContact_V1">
150 <! Pflichtfeld >
151 <ADobjectId>ADobjectId</ADobjectId>
152 <FirstName>Jane</FirstName>
153 <LastName>LastName</LastName>
154 <Titles>Titles</Titles>
155 <Phone>Phone</Phone>
156 <Phone2>Phone2</Phone2>
157 <Phone3>Phone3</Phone3>
158 <Phone4>Phone4</Phone4>
159 <Fax>Fax</Fax>
160 <EMail>EMail</EMail>
161 <DepartmentName>DepartmentName</DepartmentName>
162 <CostCenterName>CostCenterName</CostCenterName>
163 <CompanyName>CompanyName</CompanyName>
164 <LocationName>LocationName</LocationName>
165 <Address>Address</Address>
166 <ZipCode>ZipCode</ZipCode>
167 <City>City</City>
168 <Country>Country</Country>
169 <Position>Position</Position>
170 </TContact_V1>
171 </Contacts>
172 </TSaveContactsRequest_V1>
173 </SaveContacts>
174 </ACMP>
175 </ICQL>}}}
176 {{/apimacro}}
177
178 {{apimacro title="SaveContacts (Response) V1"}}
179 {{{<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
180 <ACMP>
181 <SaveContacts>
182 <TSaveContactsResponse_V1>
183 <ADObjectIds>
184 <string>AdObjectId1</string>
185 <string>AdObjectId2</string>
186 </ADObjectIds>
187 <ContactIds>
188 <string>ContactId1</string>
189 <string>ContactId2</string>
190 </ContactIds>
191 </TSaveContactsResponse_V1>
192 </SaveContacts>
193 </ACMP>
194 </ICQL>}}}
195 {{/apimacro}}
196
197 {{apimacro title="ImportContacts_V1 Request"}}
198 <ICQL xmlns:xsi="http:~/~/www.w3.org/2001/XMLSchema-instance" xmlns="http:~/~/acmp.com/ImportContactsRequest_V1">
199 <ACMP>
200 <ImportContacts ActionType="Request" version="1">
201 <TImportContactsRequest_V1 xmlns:xsi="http:~/~/www.w3.org/2001/XMLSchema-instance">
202 <Contacts>
203 <TContact_V4 xsi:type="TContact_V4">
204 <ID>{59387FFD-B171-47C5-B735-041FA132CA39}</ID>
205 <Titles>Titles</Titles>
206 <Name>Name</Name>
207 <FamilyName>FamilyName</FamilyName>
208 <Phone>Phone</Phone>
209 <Phone2>Phone2</Phone2>
210 <Phone3>Phone3</Phone3>
211 <Phone4>Phone4</Phone4>
212 <Fax>Fax</Fax>
213 <Email>Email</Email>
214 <PreferredContactMethod>pcPhone</PreferredContactMethod>
215 <!
216 Either use the Id properties (e.g. DepartmentId) to link master data to the contact,
217 or use the Name properties (e.g. DepartmentName) to link an existing master data or create a new one if it doesn't exist
218 \\ <DepartmentId>{59387FFD-B171-47C5-B735-041FA132CA39}</DepartmentId>
219 <CompanyId>{59387FFD-B171-47C5-B735-041FA132CA39}</CompanyId>
220 <CostCenterId>{59387FFD-B171-47C5-B735-041FA132CA39}</CostCenterId>
221 <LocationId>{59387FFD-B171-47C5-B735-041FA132CA39}</LocationId>
222 >
223 <DepartmentName>DepartmentName</DepartmentName>
224 <CostCenterName>CostCenterName</CostCenterName>
225 <CompanyName>CompanyName</CompanyName>
226 <LocationName>LocationName</LocationName>
227 <HTMLComment>HTMLComment</HTMLComment>
228 <ContactSpecificValue>ContactSpecificValue</ContactSpecificValue>
229 <Address>Address</Address>
230 <Zipcode>Zipcode</Zipcode>
231 <City>City</City>
232 <Country>Country</Country>
233 <Position>Position</Position>
234 <FullName>FullName</FullName>
235 <ADObjectGuid>{59387FFD-B171-47C5-B735-041FA132CA39}</ADObjectGuid>
236 <UserPrincipalName>UserPrincipalName</UserPrincipalName>
237 <SID>SID</SID>
238 <SingleFieldValues>
239 <TCustomFieldValue_V1 xsi:type="TCustomFieldValue_V1">
240 <FieldId>{59387FFD-B171-47C5-B735-041FA132CA39}</FieldId>
241 <Value>Value</Value>
242 </TCustomFieldValue_V1>
243 <TCustomFieldValue_V1 xsi:type="TCustomFieldValue_V1">
244 <FieldId>{59387FFD-B171-47C5-B735-041FA132CA39}</FieldId>
245 <Value>Value</Value>
246 </TCustomFieldValue_V1>
247 </SingleFieldValues>
248 </TContact_V4>
249 <TContact_V4 xsi:type="TContact_V4">
250 <ID>{59387FFD-B171-47C5-B735-041FA132CA39}</ID>
251 <Titles>Titles</Titles>
252 <Name>Name</Name>
253 <FamilyName>FamilyName</FamilyName>
254 <Phone>Phone</Phone>
255 <Phone2>Phone2</Phone2>
256 <Phone3>Phone3</Phone3>
257 <Phone4>Phone4</Phone4>
258 <Fax>Fax</Fax>
259 <Email>Email</Email>
260 <PreferredContactMethod>pcPhone</PreferredContactMethod>
261 <!
262 Either use the Id properties (e.g. DepartmentId) to link master data to the contact,
263 or use the Name properties (e.g. DepartmentName) to link an existing master data or create a new one if it doesn't exist
264 \\ <DepartmentId>{59387FFD-B171-47C5-B735-041FA132CA39}</DepartmentId>
265 <CompanyId>{59387FFD-B171-47C5-B735-041FA132CA39}</CompanyId>
266 <CostCenterId>{59387FFD-B171-47C5-B735-041FA132CA39}</CostCenterId>
267 <LocationId>{59387FFD-B171-47C5-B735-041FA132CA39}</LocationId>
268 >
269 <DepartmentName>DepartmentName</DepartmentName>
270 <CostCenterName>CostCenterName</CostCenterName>
271 <CompanyName>CompanyName</CompanyName>
272 <LocationName>LocationName</LocationName>
273 <HTMLComment>HTMLComment</HTMLComment>
274 <ContactSpecificValue>ContactSpecificValue</ContactSpecificValue>
275 <Address>Address</Address>
276 <Zipcode>Zipcode</Zipcode>
277 <City>City</City>
278 <Country>Country</Country>
279 <Position>Position</Position>
280 <FullName>FullName</FullName>
281 <ADObjectGuid>{59387FFD-B171-47C5-B735-041FA132CA39}</ADObjectGuid>
282 <UserPrincipalName>UserPrincipalName</UserPrincipalName>
283 <SID>SID</SID>
284 <SingleFieldValues>
285 <TCustomFieldValue_V1 xsi:type="TCustomFieldValue_V1">
286 <FieldId>{59387FFD-B171-47C5-B735-041FA132CA39}</FieldId>
287 <Value>Value</Value>
288 </TCustomFieldValue_V1>
289 <TCustomFieldValue_V1 xsi:type="TCustomFieldValue_V1">
290 <FieldId>{59387FFD-B171-47C5-B735-041FA132CA39}</FieldId>
291 <Value>Value</Value>
292 </TCustomFieldValue_V1>
293 </SingleFieldValues>
294 </TContact_V4>
295 </Contacts>
296 </TImportContactsRequest_V1>
297 </ImportContacts>
298 </ACMP>
299 </ICQL>
300 {{/apimacro}}
301
302 {{apimacro title="ImportContacts_V1 Response"}}
303 <ICQL xmlns:xsi="http:~/~/www.w3.org/2001/XMLSchema-instance" xmlns="http:~/~/acmp.com/ImportContactsResponse_V1">
304 <ACMP>
305 <ImportContacts ActionType="Response" version="1">
306 <TImportContactsResponse_V1 xmlns:xsi="http:~/~/www.w3.org/2001/XMLSchema-instance">
307 <ResultCode>0</ResultCode>
308 <ResultMessage>ResultMessage</ResultMessage>
309 </TImportContactsResponse_V1>
310 </ImportContacts>
311 </ACMP>
312 </ICQL>
313 {{/apimacro}}
314
315 {{aagon.infobox}}
316 Ab ACMP Version 6.9 steht im PublicAPI-Command ImportContacts_V1 zusätzlich die Identifikation von Kontakten über ContactsSpecificValue (Custom ID) zur Verfügung. Das Identifizierungsmerkmal ist in der ACMP Console konfigurierbar unter System > Einstellungen > Stammdaten > Kontakte.
317 Hier kann die Einstellung speziell für den Kontaktimport über die PublicAPI gesetzt werden, wobei Sie wählen können, ob der Import wie bisher über ADObjectID und E-Mail erfolgt oder über die neue ContactSpecificValue.
318 {{/aagon.infobox}}
319
320 {{apimacro title="DeleteContact (by RequesterID)"}}
321 {{{<ICQL>
322 <ACMP>
323 <SaveContacts>
324 <TSaveContactsRequest>
325 <Contacts xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
326 <TContact xsi:type="TContact">
327 <Action>eaDelete</Action>
328 <RequesterId>{D7F8B505-9FEF-4F62-98C8-129643783EFC}</RequesterId>
329 </TContact>
330 </Contacts>
331 </TSaveContactsRequest>
332 </SaveContacts>
333 </ACMP>
334 </ICQL>}}}
335 {{/apimacro}}
336
337 {{apimacro title="DisableContactsByAdObjectIds_V1 Request"}}
338 {{{<ICQL>
339 <ACMP>
340 <DisableContactsByAdObjectIds version="1">
341 <TDisableContactsByAdObjectIdsRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
342 <ADObjectIds>
343 <string>Value 1</string>
344 <string>Value 2</string>
345 </ADObjectIds>
346 </TDisableContactsByAdObjectIdsRequest_V1>
347 </DisableContactsByAdObjectIds>
348 </ACMP>
349 </ICQL>}}}
350 {{/apimacro}}
351
352 {{apimacro title="DisableContactsByAdObjectIds_V1 Response"}}
353 {{{<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/DisableContactsByAdObjectIdsResponse_V1">
354 <ACMP>
355 <DisableContactsByAdObjectIds ActionType="Response" version="1">
356 <TDisableContactsByAdObjectIdsResponse_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
357 <ResultCode>0</ResultCode>
358 <ResultMessage>ResultMessage</ResultMessage>
359 </TDisableContactsByAdObjectIdsResponse_V1>
360 </DisableContactsByAdObjectIds>
361 </ACMP>
362 </ICQL>}}}
363 {{/apimacro}}
© Aagon GmbH 2025
Besuchen Sie unsere Aagon-Community