Click or drag to resize

ServiceRouterGetTimeOffPolicyDetailRule Method

Returns a GetTimeOffPolicyDetailRuleOut response with a result model List<GetTimeOffPolicyDetailRuleModel>

Namespace: AppOne.Services.V2
Assembly: AppOne.Web.Service (in AppOne.Web.Service.dll) Version: 1.0.141
Syntax
public GetTimeOffPolicyDetailRuleOut GetTimeOffPolicyDetailRule(
	GetTimeOffPolicyDetailRuleIn input
)

Parameters

input  GetTimeOffPolicyDetailRuleIn
A new GetTimeOffPolicyDetailRuleIn object

Return Value

GetTimeOffPolicyDetailRuleOut
A GetTimeOffPolicyDetailRuleOut object
Remarks
Use this method to get a results list of GetTimeOffPolicyDetailRuleModel

Note  Note
For a higher level overview of the business rules for labor-levels see the class WSTimeOffPolicy of this web method.

DataAction Names

NameDescriptionValues Example
SELECT-TOPD-ID Returns only the time off policy details rules for the specified ID.
To get a list of Time Off Policy Details IDs (TOPD-ID) values see GetTimeOffPolicyDetail(GetTimeOffPolicyDetailIn)
4,8,95...
Example
JSON Request
{
    "AuthToken":"...==",
    "DataAction":{
        "Name":"SELECT-TOPD-ID",
        "Values":["3"]
    }
}
JSON Response
{
   "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