Update

Operation: Update

Updates an existing time entry.


POST /api/v01/WorkLog/rest/Update
Content-Type: application/json


Request body

FieldTypeRequiredDescription
WorkLogData.WorkLogKeyFieldstringyesWork log leading key name: WorkLogID or IntegrationID
WorkLogData.WorkLogID or WorkLogIntegrationIDstringper WorkLogKeyFieldWork log key
WorkLogData.TaskKeyFieldstringyesTask leading key name
WorkLogData.TaskID / TaskKey / TaskIntegrationIDstringper TaskKeyFieldTask key (the log can be re-linked to a different task)
WorkLogData.WorkLogUserIDstringnoUser
WorkLogData.WorkLogDateTimeStartStringstringnoNew log start time
WorkLogData.WorkLogDurationnumbernoNew duration in seconds
WorkLogData.WorkLogDescriptionstringnoDescription


Validation

  • WorkLogKeyField must equal WorkLogID or IntegrationID; the corresponding field must be populated.
  • WorkLogID = '0' is considered invalid.
  • TaskKeyField is required; the corresponding task key must be populated.


Response

{
  "status": "Success",
  "statusCode": 200,
  "details": { "WorkLogID": "0000000789" }
}