GetTimeOffPolicyDetailRuleInDataAction 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
GetTimeOffPolicyDetailRule(GetTimeOffPolicyDetailRuleIn) method. Below is a list of the available
DataAction name values that can used to return a dynamic results set
Example {
"AuthToken":"...==",
"DataAction":{
"Name":"SELECT-TOPD-ID",
"Values":["3"]
}
}
{
"Report": {
"APIVersion": "2.0",
"ProcessTime": "0.0438573",
"RequestTime": "/Date(1500504050192-0700)/",
"ResponseTime": "/Date(1500504050236-0700)/",
"Results": 2
},
"Results": [
{
"AccrualCap": 0,
"FromMonth": 0,
"HoursToAccrue": 0,
"HoursToAccrueType": 0,
"ID": 1,
"MaxCarryOverSecs": 0,
"NegativeMaxSecs": 0,
"StopAccrualAtCap": false,
"TimeOffPolicyDetailID": 1,
"ToMonth": 11,
"TransferOverageAllowed": false,
"TransferOverageFactor": 0,
"TransferRolloverAllowed": false,
"TransferRolloverFactor": 0,
"TransferRolloverMaxLimit": 0
},
{
"AccrualCap": 56,
"FromMonth": 12,
"HoursToAccrue": 522,
"HoursToAccrueType": 1,
"ID": 2,
"MaxCarryOverSecs": 454,
"NegativeMaxSecs": 545,
"StopAccrualAtCap": false,
"TimeOffPolicyDetailID": 1,
"ToMonth": 9999,
"TransferOverageAllowed": false,
"TransferOverageFactor": 0,
"TransferRolloverAllowed": false,
"TransferRolloverFactor": 0,
"TransferRolloverMaxLimit": 0
}
]
}
See Also