Click or drag to resize

GetUserLoginInDataAction Property

A simple query abstraction layer used to provide a mechanism by which methods can make simple query calls to various models.
* Required Property

Namespace: AppOne.Services.V2.Contracts
Assembly: AppOne.Web.Service (in AppOne.Web.Service.dll) Version: 1.0.141
Syntax
public DataAction DataAction { get; set; }

Property Value

DataAction
Remarks
The DataAction property is required to get results from GetUserLoginDetail(GetUserLoginIn) method. Below is a list of the available DataAction name values that can used to return a dynamic results set

DataAction Names

NameDescriptionValues Example
SELECT-ALLReturns all user groups in system regardless of any state.[ignored]
SELECT-BY-EMPIDReturns All User Logins in the specified range that match a specified set of Emp Identifiers"EE1","EE2","3"
SELECT-BY-USERIDReturns All User Logins in the specified range that match a specified set of UserID's1,2,3,4
SELECT-BY-IPReturns 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-USERLOGINIDReturns All User Logins in the specified range that match a specified set of UserInfoLoginDetail ID's105010,105011
Example
JSON Request
{
    "AuthToken":"...",
    "Start":"\/Date(1553090478000)\/",
    "End":"\/Date(1553522478000)\/",
    "SortOption":null,
    "DataAction":{
        "Name":"SELECT-ALL",
        "Values":[""]
    }
}
JSON Response
{
    "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