WSTimeOffPolicyGetTimeOffPolicy Method | |
Namespace: AppOne.Services.V2.MethodsAssembly: AppOne.Web.Service (in AppOne.Web.Service.dll) Version: 1.0.141
Syntax Remarks
Use this method to get a results list of
GetTimeOffPolicyModel Note |
---|
For a higher level overview of the business rules for labor-levels see the class WSTimeOffPolicy of this web method.
|
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