Set time spent by a person on a task for a given day.

POST /actions/tasks/{task_id}/time-spents/{date}/persons/{person_id}

Path parameters

Body

Responses

  • Time spent by given person on given task for given day is set

  • Wrong date format

POST /actions/tasks/{task_id}/time-spents/{date}/persons/{person_id}
curl \
 -X POST http://localhost:8080/api/actions/tasks/{task_id}/time-spents/{date}/persons/{person_id} \
 -d '{"duration":"string"}'
Request examples
{
  "duration": "string"
}