Projektzeitbuchung starten
POST /ws/2.0/project_time/start.json
Beispiel
Anfrage: POST /ws/2.0/project_time/start.json
{
"project": 1,
"task": 2,
"comment": "Updated project proposal",
"duration": 1800
}
Antwort: 200 OK
{
"id": 47,
"date": "2011-10-25T00:00:00",
"employee": 32,
"employeeName": "Joachim Maier",
"status": 1,
"project": 1,
"projectName": "Graphix Website",
"task": 2,
"taskName": "Documentation",
"duration": 1800,
"comment": "Updated project proposal",
"begin": null,
"end": null,
"billable": true,
"costPerHour": 70,
"isBilled": false,
"pausedSince": null
}
HTTP-Statuscodes
Statuscode | Beschreibung |
---|---|
200 OK | Die Anfrage war erfolgreich. |
400 Bad Request | Die Anfrage hat ein ungültiges Format. |
403 Forbidden | Sie haben keine Berechtigung, diese Buchung zu starten. |