UserServices
Click here for a complete list of operations.
GetUsers
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.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 /UserServices.asmx HTTP/1.1
Host: aspthemetest14.parafait1.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://semnox.com/GetUsers"
<?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>
<GetUsers xmlns="http://semnox.com/">
<lastSyncTime>string</lastSyncTime>
</GetUsers>
</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>
<GetUsersResponse xmlns="http://semnox.com/">
<GetUsersResult>
<UsersDTO>
<UserId>int</UserId>
<UserName>string</UserName>
<LoginId>string</LoginId>
<RoleId>int</RoleId>
<CardNumber>string</CardNumber>
<LastLoginTime>dateTime</LastLoginTime>
<LogoutTime>dateTime</LogoutTime>
<OverrideFingerPrint>string</OverrideFingerPrint>
<PasswordHash>base64Binary</PasswordHash>
<PasswordSalt>string</PasswordSalt>
<Password>string</Password>
<MasterEntityId>int</MasterEntityId>
<PosTypeId>int</PosTypeId>
<DepartmentId>int</DepartmentId>
<DepartmentName>string</DepartmentName>
<EmpStartDate>dateTime</EmpStartDate>
<EmpEndDate>dateTime</EmpEndDate>
<EmpEndReason>string</EmpEndReason>
<ManagerId>int</ManagerId>
<EmpLastName>string</EmpLastName>
<EmpNumber>string</EmpNumber>
<CompanyAdministrator>string</CompanyAdministrator>
<FingerNumber>int</FingerNumber>
<UserStatus>string</UserStatus>
<PasswordChangeDate>dateTime</PasswordChangeDate>
<InvalidAccessAttempts>int</InvalidAccessAttempts>
<LockedOutTime>dateTime</LockedOutTime>
<PasswordChangeOnNextLogin>boolean</PasswordChangeOnNextLogin>
<Email>string</Email>
<IsActive>boolean</IsActive>
<CreatedBy>string</CreatedBy>
<CreationDate>dateTime</CreationDate>
<LastUpdatedBy>string</LastUpdatedBy>
<LastUpdatedDate>dateTime</LastUpdatedDate>
<Guid>string</Guid>
<SiteId>int</SiteId>
<SynchStatus>boolean</SynchStatus>
<DateOfBirth>dateTime</DateOfBirth>
<PhoneNumber>string</PhoneNumber>
<ShiftConfigurationId>int</ShiftConfigurationId>
<SsoEnabled>boolean</SsoEnabled>
<UserIdentificationTagsDTOList>
<UserIdentificationTagsDTO xsi:nil="true" />
<UserIdentificationTagsDTO xsi:nil="true" />
</UserIdentificationTagsDTOList>
<UserPasswordHistoryDTOList>
<UserPasswordHistoryDTO xsi:nil="true" />
<UserPasswordHistoryDTO xsi:nil="true" />
</UserPasswordHistoryDTOList>
<IsChanged>boolean</IsChanged>
<DataAccessRuleDTO>
<DataAccessRuleId>int</DataAccessRuleId>
<Name>string</Name>
<IsActive>boolean</IsActive>
<CreatedBy>string</CreatedBy>
<CreationDate>dateTime</CreationDate>
<LastUpdatedBy>string</LastUpdatedBy>
<LastUpdatedDate>dateTime</LastUpdatedDate>
<Guid>string</Guid>
<SiteId>int</SiteId>
<SynchStatus>boolean</SynchStatus>
<MasterEntityId>int</MasterEntityId>
<DataAccessDetailDTOList xsi:nil="true" />
<IsChanged>boolean</IsChanged>
</DataAccessRuleDTO>
</UsersDTO>
<UsersDTO>
<UserId>int</UserId>
<UserName>string</UserName>
<LoginId>string</LoginId>
<RoleId>int</RoleId>
<CardNumber>string</CardNumber>
<LastLoginTime>dateTime</LastLoginTime>
<LogoutTime>dateTime</LogoutTime>
<OverrideFingerPrint>string</OverrideFingerPrint>
<PasswordHash>base64Binary</PasswordHash>
<PasswordSalt>string</PasswordSalt>
<Password>string</Password>
<MasterEntityId>int</MasterEntityId>
<PosTypeId>int</PosTypeId>
<DepartmentId>int</DepartmentId>
<DepartmentName>string</DepartmentName>
<EmpStartDate>dateTime</EmpStartDate>
<EmpEndDate>dateTime</EmpEndDate>
<EmpEndReason>string</EmpEndReason>
<ManagerId>int</ManagerId>
<EmpLastName>string</EmpLastName>
<EmpNumber>string</EmpNumber>
<CompanyAdministrator>string</CompanyAdministrator>
<FingerNumber>int</FingerNumber>
<UserStatus>string</UserStatus>
<PasswordChangeDate>dateTime</PasswordChangeDate>
<InvalidAccessAttempts>int</InvalidAccessAttempts>
<LockedOutTime>dateTime</LockedOutTime>
<PasswordChangeOnNextLogin>boolean</PasswordChangeOnNextLogin>
<Email>string</Email>
<IsActive>boolean</IsActive>
<CreatedBy>string</CreatedBy>
<CreationDate>dateTime</CreationDate>
<LastUpdatedBy>string</LastUpdatedBy>
<LastUpdatedDate>dateTime</LastUpdatedDate>
<Guid>string</Guid>
<SiteId>int</SiteId>
<SynchStatus>boolean</SynchStatus>
<DateOfBirth>dateTime</DateOfBirth>
<PhoneNumber>string</PhoneNumber>
<ShiftConfigurationId>int</ShiftConfigurationId>
<SsoEnabled>boolean</SsoEnabled>
<UserIdentificationTagsDTOList>
<UserIdentificationTagsDTO xsi:nil="true" />
<UserIdentificationTagsDTO xsi:nil="true" />
</UserIdentificationTagsDTOList>
<UserPasswordHistoryDTOList>
<UserPasswordHistoryDTO xsi:nil="true" />
<UserPasswordHistoryDTO xsi:nil="true" />
</UserPasswordHistoryDTOList>
<IsChanged>boolean</IsChanged>
<DataAccessRuleDTO>
<DataAccessRuleId>int</DataAccessRuleId>
<Name>string</Name>
<IsActive>boolean</IsActive>
<CreatedBy>string</CreatedBy>
<CreationDate>dateTime</CreationDate>
<LastUpdatedBy>string</LastUpdatedBy>
<LastUpdatedDate>dateTime</LastUpdatedDate>
<Guid>string</Guid>
<SiteId>int</SiteId>
<SynchStatus>boolean</SynchStatus>
<MasterEntityId>int</MasterEntityId>
<DataAccessDetailDTOList xsi:nil="true" />
<IsChanged>boolean</IsChanged>
</DataAccessRuleDTO>
</UsersDTO>
</GetUsersResult>
</GetUsersResponse>
</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 /UserServices.asmx HTTP/1.1
Host: aspthemetest14.parafait1.com
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>
<GetUsers xmlns="http://semnox.com/">
<lastSyncTime>string</lastSyncTime>
</GetUsers>
</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>
<GetUsersResponse xmlns="http://semnox.com/">
<GetUsersResult>
<UsersDTO>
<UserId>int</UserId>
<UserName>string</UserName>
<LoginId>string</LoginId>
<RoleId>int</RoleId>
<CardNumber>string</CardNumber>
<LastLoginTime>dateTime</LastLoginTime>
<LogoutTime>dateTime</LogoutTime>
<OverrideFingerPrint>string</OverrideFingerPrint>
<PasswordHash>base64Binary</PasswordHash>
<PasswordSalt>string</PasswordSalt>
<Password>string</Password>
<MasterEntityId>int</MasterEntityId>
<PosTypeId>int</PosTypeId>
<DepartmentId>int</DepartmentId>
<DepartmentName>string</DepartmentName>
<EmpStartDate>dateTime</EmpStartDate>
<EmpEndDate>dateTime</EmpEndDate>
<EmpEndReason>string</EmpEndReason>
<ManagerId>int</ManagerId>
<EmpLastName>string</EmpLastName>
<EmpNumber>string</EmpNumber>
<CompanyAdministrator>string</CompanyAdministrator>
<FingerNumber>int</FingerNumber>
<UserStatus>string</UserStatus>
<PasswordChangeDate>dateTime</PasswordChangeDate>
<InvalidAccessAttempts>int</InvalidAccessAttempts>
<LockedOutTime>dateTime</LockedOutTime>
<PasswordChangeOnNextLogin>boolean</PasswordChangeOnNextLogin>
<Email>string</Email>
<IsActive>boolean</IsActive>
<CreatedBy>string</CreatedBy>
<CreationDate>dateTime</CreationDate>
<LastUpdatedBy>string</LastUpdatedBy>
<LastUpdatedDate>dateTime</LastUpdatedDate>
<Guid>string</Guid>
<SiteId>int</SiteId>
<SynchStatus>boolean</SynchStatus>
<DateOfBirth>dateTime</DateOfBirth>
<PhoneNumber>string</PhoneNumber>
<ShiftConfigurationId>int</ShiftConfigurationId>
<SsoEnabled>boolean</SsoEnabled>
<UserIdentificationTagsDTOList>
<UserIdentificationTagsDTO xsi:nil="true" />
<UserIdentificationTagsDTO xsi:nil="true" />
</UserIdentificationTagsDTOList>
<UserPasswordHistoryDTOList>
<UserPasswordHistoryDTO xsi:nil="true" />
<UserPasswordHistoryDTO xsi:nil="true" />
</UserPasswordHistoryDTOList>
<IsChanged>boolean</IsChanged>
<DataAccessRuleDTO>
<DataAccessRuleId>int</DataAccessRuleId>
<Name>string</Name>
<IsActive>boolean</IsActive>
<CreatedBy>string</CreatedBy>
<CreationDate>dateTime</CreationDate>
<LastUpdatedBy>string</LastUpdatedBy>
<LastUpdatedDate>dateTime</LastUpdatedDate>
<Guid>string</Guid>
<SiteId>int</SiteId>
<SynchStatus>boolean</SynchStatus>
<MasterEntityId>int</MasterEntityId>
<DataAccessDetailDTOList xsi:nil="true" />
<IsChanged>boolean</IsChanged>
</DataAccessRuleDTO>
</UsersDTO>
<UsersDTO>
<UserId>int</UserId>
<UserName>string</UserName>
<LoginId>string</LoginId>
<RoleId>int</RoleId>
<CardNumber>string</CardNumber>
<LastLoginTime>dateTime</LastLoginTime>
<LogoutTime>dateTime</LogoutTime>
<OverrideFingerPrint>string</OverrideFingerPrint>
<PasswordHash>base64Binary</PasswordHash>
<PasswordSalt>string</PasswordSalt>
<Password>string</Password>
<MasterEntityId>int</MasterEntityId>
<PosTypeId>int</PosTypeId>
<DepartmentId>int</DepartmentId>
<DepartmentName>string</DepartmentName>
<EmpStartDate>dateTime</EmpStartDate>
<EmpEndDate>dateTime</EmpEndDate>
<EmpEndReason>string</EmpEndReason>
<ManagerId>int</ManagerId>
<EmpLastName>string</EmpLastName>
<EmpNumber>string</EmpNumber>
<CompanyAdministrator>string</CompanyAdministrator>
<FingerNumber>int</FingerNumber>
<UserStatus>string</UserStatus>
<PasswordChangeDate>dateTime</PasswordChangeDate>
<InvalidAccessAttempts>int</InvalidAccessAttempts>
<LockedOutTime>dateTime</LockedOutTime>
<PasswordChangeOnNextLogin>boolean</PasswordChangeOnNextLogin>
<Email>string</Email>
<IsActive>boolean</IsActive>
<CreatedBy>string</CreatedBy>
<CreationDate>dateTime</CreationDate>
<LastUpdatedBy>string</LastUpdatedBy>
<LastUpdatedDate>dateTime</LastUpdatedDate>
<Guid>string</Guid>
<SiteId>int</SiteId>
<SynchStatus>boolean</SynchStatus>
<DateOfBirth>dateTime</DateOfBirth>
<PhoneNumber>string</PhoneNumber>
<ShiftConfigurationId>int</ShiftConfigurationId>
<SsoEnabled>boolean</SsoEnabled>
<UserIdentificationTagsDTOList>
<UserIdentificationTagsDTO xsi:nil="true" />
<UserIdentificationTagsDTO xsi:nil="true" />
</UserIdentificationTagsDTOList>
<UserPasswordHistoryDTOList>
<UserPasswordHistoryDTO xsi:nil="true" />
<UserPasswordHistoryDTO xsi:nil="true" />
</UserPasswordHistoryDTOList>
<IsChanged>boolean</IsChanged>
<DataAccessRuleDTO>
<DataAccessRuleId>int</DataAccessRuleId>
<Name>string</Name>
<IsActive>boolean</IsActive>
<CreatedBy>string</CreatedBy>
<CreationDate>dateTime</CreationDate>
<LastUpdatedBy>string</LastUpdatedBy>
<LastUpdatedDate>dateTime</LastUpdatedDate>
<Guid>string</Guid>
<SiteId>int</SiteId>
<SynchStatus>boolean</SynchStatus>
<MasterEntityId>int</MasterEntityId>
<DataAccessDetailDTOList xsi:nil="true" />
<IsChanged>boolean</IsChanged>
</DataAccessRuleDTO>
</UsersDTO>
</GetUsersResult>
</GetUsersResponse>
</soap12:Body>
</soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /UserServices.asmx/GetUsers?lastSyncTime=string HTTP/1.1 Host: aspthemetest14.parafait1.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfUsersDTO xmlns="http://semnox.com/">
<UsersDTO>
<UserId>int</UserId>
<UserName>string</UserName>
<LoginId>string</LoginId>
<RoleId>int</RoleId>
<CardNumber>string</CardNumber>
<LastLoginTime>dateTime</LastLoginTime>
<LogoutTime>dateTime</LogoutTime>
<OverrideFingerPrint>string</OverrideFingerPrint>
<PasswordHash>base64Binary</PasswordHash>
<PasswordSalt>string</PasswordSalt>
<Password>string</Password>
<MasterEntityId>int</MasterEntityId>
<PosTypeId>int</PosTypeId>
<DepartmentId>int</DepartmentId>
<DepartmentName>string</DepartmentName>
<EmpStartDate>dateTime</EmpStartDate>
<EmpEndDate>dateTime</EmpEndDate>
<EmpEndReason>string</EmpEndReason>
<ManagerId>int</ManagerId>
<EmpLastName>string</EmpLastName>
<EmpNumber>string</EmpNumber>
<CompanyAdministrator>string</CompanyAdministrator>
<FingerNumber>int</FingerNumber>
<UserStatus>string</UserStatus>
<PasswordChangeDate>dateTime</PasswordChangeDate>
<InvalidAccessAttempts>int</InvalidAccessAttempts>
<LockedOutTime>dateTime</LockedOutTime>
<PasswordChangeOnNextLogin>boolean</PasswordChangeOnNextLogin>
<Email>string</Email>
<IsActive>boolean</IsActive>
<CreatedBy>string</CreatedBy>
<CreationDate>dateTime</CreationDate>
<LastUpdatedBy>string</LastUpdatedBy>
<LastUpdatedDate>dateTime</LastUpdatedDate>
<Guid>string</Guid>
<SiteId>int</SiteId>
<SynchStatus>boolean</SynchStatus>
<DateOfBirth>dateTime</DateOfBirth>
<PhoneNumber>string</PhoneNumber>
<ShiftConfigurationId>int</ShiftConfigurationId>
<SsoEnabled>boolean</SsoEnabled>
<UserIdentificationTagsDTOList>
<UserIdentificationTagsDTO>
<Id>int</Id>
<UserId>int</UserId>
<CardNumber>string</CardNumber>
<FingerPrint>string</FingerPrint>
<FingerNumber>int</FingerNumber>
<ActiveFlag>boolean</ActiveFlag>
<StartDate>dateTime</StartDate>
<EndDate>dateTime</EndDate>
<LastUpdatedBy>string</LastUpdatedBy>
<LastUpdatedDate>dateTime</LastUpdatedDate>
<Guid>string</Guid>
<SiteId>int</SiteId>
<SynchStatus>boolean</SynchStatus>
<MasterEntityId>int</MasterEntityId>
<AttendanceReaderTag>boolean</AttendanceReaderTag>
<CardId>int</CardId>
<CreatedBy>string</CreatedBy>
<CreationDate>dateTime</CreationDate>
<FPTemplate>base64Binary</FPTemplate>
<FPSalt>string</FPSalt>
<HRApprovalLogsDTOList d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<IsChanged>boolean</IsChanged>
</UserIdentificationTagsDTO>
<UserIdentificationTagsDTO>
<Id>int</Id>
<UserId>int</UserId>
<CardNumber>string</CardNumber>
<FingerPrint>string</FingerPrint>
<FingerNumber>int</FingerNumber>
<ActiveFlag>boolean</ActiveFlag>
<StartDate>dateTime</StartDate>
<EndDate>dateTime</EndDate>
<LastUpdatedBy>string</LastUpdatedBy>
<LastUpdatedDate>dateTime</LastUpdatedDate>
<Guid>string</Guid>
<SiteId>int</SiteId>
<SynchStatus>boolean</SynchStatus>
<MasterEntityId>int</MasterEntityId>
<AttendanceReaderTag>boolean</AttendanceReaderTag>
<CardId>int</CardId>
<CreatedBy>string</CreatedBy>
<CreationDate>dateTime</CreationDate>
<FPTemplate>base64Binary</FPTemplate>
<FPSalt>string</FPSalt>
<HRApprovalLogsDTOList d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<IsChanged>boolean</IsChanged>
</UserIdentificationTagsDTO>
</UserIdentificationTagsDTOList>
<UserPasswordHistoryDTOList>
<UserPasswordHistoryDTO>
<UserPasswordHistoryId>int</UserPasswordHistoryId>
<UserId>int</UserId>
<PasswordHash>base64Binary</PasswordHash>
<ChangeDate>dateTime</ChangeDate>
<SiteId>int</SiteId>
<Guid>string</Guid>
<SynchStatus>boolean</SynchStatus>
<PasswordSalt>string</PasswordSalt>
<MasterEntityId>int</MasterEntityId>
<CreatedBy>string</CreatedBy>
<CreationDate>dateTime</CreationDate>
<LastUpdatedBy>string</LastUpdatedBy>
<LastUpdateDate>dateTime</LastUpdateDate>
<IsChanged>boolean</IsChanged>
</UserPasswordHistoryDTO>
<UserPasswordHistoryDTO>
<UserPasswordHistoryId>int</UserPasswordHistoryId>
<UserId>int</UserId>
<PasswordHash>base64Binary</PasswordHash>
<ChangeDate>dateTime</ChangeDate>
<SiteId>int</SiteId>
<Guid>string</Guid>
<SynchStatus>boolean</SynchStatus>
<PasswordSalt>string</PasswordSalt>
<MasterEntityId>int</MasterEntityId>
<CreatedBy>string</CreatedBy>
<CreationDate>dateTime</CreationDate>
<LastUpdatedBy>string</LastUpdatedBy>
<LastUpdateDate>dateTime</LastUpdateDate>
<IsChanged>boolean</IsChanged>
</UserPasswordHistoryDTO>
</UserPasswordHistoryDTOList>
<IsChanged>boolean</IsChanged>
<DataAccessRuleDTO>
<DataAccessRuleId>int</DataAccessRuleId>
<Name>string</Name>
<IsActive>boolean</IsActive>
<CreatedBy>string</CreatedBy>
<CreationDate>dateTime</CreationDate>
<LastUpdatedBy>string</LastUpdatedBy>
<LastUpdatedDate>dateTime</LastUpdatedDate>
<Guid>string</Guid>
<SiteId>int</SiteId>
<SynchStatus>boolean</SynchStatus>
<MasterEntityId>int</MasterEntityId>
<DataAccessDetailDTOList>
<DataAccessDetailDTO d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<DataAccessDetailDTO d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</DataAccessDetailDTOList>
<IsChanged>boolean</IsChanged>
</DataAccessRuleDTO>
</UsersDTO>
<UsersDTO>
<UserId>int</UserId>
<UserName>string</UserName>
<LoginId>string</LoginId>
<RoleId>int</RoleId>
<CardNumber>string</CardNumber>
<LastLoginTime>dateTime</LastLoginTime>
<LogoutTime>dateTime</LogoutTime>
<OverrideFingerPrint>string</OverrideFingerPrint>
<PasswordHash>base64Binary</PasswordHash>
<PasswordSalt>string</PasswordSalt>
<Password>string</Password>
<MasterEntityId>int</MasterEntityId>
<PosTypeId>int</PosTypeId>
<DepartmentId>int</DepartmentId>
<DepartmentName>string</DepartmentName>
<EmpStartDate>dateTime</EmpStartDate>
<EmpEndDate>dateTime</EmpEndDate>
<EmpEndReason>string</EmpEndReason>
<ManagerId>int</ManagerId>
<EmpLastName>string</EmpLastName>
<EmpNumber>string</EmpNumber>
<CompanyAdministrator>string</CompanyAdministrator>
<FingerNumber>int</FingerNumber>
<UserStatus>string</UserStatus>
<PasswordChangeDate>dateTime</PasswordChangeDate>
<InvalidAccessAttempts>int</InvalidAccessAttempts>
<LockedOutTime>dateTime</LockedOutTime>
<PasswordChangeOnNextLogin>boolean</PasswordChangeOnNextLogin>
<Email>string</Email>
<IsActive>boolean</IsActive>
<CreatedBy>string</CreatedBy>
<CreationDate>dateTime</CreationDate>
<LastUpdatedBy>string</LastUpdatedBy>
<LastUpdatedDate>dateTime</LastUpdatedDate>
<Guid>string</Guid>
<SiteId>int</SiteId>
<SynchStatus>boolean</SynchStatus>
<DateOfBirth>dateTime</DateOfBirth>
<PhoneNumber>string</PhoneNumber>
<ShiftConfigurationId>int</ShiftConfigurationId>
<SsoEnabled>boolean</SsoEnabled>
<UserIdentificationTagsDTOList>
<UserIdentificationTagsDTO>
<Id>int</Id>
<UserId>int</UserId>
<CardNumber>string</CardNumber>
<FingerPrint>string</FingerPrint>
<FingerNumber>int</FingerNumber>
<ActiveFlag>boolean</ActiveFlag>
<StartDate>dateTime</StartDate>
<EndDate>dateTime</EndDate>
<LastUpdatedBy>string</LastUpdatedBy>
<LastUpdatedDate>dateTime</LastUpdatedDate>
<Guid>string</Guid>
<SiteId>int</SiteId>
<SynchStatus>boolean</SynchStatus>
<MasterEntityId>int</MasterEntityId>
<AttendanceReaderTag>boolean</AttendanceReaderTag>
<CardId>int</CardId>
<CreatedBy>string</CreatedBy>
<CreationDate>dateTime</CreationDate>
<FPTemplate>base64Binary</FPTemplate>
<FPSalt>string</FPSalt>
<HRApprovalLogsDTOList d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<IsChanged>boolean</IsChanged>
</UserIdentificationTagsDTO>
<UserIdentificationTagsDTO>
<Id>int</Id>
<UserId>int</UserId>
<CardNumber>string</CardNumber>
<FingerPrint>string</FingerPrint>
<FingerNumber>int</FingerNumber>
<ActiveFlag>boolean</ActiveFlag>
<StartDate>dateTime</StartDate>
<EndDate>dateTime</EndDate>
<LastUpdatedBy>string</LastUpdatedBy>
<LastUpdatedDate>dateTime</LastUpdatedDate>
<Guid>string</Guid>
<SiteId>int</SiteId>
<SynchStatus>boolean</SynchStatus>
<MasterEntityId>int</MasterEntityId>
<AttendanceReaderTag>boolean</AttendanceReaderTag>
<CardId>int</CardId>
<CreatedBy>string</CreatedBy>
<CreationDate>dateTime</CreationDate>
<FPTemplate>base64Binary</FPTemplate>
<FPSalt>string</FPSalt>
<HRApprovalLogsDTOList d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<IsChanged>boolean</IsChanged>
</UserIdentificationTagsDTO>
</UserIdentificationTagsDTOList>
<UserPasswordHistoryDTOList>
<UserPasswordHistoryDTO>
<UserPasswordHistoryId>int</UserPasswordHistoryId>
<UserId>int</UserId>
<PasswordHash>base64Binary</PasswordHash>
<ChangeDate>dateTime</ChangeDate>
<SiteId>int</SiteId>
<Guid>string</Guid>
<SynchStatus>boolean</SynchStatus>
<PasswordSalt>string</PasswordSalt>
<MasterEntityId>int</MasterEntityId>
<CreatedBy>string</CreatedBy>
<CreationDate>dateTime</CreationDate>
<LastUpdatedBy>string</LastUpdatedBy>
<LastUpdateDate>dateTime</LastUpdateDate>
<IsChanged>boolean</IsChanged>
</UserPasswordHistoryDTO>
<UserPasswordHistoryDTO>
<UserPasswordHistoryId>int</UserPasswordHistoryId>
<UserId>int</UserId>
<PasswordHash>base64Binary</PasswordHash>
<ChangeDate>dateTime</ChangeDate>
<SiteId>int</SiteId>
<Guid>string</Guid>
<SynchStatus>boolean</SynchStatus>
<PasswordSalt>string</PasswordSalt>
<MasterEntityId>int</MasterEntityId>
<CreatedBy>string</CreatedBy>
<CreationDate>dateTime</CreationDate>
<LastUpdatedBy>string</LastUpdatedBy>
<LastUpdateDate>dateTime</LastUpdateDate>
<IsChanged>boolean</IsChanged>
</UserPasswordHistoryDTO>
</UserPasswordHistoryDTOList>
<IsChanged>boolean</IsChanged>
<DataAccessRuleDTO>
<DataAccessRuleId>int</DataAccessRuleId>
<Name>string</Name>
<IsActive>boolean</IsActive>
<CreatedBy>string</CreatedBy>
<CreationDate>dateTime</CreationDate>
<LastUpdatedBy>string</LastUpdatedBy>
<LastUpdatedDate>dateTime</LastUpdatedDate>
<Guid>string</Guid>
<SiteId>int</SiteId>
<SynchStatus>boolean</SynchStatus>
<MasterEntityId>int</MasterEntityId>
<DataAccessDetailDTOList>
<DataAccessDetailDTO d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<DataAccessDetailDTO d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</DataAccessDetailDTOList>
<IsChanged>boolean</IsChanged>
</DataAccessRuleDTO>
</UsersDTO>
</ArrayOfUsersDTO>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /UserServices.asmx/GetUsers HTTP/1.1 Host: aspthemetest14.parafait1.com Content-Type: application/x-www-form-urlencoded Content-Length: length lastSyncTime=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfUsersDTO xmlns="http://semnox.com/">
<UsersDTO>
<UserId>int</UserId>
<UserName>string</UserName>
<LoginId>string</LoginId>
<RoleId>int</RoleId>
<CardNumber>string</CardNumber>
<LastLoginTime>dateTime</LastLoginTime>
<LogoutTime>dateTime</LogoutTime>
<OverrideFingerPrint>string</OverrideFingerPrint>
<PasswordHash>base64Binary</PasswordHash>
<PasswordSalt>string</PasswordSalt>
<Password>string</Password>
<MasterEntityId>int</MasterEntityId>
<PosTypeId>int</PosTypeId>
<DepartmentId>int</DepartmentId>
<DepartmentName>string</DepartmentName>
<EmpStartDate>dateTime</EmpStartDate>
<EmpEndDate>dateTime</EmpEndDate>
<EmpEndReason>string</EmpEndReason>
<ManagerId>int</ManagerId>
<EmpLastName>string</EmpLastName>
<EmpNumber>string</EmpNumber>
<CompanyAdministrator>string</CompanyAdministrator>
<FingerNumber>int</FingerNumber>
<UserStatus>string</UserStatus>
<PasswordChangeDate>dateTime</PasswordChangeDate>
<InvalidAccessAttempts>int</InvalidAccessAttempts>
<LockedOutTime>dateTime</LockedOutTime>
<PasswordChangeOnNextLogin>boolean</PasswordChangeOnNextLogin>
<Email>string</Email>
<IsActive>boolean</IsActive>
<CreatedBy>string</CreatedBy>
<CreationDate>dateTime</CreationDate>
<LastUpdatedBy>string</LastUpdatedBy>
<LastUpdatedDate>dateTime</LastUpdatedDate>
<Guid>string</Guid>
<SiteId>int</SiteId>
<SynchStatus>boolean</SynchStatus>
<DateOfBirth>dateTime</DateOfBirth>
<PhoneNumber>string</PhoneNumber>
<ShiftConfigurationId>int</ShiftConfigurationId>
<SsoEnabled>boolean</SsoEnabled>
<UserIdentificationTagsDTOList>
<UserIdentificationTagsDTO>
<Id>int</Id>
<UserId>int</UserId>
<CardNumber>string</CardNumber>
<FingerPrint>string</FingerPrint>
<FingerNumber>int</FingerNumber>
<ActiveFlag>boolean</ActiveFlag>
<StartDate>dateTime</StartDate>
<EndDate>dateTime</EndDate>
<LastUpdatedBy>string</LastUpdatedBy>
<LastUpdatedDate>dateTime</LastUpdatedDate>
<Guid>string</Guid>
<SiteId>int</SiteId>
<SynchStatus>boolean</SynchStatus>
<MasterEntityId>int</MasterEntityId>
<AttendanceReaderTag>boolean</AttendanceReaderTag>
<CardId>int</CardId>
<CreatedBy>string</CreatedBy>
<CreationDate>dateTime</CreationDate>
<FPTemplate>base64Binary</FPTemplate>
<FPSalt>string</FPSalt>
<HRApprovalLogsDTOList d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<IsChanged>boolean</IsChanged>
</UserIdentificationTagsDTO>
<UserIdentificationTagsDTO>
<Id>int</Id>
<UserId>int</UserId>
<CardNumber>string</CardNumber>
<FingerPrint>string</FingerPrint>
<FingerNumber>int</FingerNumber>
<ActiveFlag>boolean</ActiveFlag>
<StartDate>dateTime</StartDate>
<EndDate>dateTime</EndDate>
<LastUpdatedBy>string</LastUpdatedBy>
<LastUpdatedDate>dateTime</LastUpdatedDate>
<Guid>string</Guid>
<SiteId>int</SiteId>
<SynchStatus>boolean</SynchStatus>
<MasterEntityId>int</MasterEntityId>
<AttendanceReaderTag>boolean</AttendanceReaderTag>
<CardId>int</CardId>
<CreatedBy>string</CreatedBy>
<CreationDate>dateTime</CreationDate>
<FPTemplate>base64Binary</FPTemplate>
<FPSalt>string</FPSalt>
<HRApprovalLogsDTOList d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<IsChanged>boolean</IsChanged>
</UserIdentificationTagsDTO>
</UserIdentificationTagsDTOList>
<UserPasswordHistoryDTOList>
<UserPasswordHistoryDTO>
<UserPasswordHistoryId>int</UserPasswordHistoryId>
<UserId>int</UserId>
<PasswordHash>base64Binary</PasswordHash>
<ChangeDate>dateTime</ChangeDate>
<SiteId>int</SiteId>
<Guid>string</Guid>
<SynchStatus>boolean</SynchStatus>
<PasswordSalt>string</PasswordSalt>
<MasterEntityId>int</MasterEntityId>
<CreatedBy>string</CreatedBy>
<CreationDate>dateTime</CreationDate>
<LastUpdatedBy>string</LastUpdatedBy>
<LastUpdateDate>dateTime</LastUpdateDate>
<IsChanged>boolean</IsChanged>
</UserPasswordHistoryDTO>
<UserPasswordHistoryDTO>
<UserPasswordHistoryId>int</UserPasswordHistoryId>
<UserId>int</UserId>
<PasswordHash>base64Binary</PasswordHash>
<ChangeDate>dateTime</ChangeDate>
<SiteId>int</SiteId>
<Guid>string</Guid>
<SynchStatus>boolean</SynchStatus>
<PasswordSalt>string</PasswordSalt>
<MasterEntityId>int</MasterEntityId>
<CreatedBy>string</CreatedBy>
<CreationDate>dateTime</CreationDate>
<LastUpdatedBy>string</LastUpdatedBy>
<LastUpdateDate>dateTime</LastUpdateDate>
<IsChanged>boolean</IsChanged>
</UserPasswordHistoryDTO>
</UserPasswordHistoryDTOList>
<IsChanged>boolean</IsChanged>
<DataAccessRuleDTO>
<DataAccessRuleId>int</DataAccessRuleId>
<Name>string</Name>
<IsActive>boolean</IsActive>
<CreatedBy>string</CreatedBy>
<CreationDate>dateTime</CreationDate>
<LastUpdatedBy>string</LastUpdatedBy>
<LastUpdatedDate>dateTime</LastUpdatedDate>
<Guid>string</Guid>
<SiteId>int</SiteId>
<SynchStatus>boolean</SynchStatus>
<MasterEntityId>int</MasterEntityId>
<DataAccessDetailDTOList>
<DataAccessDetailDTO d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<DataAccessDetailDTO d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</DataAccessDetailDTOList>
<IsChanged>boolean</IsChanged>
</DataAccessRuleDTO>
</UsersDTO>
<UsersDTO>
<UserId>int</UserId>
<UserName>string</UserName>
<LoginId>string</LoginId>
<RoleId>int</RoleId>
<CardNumber>string</CardNumber>
<LastLoginTime>dateTime</LastLoginTime>
<LogoutTime>dateTime</LogoutTime>
<OverrideFingerPrint>string</OverrideFingerPrint>
<PasswordHash>base64Binary</PasswordHash>
<PasswordSalt>string</PasswordSalt>
<Password>string</Password>
<MasterEntityId>int</MasterEntityId>
<PosTypeId>int</PosTypeId>
<DepartmentId>int</DepartmentId>
<DepartmentName>string</DepartmentName>
<EmpStartDate>dateTime</EmpStartDate>
<EmpEndDate>dateTime</EmpEndDate>
<EmpEndReason>string</EmpEndReason>
<ManagerId>int</ManagerId>
<EmpLastName>string</EmpLastName>
<EmpNumber>string</EmpNumber>
<CompanyAdministrator>string</CompanyAdministrator>
<FingerNumber>int</FingerNumber>
<UserStatus>string</UserStatus>
<PasswordChangeDate>dateTime</PasswordChangeDate>
<InvalidAccessAttempts>int</InvalidAccessAttempts>
<LockedOutTime>dateTime</LockedOutTime>
<PasswordChangeOnNextLogin>boolean</PasswordChangeOnNextLogin>
<Email>string</Email>
<IsActive>boolean</IsActive>
<CreatedBy>string</CreatedBy>
<CreationDate>dateTime</CreationDate>
<LastUpdatedBy>string</LastUpdatedBy>
<LastUpdatedDate>dateTime</LastUpdatedDate>
<Guid>string</Guid>
<SiteId>int</SiteId>
<SynchStatus>boolean</SynchStatus>
<DateOfBirth>dateTime</DateOfBirth>
<PhoneNumber>string</PhoneNumber>
<ShiftConfigurationId>int</ShiftConfigurationId>
<SsoEnabled>boolean</SsoEnabled>
<UserIdentificationTagsDTOList>
<UserIdentificationTagsDTO>
<Id>int</Id>
<UserId>int</UserId>
<CardNumber>string</CardNumber>
<FingerPrint>string</FingerPrint>
<FingerNumber>int</FingerNumber>
<ActiveFlag>boolean</ActiveFlag>
<StartDate>dateTime</StartDate>
<EndDate>dateTime</EndDate>
<LastUpdatedBy>string</LastUpdatedBy>
<LastUpdatedDate>dateTime</LastUpdatedDate>
<Guid>string</Guid>
<SiteId>int</SiteId>
<SynchStatus>boolean</SynchStatus>
<MasterEntityId>int</MasterEntityId>
<AttendanceReaderTag>boolean</AttendanceReaderTag>
<CardId>int</CardId>
<CreatedBy>string</CreatedBy>
<CreationDate>dateTime</CreationDate>
<FPTemplate>base64Binary</FPTemplate>
<FPSalt>string</FPSalt>
<HRApprovalLogsDTOList d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<IsChanged>boolean</IsChanged>
</UserIdentificationTagsDTO>
<UserIdentificationTagsDTO>
<Id>int</Id>
<UserId>int</UserId>
<CardNumber>string</CardNumber>
<FingerPrint>string</FingerPrint>
<FingerNumber>int</FingerNumber>
<ActiveFlag>boolean</ActiveFlag>
<StartDate>dateTime</StartDate>
<EndDate>dateTime</EndDate>
<LastUpdatedBy>string</LastUpdatedBy>
<LastUpdatedDate>dateTime</LastUpdatedDate>
<Guid>string</Guid>
<SiteId>int</SiteId>
<SynchStatus>boolean</SynchStatus>
<MasterEntityId>int</MasterEntityId>
<AttendanceReaderTag>boolean</AttendanceReaderTag>
<CardId>int</CardId>
<CreatedBy>string</CreatedBy>
<CreationDate>dateTime</CreationDate>
<FPTemplate>base64Binary</FPTemplate>
<FPSalt>string</FPSalt>
<HRApprovalLogsDTOList d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<IsChanged>boolean</IsChanged>
</UserIdentificationTagsDTO>
</UserIdentificationTagsDTOList>
<UserPasswordHistoryDTOList>
<UserPasswordHistoryDTO>
<UserPasswordHistoryId>int</UserPasswordHistoryId>
<UserId>int</UserId>
<PasswordHash>base64Binary</PasswordHash>
<ChangeDate>dateTime</ChangeDate>
<SiteId>int</SiteId>
<Guid>string</Guid>
<SynchStatus>boolean</SynchStatus>
<PasswordSalt>string</PasswordSalt>
<MasterEntityId>int</MasterEntityId>
<CreatedBy>string</CreatedBy>
<CreationDate>dateTime</CreationDate>
<LastUpdatedBy>string</LastUpdatedBy>
<LastUpdateDate>dateTime</LastUpdateDate>
<IsChanged>boolean</IsChanged>
</UserPasswordHistoryDTO>
<UserPasswordHistoryDTO>
<UserPasswordHistoryId>int</UserPasswordHistoryId>
<UserId>int</UserId>
<PasswordHash>base64Binary</PasswordHash>
<ChangeDate>dateTime</ChangeDate>
<SiteId>int</SiteId>
<Guid>string</Guid>
<SynchStatus>boolean</SynchStatus>
<PasswordSalt>string</PasswordSalt>
<MasterEntityId>int</MasterEntityId>
<CreatedBy>string</CreatedBy>
<CreationDate>dateTime</CreationDate>
<LastUpdatedBy>string</LastUpdatedBy>
<LastUpdateDate>dateTime</LastUpdateDate>
<IsChanged>boolean</IsChanged>
</UserPasswordHistoryDTO>
</UserPasswordHistoryDTOList>
<IsChanged>boolean</IsChanged>
<DataAccessRuleDTO>
<DataAccessRuleId>int</DataAccessRuleId>
<Name>string</Name>
<IsActive>boolean</IsActive>
<CreatedBy>string</CreatedBy>
<CreationDate>dateTime</CreationDate>
<LastUpdatedBy>string</LastUpdatedBy>
<LastUpdatedDate>dateTime</LastUpdatedDate>
<Guid>string</Guid>
<SiteId>int</SiteId>
<SynchStatus>boolean</SynchStatus>
<MasterEntityId>int</MasterEntityId>
<DataAccessDetailDTOList>
<DataAccessDetailDTO d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<DataAccessDetailDTO d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</DataAccessDetailDTOList>
<IsChanged>boolean</IsChanged>
</DataAccessRuleDTO>
</UsersDTO>
</ArrayOfUsersDTO>