Projektzeitbuchung pausieren
PUT /ws/2.0/project_time/pause/{id}.json
Der Parameter id
gibt die ID der zu pausierenden Projektzeitbuchung an.
Beispiel
Anfrage: PUT /ws/2.0/project_time/pause/12.json
{
"comment": "Updated project proposal"
}
Antwort: 200 OK
{
"id": 12,
"date": "2011-10-25T00:00:00",
"employee": 32,
"employeeName": "Joachim Maier"
"status": 1,
"project": 1,
"projectName": "Graphix Website",
"task": 2,
"taskName": "Documentation",
"duration": 1836,
"comment": "Updated project proposal",
"begin": null,
"end": null,
"billable": true,
"costPerHour": 70,
"isBilled": false,
"pausedSince": "2011-10-25T14:34:32"
}
HTTP-Statuscodes
Statuscode | Beschreibung |
---|---|
200 OK | Die Anfrage war erfolgreich. |
400 Bad Request | Die Anfrage hat ein ungültiges Format. |
403 Forbidden | Diese Buchung ist bereits abgeschlossen oder Sie haben keine Berechtigung, diese Projektzeitbuchung zu pausieren. |