Click or drag to resize

GetTimeOffPolicyDetailInDataAction 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 GetTimeOffPolicyDetail(GetTimeOffPolicyDetailIn) 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 time off policies in system regardless of any state.[ignored]
SELECT-TOP-ID Returns only the time off policies with the specified TimeOffPolicy-ID (TOP).
For a list of TOP IDs GetTimeOffPolicy(GetTimeOffPolicyIn)
"4","8","95"...
Example
JSON Request
{
    "AuthToken":"...==",
    "DataAction":{
        "Name":"SELECT-ALL",
        "Values":[""]
    }
}
JSON Response
{
    "Report": {
        "APIVersion": "2.0",
        "ProcessTime": "0.0343951",
        "RequestTime": "/Date(1497908084639-0700)/",
        "ResponseTime": "/Date(1497908084674-0700)/",
        "Results": 2
    },
    "Results": [
        {
            "AccrualCustomFreq": 0,
            "AccrualCustomFreqRefDate": "/Date(1496176965347-0700)/",
            "AccrualCustomFreqType": 0,
            "AccrualFreqType": 0,
            "AccrualTimeAtType": 0,
            "AccrueBeforeEmployeeStart": false,
            "AdjustmentExceedCapAllowed": false,
            "AutoResetQualifyByHoursWorked": true,
            "CalculationType": 0,
            "DeductUnpaidTimeFromBalance": false,
            "DoNotAllowTORBelowMaxNegative": false,
            "EmpDashDisplayEnabled": false,
            "EndDateTime": "/Date(4102556399000-0700)/",
            "ExcludeOvertimeFromHoursWorked": false,
            "GrantCustomFreq": 0,
            "GrantCustomFreqRefDate": "/Date(1496176965347-0700)/",
            "GrantCustomFreqType": 0,
            "GrantFirstThenRolloverEnabled": false,
            "GrantFreqType": 0,
            "GrantTimeAtType": 0,
            "HideBalanceOnEmpTOR": false,
            "ID": 4,
            "IsDefaultOnEmpDash": true,
            "MaxAllowedUsedSecs": 0,
            "MaxNegativeIncludeFutureTOR": false,
            "MaxNegativeOnRemainingEnabled": false,
            "PayTypeID": 3,
            "QualifyMinWorkFreq": 0,
            "QualifyMinWorkFreqType": 0,
            "QualifyMinWorkRequired": false,
            "QualifyMinWorkSecs": 0,
            "ResetDateOther": "/Date(-2208963600000-0700)/",
            "ResetDateType": 0,
            "RestrictAccrualPeriod": 0,
            "RestrictAccrualPeriodType": 0,
            "RestrictMinWorkRequired": false,
            "RestrictMinWorkSecs": 0,
            "RestrictProbationPeriod": 0,
            "RestrictProbationPeriodType": 0,
            "RestrictUsedHoursEnabled": false,
            "SeniorityDateType": 0,
            "StartDateTime": "/Date(1496127600000-0700)/",
            "TORAllowed": false,
            "TORBalanceAdjustmentType": 0,
            "TimeOffPolicyID": 8,
            "UseProjectedAvailableBalance": false,
            "WorkHoursRequiredForAccrual": 0,
            "WorkYearHours": 0,
            "IsDeleted": false,
            "LimitAnnualAccrual": false
        },
        {
            "AccrualCustomFreq": 2,
            "AccrualCustomFreqRefDate": "/Date(1496214000000-0700)/",
            "AccrualCustomFreqType": 6,
            "AccrualFreqType": 6,
            "AccrualTimeAtType": 1,
            "AccrueBeforeEmployeeStart": true,
            "AdjustmentExceedCapAllowed": true,
            "AutoResetQualifyByHoursWorked": false,
            "CalculationType": 1,
            "DeductUnpaidTimeFromBalance": true,
            "DoNotAllowTORBelowMaxNegative": true,
            "EmpDashDisplayEnabled": true,
            "EndDateTime": "/Date(4102556399000-0700)/",
            "ExcludeOvertimeFromHoursWorked": false,
            "GrantCustomFreq": 1,
            "GrantCustomFreqRefDate": "/Date(-2208963600000-0700)/",
            "GrantCustomFreqType": 0,
            "GrantFirstThenRolloverEnabled": true,
            "GrantFreqType": 0,
            "GrantTimeAtType": 1,
            "HideBalanceOnEmpTOR": true,
            "ID": 3,
            "IsDefaultOnEmpDash": true,
            "MaxAllowedUsedSecs": 7200,
            "MaxNegativeIncludeFutureTOR": true,
            "MaxNegativeOnRemainingEnabled": true,
            "PayTypeID": 21,
            "QualifyMinWorkFreq": 1,
            "QualifyMinWorkFreqType": 0,
            "QualifyMinWorkRequired": false,
            "QualifyMinWorkSecs": 3600,
            "ResetDateOther": "/Date(946710000000-0700)/",
            "ResetDateType": 2,
            "RestrictAccrualPeriod": 1,
            "RestrictAccrualPeriodType": 1,
            "RestrictMinWorkRequired": true,
            "RestrictMinWorkSecs": 36000,
            "RestrictProbationPeriod": 0,
            "RestrictProbationPeriodType": 0,
            "RestrictUsedHoursEnabled": true,
            "SeniorityDateType": 0,
            "StartDateTime": "/Date(1344495600000-0700)/",
            "TORAllowed": true,
            "TORBalanceAdjustmentType": 0,
            "TimeOffPolicyID": 7,
            "UseProjectedAvailableBalance": false,
            "WorkHoursRequiredForAccrual": 77,
            "WorkYearHours": 99,
            "IsDeleted": false,
            "LimitAnnualAccrual": true
        }
    ]
}
See Also