GetTimeOffPolicyInDataAction 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
GetTimeOffPolicy(GetTimeOffPolicyIn) 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-ALL | Returns all time off policies in system regardless of any state. | [ignored] |
SELECT-ID | Returns only the time off policies with the specified ID. | 4,8,95... |
Example {
"AuthToken":"...==",
"DataAction":{
"Name":"SELECT-ALL",
"Values":[""]
}
}
{
"Report": {
"APIVersion": "2.0",
"ProcessTime": "0.0093046",
"RequestTime": "/Date(1496171614317-0700)/",
"ResponseTime": "/Date(1496171614326-0700)/",
"Results": 2
},
"Results": [
{
"DefaultTORToSecs": 3600,
"HideAccrued": false,
"HideGranted": false,
"HideIncludeWeekends": false,
"ID": 7,
"MinTORRestrictionEnabled": true,
"MinTORSecs": 3600,
"Name": "AZ Policy"
},
{
"DefaultTORToSecs": 0,
"HideAccrued": false,
"HideGranted": false,
"HideIncludeWeekends": false,
"ID": 8,
"MinTORRestrictionEnabled": false,
"MinTORSecs": 0,
"Name": "PTO"
}
]
}
See Also