PutEmployeeSchedule()

Description

Adds/updates the scheduled work time for an employee.

Return Value

EmployeeSchedule

Parameters
Remarks

EmployeeSchedule has the following structure:

Field

Type

Required

Description

Id

Integer

Yes

Id of the schedule record.

ObjectState

Enumeration

Yes

Indicates the status of the object.

-1 = Unchanged

0 = New/Added

1 = Changed

2 = Deleted

CardDate

Date

Yes

Date the work time is scheduled.

EmployeeId

Integer

Yes

Id of the employee for which the work time is scheduled.

WorkActivityId

Integer

Yes

Id of the work activity for which the employee is scheduled.

ResourceId

Integer

No

Id of the resource required for the scheduled work activity.

TimeIn

String

Yes

Scheduled start time, in military (HHMM) format.

TimeOut

String

Yes

Scheduled finish time, in military (HHMM) format.

Example

 


 

Contact Us | Send Feedback