Smenso icon

Smenso

Interact with the smenso project management API

Time Record → Update

AI-generated

Summary

Update an existing time record in a specified project using either its GUID or external ID to identify it.

Inputs

  • Time Record ID (required) — Specify the GUID or external ID of the time record to update.
  • Project ID (required) — Specify the GUID of the project associated with the time record.
  • Use External ID — Set to true to treat the Time Record ID as an external ID instead of a GUID.
  • Update Fields — Provide one or more fields to update on the time record, including Duration (minutes), Start Date/Time, End Date/Time, Locked status, and Timezone ID.

Output shape

a JSON object representing the updated time record(s) returned from the API.

Updates are sent via PUT request with the time record identified by the given ID in the request body. The response includes the updated time record data. Timezone ID defaults to 'W. Europe Standard Time' if not provided.

Examples

Example 1: Update time record with new duration and lock status

Provide Time Record ID, Project ID, and Update Fields with Duration and Locked set.

Links

Discussion