Webhooks

ProjectManagement > TimeRecord > Deletes

Subscription_type: project_management/time_record/delete

postWebhookWebhooks > ProjectManagement > TimeRecord > Deletes

Payload

idstring required

Id of the time record

project_worker_idstring required

Id of the project worker

employee_idstring required

Id of the employee the time record belongs to

project_idstring required

Id of the project the time record belongs to

attendance_shift_idstring

Id of the attendance shift

subproject_idstring

Id of the subproject

project_task_idstring

Id of the project task assigned to the time record. Refers to project_management/project_tasks endpoint.

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 payload

{
  "id": "1",
  "project_worker_id": "1",
  "employee_id": "31415",
  "project_id": "28172",
  "attendance_shift_id": "1",
  "subproject_id": "1",
  "project_task_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"
}

Response

Return a 200 status to indicate that the data was received successfully

Changes

Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.