ADSyncSvc
Click here for a complete list of operations.
SyncUsers
Web Method to upload user account data
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /webservices/adsyncsvc.asmx HTTP/1.1
Host: panel.it-lite.ru
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://machsol.com/SyncUsers"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<ADSyncAuthHeader xmlns="http://machsol.com/">
<CPVersion>string</CPVersion>
<ClientVersion>string</ClientVersion>
<UserName>string</UserName>
<UserPassword>string</UserPassword>
<AuthenticationToken>string</AuthenticationToken>
<CompanyId>int</CompanyId>
<CustomerId>int</CustomerId>
<CustomerName>string</CustomerName>
</ADSyncAuthHeader>
</soap:Header>
<soap:Body>
<SyncUsers xmlns="http://machsol.com/">
<userlist>
<UserAccountData>
<Description>string</Description>
<DisplayName>string</DisplayName>
<FirstName>string</FirstName>
<LastName>string</LastName>
<Email>string</Email>
<Initials>string</Initials>
<HomePhone>string</HomePhone>
<MobilePhone>string</MobilePhone>
<BusinessPhone>string</BusinessPhone>
<Pager>string</Pager>
<HomePage>string</HomePage>
<Fax>string</Fax>
<Address>string</Address>
<City>string</City>
<Country>string</Country>
<State>string</State>
<ZipCode>string</ZipCode>
<Company>string</Company>
<JobTitle>string</JobTitle>
<Department>string</Department>
<UserPrincipalName>string</UserPrincipalName>
<OfficeLocation>string</OfficeLocation>
<Password>string</Password>
<DirectManager>string</DirectManager>
<Notes>string</Notes>
<HostedUserCanonicalName>string</HostedUserCanonicalName>
<OnPremisesUserSID>string</OnPremisesUserSID>
<UserLDAPUrl>string</UserLDAPUrl>
<sAMAccountName>string</sAMAccountName>
<uSNChanged>string</uSNChanged>
<CustomProperty>string</CustomProperty>
<wWWHomePage>string</wWWHomePage>
<proxyAddresses>string</proxyAddresses>
<userAccountControl>string</userAccountControl>
<thumbnailPhoto>string</thumbnailPhoto>
<LogonHours>string</LogonHours>
<ClientTimeZone>string</ClientTimeZone>
<USNCreated>string</USNCreated>
<MailboxGuid>string</MailboxGuid>
<MailboxArchiveGUID>string</MailboxArchiveGUID>
<MailboxArchiveName>string</MailboxArchiveName>
<MailboxRecipientDisplayType>string</MailboxRecipientDisplayType>
<MailboxRecipientTypeDetails>string</MailboxRecipientTypeDetails>
<MailboxUserCulture>string</MailboxUserCulture>
</UserAccountData>
<UserAccountData>
<Description>string</Description>
<DisplayName>string</DisplayName>
<FirstName>string</FirstName>
<LastName>string</LastName>
<Email>string</Email>
<Initials>string</Initials>
<HomePhone>string</HomePhone>
<MobilePhone>string</MobilePhone>
<BusinessPhone>string</BusinessPhone>
<Pager>string</Pager>
<HomePage>string</HomePage>
<Fax>string</Fax>
<Address>string</Address>
<City>string</City>
<Country>string</Country>
<State>string</State>
<ZipCode>string</ZipCode>
<Company>string</Company>
<JobTitle>string</JobTitle>
<Department>string</Department>
<UserPrincipalName>string</UserPrincipalName>
<OfficeLocation>string</OfficeLocation>
<Password>string</Password>
<DirectManager>string</DirectManager>
<Notes>string</Notes>
<HostedUserCanonicalName>string</HostedUserCanonicalName>
<OnPremisesUserSID>string</OnPremisesUserSID>
<UserLDAPUrl>string</UserLDAPUrl>
<sAMAccountName>string</sAMAccountName>
<uSNChanged>string</uSNChanged>
<CustomProperty>string</CustomProperty>
<wWWHomePage>string</wWWHomePage>
<proxyAddresses>string</proxyAddresses>
<userAccountControl>string</userAccountControl>
<thumbnailPhoto>string</thumbnailPhoto>
<LogonHours>string</LogonHours>
<ClientTimeZone>string</ClientTimeZone>
<USNCreated>string</USNCreated>
<MailboxGuid>string</MailboxGuid>
<MailboxArchiveGUID>string</MailboxArchiveGUID>
<MailboxArchiveName>string</MailboxArchiveName>
<MailboxRecipientDisplayType>string</MailboxRecipientDisplayType>
<MailboxRecipientTypeDetails>string</MailboxRecipientTypeDetails>
<MailboxUserCulture>string</MailboxUserCulture>
</UserAccountData>
</userlist>
<OUInternalName>string</OUInternalName>
</SyncUsers>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<SyncUsersResponse xmlns="http://machsol.com/" />
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /webservices/adsyncsvc.asmx HTTP/1.1
Host: panel.it-lite.ru
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Header>
<ADSyncAuthHeader xmlns="http://machsol.com/">
<CPVersion>string</CPVersion>
<ClientVersion>string</ClientVersion>
<UserName>string</UserName>
<UserPassword>string</UserPassword>
<AuthenticationToken>string</AuthenticationToken>
<CompanyId>int</CompanyId>
<CustomerId>int</CustomerId>
<CustomerName>string</CustomerName>
</ADSyncAuthHeader>
</soap12:Header>
<soap12:Body>
<SyncUsers xmlns="http://machsol.com/">
<userlist>
<UserAccountData>
<Description>string</Description>
<DisplayName>string</DisplayName>
<FirstName>string</FirstName>
<LastName>string</LastName>
<Email>string</Email>
<Initials>string</Initials>
<HomePhone>string</HomePhone>
<MobilePhone>string</MobilePhone>
<BusinessPhone>string</BusinessPhone>
<Pager>string</Pager>
<HomePage>string</HomePage>
<Fax>string</Fax>
<Address>string</Address>
<City>string</City>
<Country>string</Country>
<State>string</State>
<ZipCode>string</ZipCode>
<Company>string</Company>
<JobTitle>string</JobTitle>
<Department>string</Department>
<UserPrincipalName>string</UserPrincipalName>
<OfficeLocation>string</OfficeLocation>
<Password>string</Password>
<DirectManager>string</DirectManager>
<Notes>string</Notes>
<HostedUserCanonicalName>string</HostedUserCanonicalName>
<OnPremisesUserSID>string</OnPremisesUserSID>
<UserLDAPUrl>string</UserLDAPUrl>
<sAMAccountName>string</sAMAccountName>
<uSNChanged>string</uSNChanged>
<CustomProperty>string</CustomProperty>
<wWWHomePage>string</wWWHomePage>
<proxyAddresses>string</proxyAddresses>
<userAccountControl>string</userAccountControl>
<thumbnailPhoto>string</thumbnailPhoto>
<LogonHours>string</LogonHours>
<ClientTimeZone>string</ClientTimeZone>
<USNCreated>string</USNCreated>
<MailboxGuid>string</MailboxGuid>
<MailboxArchiveGUID>string</MailboxArchiveGUID>
<MailboxArchiveName>string</MailboxArchiveName>
<MailboxRecipientDisplayType>string</MailboxRecipientDisplayType>
<MailboxRecipientTypeDetails>string</MailboxRecipientTypeDetails>
<MailboxUserCulture>string</MailboxUserCulture>
</UserAccountData>
<UserAccountData>
<Description>string</Description>
<DisplayName>string</DisplayName>
<FirstName>string</FirstName>
<LastName>string</LastName>
<Email>string</Email>
<Initials>string</Initials>
<HomePhone>string</HomePhone>
<MobilePhone>string</MobilePhone>
<BusinessPhone>string</BusinessPhone>
<Pager>string</Pager>
<HomePage>string</HomePage>
<Fax>string</Fax>
<Address>string</Address>
<City>string</City>
<Country>string</Country>
<State>string</State>
<ZipCode>string</ZipCode>
<Company>string</Company>
<JobTitle>string</JobTitle>
<Department>string</Department>
<UserPrincipalName>string</UserPrincipalName>
<OfficeLocation>string</OfficeLocation>
<Password>string</Password>
<DirectManager>string</DirectManager>
<Notes>string</Notes>
<HostedUserCanonicalName>string</HostedUserCanonicalName>
<OnPremisesUserSID>string</OnPremisesUserSID>
<UserLDAPUrl>string</UserLDAPUrl>
<sAMAccountName>string</sAMAccountName>
<uSNChanged>string</uSNChanged>
<CustomProperty>string</CustomProperty>
<wWWHomePage>string</wWWHomePage>
<proxyAddresses>string</proxyAddresses>
<userAccountControl>string</userAccountControl>
<thumbnailPhoto>string</thumbnailPhoto>
<LogonHours>string</LogonHours>
<ClientTimeZone>string</ClientTimeZone>
<USNCreated>string</USNCreated>
<MailboxGuid>string</MailboxGuid>
<MailboxArchiveGUID>string</MailboxArchiveGUID>
<MailboxArchiveName>string</MailboxArchiveName>
<MailboxRecipientDisplayType>string</MailboxRecipientDisplayType>
<MailboxRecipientTypeDetails>string</MailboxRecipientTypeDetails>
<MailboxUserCulture>string</MailboxUserCulture>
</UserAccountData>
</userlist>
<OUInternalName>string</OUInternalName>
</SyncUsers>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<SyncUsersResponse xmlns="http://machsol.com/" />
</soap12:Body>
</soap12:Envelope>