ServiceRouterGetUserLogins Method | |
Namespace: AppOne.Services.V2Assembly: AppOne.Web.Service (in AppOne.Web.Service.dll) Version: 1.0.141
Syntax Remarks
Use this method to get a results list of
UserLoginModel Caution |
---|
Due to the amount of data present in some accounts, this request is limited to returning seven days of data at a time (in our largest accounts this is equivalent to
roughly 4,000 records. Submitting a request for more than 7 days will throw an error message indicating that a shorter date range is necessary.
|
Note |
---|
System Generated Records are excluded from the results returned.
|
DataAction Names
Name | Description | Values Example |
---|
SELECT-ALL | Returns all user groups in system regardless of any state. | [ignored] |
SELECT-BY-EMPID | Returns All User Logins in the specified range that match a specified set of Emp Identifiers | "EE1","EE2","3" |
SELECT-BY-USERID | Returns All User Logins in the specified range that match a specified set of UserID's | 1,2,3,4 |
SELECT-BY-IP | Returns All User Logins in the specified range that match a specified set of IP Addresses | "1.1.1.1","1.1.1.2" |
SELECT-BY-USERLOGINID | Returns All User Logins in the specified range that match a specified set of UserInfoLoginDetail ID's | 105010,105011 |
Sort Options (Optional)
Name | Description |
---|
DateTimeUTC | (DEFAULT) All records are returned sorted by the DateTimeUTC value |
IP | All records are returned sorted by the DateTimeUTC value and then the IP address |
UserInfoLoginDetailID | All records are returned sorted by the DateTimeUTC value and then the UserInfoLoginDetailID |
EmpIdentifier | All records are returned sorted by the DateTimeUTC value and then the Emp Identifier (Alphabetical/Ascending) |
FirstName | All records are returned sorted by the DateTimeUTC value and then the Employee First Name (Alphabetical/Ascending) |
LastName | All records are returned sorted by the DateTimeUTC value and then the Employee Last Name (Alphabetical/Ascending) |
SourceType | All records are returned sorted by the DateTimeUTC value and then the Source Type of the login |
UserType | All records are returned sorted by the DateTimeUTC value and then the User Type |
Example {
"AuthToken":"...",
"Start":"\/Date(1553090478000)\/",
"End":"\/Date(1553522478000)\/",
"SortOption":null,
"DataAction":{
"Name":"SELECT-ALL",
"Values":[""]
}
}
{
"Report": {
"APIVersion": "2.0",
"ProcessTime": "0.1088528",
"RequestTime": "/Date(1554394336834+0000)/",
"ResponseTime": "/Date(1554394336931+0000)/",
"Results": 9
},
"Errors": null,
"Results": [
{
"DateTimeServer": "03/21/2019 14:17:49",
"DateTimeUTC": "03/21/2019 14:17:49",
"DateTimeUser": "03/21/2019 10:17:49",
"EmpIdentifier": "EE2",
"FirstName": "James",
"LastName": "Doe",
"MiddleName": "",
"Source": "Site",
"UserID": 1,
"UserIP": "10.0.1.2",
"UserInfoLoginDetailID": 14909,
"UserTimeZone": "Eastern Standard Time",
"UserType": "Employee"
}
}
See Also