GetUserTimeOnStatusBoardInDataAction 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.ContractsAssembly: AppOne.Web.Service (in AppOne.Web.Service.dll) Version: 1.0.141
Syntax public DataAction DataAction { get; set; }
function get_DataAction();
function set_DataAction(value);
Property Value
DataActionRemarks
The DataAction property is required to get results from
GetUserTimeOnStatusBoard(GetUserTimeOnStatusBoardIn) method. Below is a list of the available
DataAction name values that can used to return a dynamic results set
DataAction Names
Name | Description | Values Example |
---|
SELECT-EMPID | Returns only the users with the specified employee ID passed in the values property. | "abc-123","123","efg"... |
Note |
---|
If an invalid value is passed into the values parameter then it will be ignored at lookup time. For example if an EmpIdentifer of "777" is passed in and the value does not
exist in the system then it will just be skipped.
|
Example {
"AuthToken":"...",
"DataAction":{
"Name":"SELECT-EMPID",
"Values":["1234", "1337"]
}
}
{
"Report": {
"APIVersion": "2.0",
"ProcessTime": "0.0208182",
"RequestTime": "/Date(1505332512103-0700)/",
"ResponseTime": "/Date(1505332512123-0700)/",
"Results": 2
},
"Results": [{
"LL01ID": 6,
"LL02ID": 7,
"LL03ID": 0,
"LL04ID": 0,
"LL05ID": 0,
"LL06ID": 0,
"LL07ID": 0,
"LL08ID": 0,
"LL09ID": 0,
"LL10ID": 0,
"LL11ID": 0,
"LL12ID": 0,
"LL13ID": 0,
"LL14ID": 0,
"LL15ID": 0,
"LastTransactionDate": "09/13/2017 08:00",
"LastTransactionDateResult": "/Date(1505314800000-0700)/",
"LastTransactionType": "Clock In",
"LastTransctionTypeID": 2,
"EmpIdentifier": "1234"
},
{
"LL01ID": 0,
"LL02ID": 0,
"LL03ID": 0,
"LL04ID": 0,
"LL05ID": 0,
"LL06ID": 0,
"LL07ID": 0,
"LL08ID": 0,
"LL09ID": 0,
"LL10ID": 0,
"LL11ID": 0,
"LL12ID": 0,
"LL13ID": 0,
"LL14ID": 0,
"LL15ID": 0,
"LastTransactionDate": "09/13/2017 07:00",
"LastTransactionDateResult": "/Date(1505311200000-0700)/",
"LastTransactionType": "Clock In",
"LastTransctionTypeID": 2,
"EmpIdentifier": "1000"
}
]
}
See Also