paymo.entries.update
Update a timesheet entry. Only fields that are send as arguments will be updated.
Note: Only entries from the authenticated user's timesheet can be updated.
Authentication
This method requires authentication.
Note: This method requires an HTTP POST request.
Arguments
api_key (Required)
- Your application key. See here for more details.
auth_token (Required)
- Authentication token received upon login.
entry_id (Required)
- The ID of the entry to edit.
start (Required)
- Start time.
end (Required)
- End time.
task_id (Optional)
- ID of the task the entry refers to.
added_manually (Optional)
- 0 if the entry was added using a stopwatch technique, 1 otherwise.
description (Optional)
- Description info about the entry.
Example Response
This method has no specific response. It returns an empty success response if it completes without error.
Error Codes
101: Unknown API method
- The requested method was not found.
102: Unknown response format
- The requested response format was not found.
103: Invalid API Key
- The API key passed was not valid.
104: Invalid auth token / Login failed
- The login details or auth token passed were invalid.
105: Insufficient permissions
- The user making the method call did not have the required permissions.
106: Service currently unavailable
- The service is temporarily unavailable.
107: Too many requests for this API key
- The application has reached the limit for number of API calls during a specific time period. Wait a bit and try again.
108: HTTP POST request expected
- The method required that parameters are sent using an HTTP POST request.
204: Task not found
- The task with given ID was not found.
217: Invalid start time
- The start time was not a valid time value. Check date and time formats.
218: Invalid end time
- The end time was not a valid time value.
219: Time entry overlap
- The time entry overlaps with existing ones for currently authenticated user.