v1

Swagger 2.02026-07-13107162315.5 KB
TimesheetApproval

Rejects a batch of pending or approved timesheet entries by their TimeSheetEntryIDs. Invoiced or paid entries cannot be rejected. Caller must have the Timesheet Approver role and permission to reject each specific entry. By default sends a rejection notification email per affected timesheet user; set SendNotifications=false to suppress.

post/api/Timesheets/Reject

Request body

TimeSheetEntryIDsinteger[]

(Required) List of TimeSheetEntryIDs to reject. 1-500 unique positive integers.

RejectionReasonstring

(Optional) Free-text rejection reason included in the rejection notification email. Max 1000 characters.

SendNotificationsboolean

(Optional) When true (default), sends the standard rejection notification email to each affected timesheet user. Set to false to suppress emails.

Response

Returns a summary and per-entry results.