Click or drag to resize

WSTimeOffTimeOffGetRequest Method


Namespace: AppOne.Web.Service.Services.V1R0.Customer
Assembly: AppOne.Web.Service (in AppOne.Web.Service.dll) Version: 1.0.141
Syntax
public List<TimeOffUserRequestModel> TimeOffGetRequest(
	TimeOffGetRequestParamsIn param
)

Parameters

param  TimeOffGetRequestParamsIn
A new TimeOffGetRequestParamsIn object

Return Value

ListTimeOffUserRequestModel
A List<TimeOffUserRequestModel> collection
Exceptions
ExceptionCondition
ServiceExceptionInvalid/missing data
Remarks
Use this method to get employees time off request data for a given date range with optional details.

Action

PropertyDescription
ActionALL: Use the string 'ALL' to return all user balances. This is the default value if no value is passed to the Action.
EMPID: Use the string 'EMPID' to filter on employee ids. Use the EmpIdentifiers property to pass in a list of employee ids.
Note  Note
Within the time off rules there is the concept of request data and detail data. Below are the differences between each:

PropertyDescription
Request: This data is higher level data such as the complete start and end times for a given duration and the total time taken for a request. A request can consist of several detail items. For example a request from 07/01/2000 to 07/03/2000 would have three separate detail items with one detail item to represent a single day.
Detail:This data is lower level data of which belong to a specific request where each detail will have one parent.

The IncludeDetails flag will return the details for every single day that was requested. Please only use this flag if the data is needed. The method [!:TimeOffGetRequestDetail] is a stream lined version for getting only details. Please use that method if you plan to get only detailed information.

Required Fields

* AuthToken
* StartDate
* EndDate

See Also