Wiki-Quellcode von Nachrichten
Zeige letzte Bearbeiter
| author | version | line-number | content |
|---|---|---|---|
| 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="DeleteContactsByAdObjectIds Response"}} | ||
| 199 | <ICQL xmlns:xsi="http:~/~/www.w3.org/2001/XMLSchema-instance" xmlns="http:~/~/acmp.com/DeleteContactsByAdObjectIdsResponse_V1"> | ||
| 200 | <ACMP> | ||
| 201 | <DeleteContactsByAdObjectIds ActionType="Response" version="1"> | ||
| 202 | <TDeleteContactsByAdObjectIdsResponse_V1 xmlns:xsi="http:~/~/www.w3.org/2001/XMLSchema-instance"> | ||
| 203 | <ResultCode>0</ResultCode> | ||
| 204 | <ResultMessage>ResultMessage</ResultMessage> | ||
| 205 | </TDeleteContactsByAdObjectIdsResponse_V1> | ||
| 206 | </DeleteContactsByAdObjectIds> | ||
| 207 | </ACMP> | ||
| 208 | </ICQL> | ||
| 209 | {{/apimacro}} | ||
| 210 | |||
| 211 | {{apimacro title="DeleteContact (by RequesterID)"}} | ||
| 212 | <ICQL> | ||
| 213 | <ACMP> | ||
| 214 | <SaveContacts> | ||
| 215 | <TSaveContactsRequest> | ||
| 216 | <Contacts xmlns:xsi="http:~/~/www.w3.org/2001/XMLSchema-instance"> | ||
| 217 | <TContact xsi:type="TContact"> | ||
| 218 | <Action>eaDelete</Action> | ||
| 219 | <RequesterId>{D7F8B505-9FEF-4F62-98C8-129643783EFC}</RequesterId> | ||
| 220 | </TContact> | ||
| 221 | </Contacts> | ||
| 222 | </TSaveContactsRequest> | ||
| 223 | </SaveContacts> | ||
| 224 | </ACMP> | ||
| 225 | </ICQL> | ||
| 226 | {{/apimacro}} | ||
| 227 | |||
| 228 | {{apimacro title="DisableContactsByAdObjectIds Request"}} | ||
| 229 | <ICQL> | ||
| 230 | <ACMP> | ||
| 231 | <DisableContactsByAdObjectIds version="1"> | ||
| 232 | <TDisableContactsByAdObjectIdsRequest_V1 xmlns:xsi="http:~/~/www.w3.org/2001/XMLSchema-instance"> | ||
| 233 | <ADObjectIds> | ||
| 234 | <string>Value 1</string> | ||
| 235 | <string>Value 2</string> | ||
| 236 | </ADObjectIds> | ||
| 237 | </TDisableContactsByAdObjectIdsRequest_V1> | ||
| 238 | </DisableContactsByAdObjectIds> | ||
| 239 | </ACMP> | ||
| 240 | </ICQL> | ||
| 241 | {{/apimacro}} | ||
| 242 | |||
| 243 | {{apimacro title="DisableContactsByAdObjectIds Response"}} | ||
| 244 | <ICQL xmlns:xsi="http:~/~/www.w3.org/2001/XMLSchema-instance" xmlns="http:~/~/acmp.com/DisableContactsByAdObjectIdsResponse_V1"> | ||
| 245 | <ACMP> | ||
| 246 | <DisableContactsByAdObjectIds ActionType="Response" version="1"> | ||
| 247 | <TDisableContactsByAdObjectIdsResponse_V1 xmlns:xsi="http:~/~/www.w3.org/2001/XMLSchema-instance"> | ||
| 248 | <ResultCode>0</ResultCode> | ||
| 249 | <ResultMessage>ResultMessage</ResultMessage> | ||
| 250 | </TDisableContactsByAdObjectIdsResponse_V1> | ||
| 251 | </DisableContactsByAdObjectIds> | ||
| 252 | </ACMP> | ||
| 253 | </ICQL> | ||
| 254 | {{/apimacro}} | ||
| 255 | |||
| 256 | fhd |

