timecard.reviewed
This event triggers whenever timecards are reviewed.
Event Type
Section titled “Event Type”timecards.reviewedEvent Payload
Section titled “Event Payload”{ "event": "timecards.reviewed", "data": { "timecards": [ { "timecard": { "data": { "Saturday": { "isoDate": "2023-01-01", "hours": 8, "description": "Description", "review": {}, "reviewComment": "Review comment" }, "Sunday": { "isoDate": "2023-01-02", "hours": 0, "description": "Description", "review": {}, "reviewComment": "Review comment" }, "Monday": { "isoDate": "2023-01-03", "hours": 8, "description": "Description", "review": {}, "reviewComment": "Review comment" }, "Tuesday": { "isoDate": "2023-01-04", "hours": 8, "description": "Description", "review": {}, "reviewComment": "Review comment" }, "Wednesday": { "isoDate": "2023-01-05", "hours": 8, "description": "Description", "review": {}, "reviewComment": "Review comment" }, "Thursday": { "isoDate": "2023-01-06", "hours": 8, "description": "Description", "review": {}, "reviewComment": "Review comment" }, "Friday": { "isoDate": "2023-01-07", "hours": 8, "description": "Description", "review": {}, "reviewComment": "Review comment" } }, "managerComments": "Manager comments", "projectId": "project-mno123pqr4567890", "projectName": "Project Name", "reviewedAt": "2023-01-01T00:00:00.000Z", "status": "draft", "taskId": "task-pqr123stu4567890", "taskName": "Task Name", "timesheetId": "placeholder", "userFullName": "User Full Name", "userId": "placeholder" }, "review": { "projectId": "project-mno123pqr4567890", "taskId": "task-pqr123stu4567890", "data": { "Saturday": { "date": "2023-01-01", "approved": true, "rejectionReason": "Rejection reason" }, "Sunday": { "date": "2023-01-02", "approved": false, "rejectionReason": "Not approved" }, "Monday": { "date": "2023-01-03", "approved": true, "rejectionReason": "Rejection reason" }, "Tuesday": { "date": "2023-01-04", "approved": true, "rejectionReason": "Rejection reason" }, "Wednesday": { "date": "2023-01-05", "approved": true, "rejectionReason": "Rejection reason" }, "Thursday": { "date": "2023-01-06", "approved": true, "rejectionReason": "Rejection reason" }, "Friday": { "date": "2023-01-07", "approved": true, "rejectionReason": "Rejection reason" } }, "comments": "Comments" } } ] }}Give Feedback
Section titled “Give Feedback”At Crewsum we take customer feedback very seriously. If you find anything wrong with this documentation or would like to request a feature, please reach out to sunny.avery@crewsum.com.