Project

General

Profile

Actions

Defect #31288

open

Redmine API updating time entry

Added by Charlie Schaubmair almost 5 years ago. Updated almost 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

Updating a time entry:
http://www.redmine.org/projects/redmine/wiki/Rest_TimeEntries#Updating-a-time-entry
results always in a 404

I'm using Redmine 3.4.6.stable and was using:
PUT /time_entries/[id].xml

Other action like:
Creating a time entry
is working.

Also, Delete is not working and I tried it with JSON as a replacement for XML, but with the same response.

Then I removed the extension like this:
/time_entries/[id]
and I got a 422, but the response gives me a full HTML page with:

<p id="errorExplanation">Invalid form authenticity token.</p>

Actions

Also available in: Atom PDF