v1

latestOpenAPI 3.1.02026-07-26549156879.0 KB
ProjectManagement > TimeRecord

Bulk deletes a Time record

What does it do?

This endpoint is used to bulk delete all the time records in a particular date for a specific project_worker_id.

post/api/2026-07-01/resources/project_management/time_records/bulk_delete

Request body

datestring required
project_worker_idstring required
subproject_idstring

Response

OK

idstring required

Id of the time record

project_worker_idstring required

Id of the project worker

attendance_shift_idstring

Id of the attendance shift

subproject_idstring

Id of the subproject

datestring

Reference date of the shift

imputed_minutesinteger

Minutes difference between the clock in and clock out

clock_instring

Clock in time

clock_outstring

Clock out time

observationsstring

Comment for the time record

Example response

[
  {
    "id": "1",
    "project_worker_id": "1",
    "attendance_shift_id": "1",
    "subproject_id": "1",
    "date": "2021-01-01",
    "imputed_minutes": 480,
    "clock_in": "2021-01-01T08:00:00Z",
    "clock_out": "2021-01-01T17:00:00Z",
    "observations": "Comment for the time record"
  }
]