modifyTimeRecord

Modifies an existing time record.

Use this method to modify an existing time record by overwriting it with the contents of a new TimeRecord object. (Use the updateTimeValue method for a simpler way to modify just the hours of an existing time record.)

Arguments

Name Type Description
skey string

id string

The ID of the time record to modify.

rec TimeRecord

The modified time record.

Return

The modifyTimeRecord method returns zero (an integer).