Click or drag to resize

UpdateUserTimeApprovalModel Class

This class is the model for adding a user time approval
Inheritance Hierarchy
SystemObject
  AppOne.Services.V2.ContractsUpdateUserTimeApprovalModel

Namespace: AppOne.Services.V2.Contracts
Assembly: AppOne.Web.Service (in AppOne.Web.Service.dll) Version: 1.0.141
Syntax
public class UpdateUserTimeApprovalModel

The UpdateUserTimeApprovalModel type exposes the following members.

Properties
 NameDescription
Public propertyCode exampleAdminApproved The property used to trigger time card approval for the admin
Public propertyCode exampleAdminApprovedBy The EmpIdentifier of the admin who approved the AdminApproved property
Public propertyCode exampleEmpApproved The property used to trigger time card approval by the employee
Public propertyCode exampleEmpIdentifier The Employee Number/Identifier for who the time card approval will apply
* Required Property
Public propertyCode exampleMgrApproved1 The property used to trigger time card approval for the primary manager or manager 1
Public propertyCode exampleMgrApproved1By The EmpIdentifier who approved the MgrApproved1 property
Public propertyCode exampleMgrApproved2 The property used to trigger time card approval for manager 2
Public propertyCode exampleMgrApproved2By The EmpIdentifier who approved the MgrApproved2 property
Public propertyCode exampleTimePreSliceID An in or out TimePreSliceIDs that should be updated
* Required Property
Top
Remarks
This class is the model for adding a user time approval.

Note  Note
Request Limits
The API will only allow a maximum of 100 approval updates to be sent in a single request. If you attempt to send more than 100 it will fail and you will receive a message indicating this If you need to approve greater than 100 items it is advised to send them in batches of 100 or less.

Business Rules:
Approving in and out punches is the core of the time-web system. The WSUserTimeApproval class encapsulate the needed methods/operations to interact with a users time entry approval process.

Setup:
Employee > Dashboard
Manager > Time Cards > Time Card Approvals

Example
See Also