Reject Resource TimeSheet Approval Request

Rejects a specific resource's timesheet approval request for a specific week.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

x-integration-namestringOptional
The name of the calling system passed along as a header parameter

Request

The data for rejecting the approval request
datestringRequiredformat: "date-time"
The date of the week to which the timesheet applies
reasonstringRequired>=1 character
The reason why the timesheet approval is being rejected
resourceIdstringOptionalformat: "uuid"

The id for the resource, if null it indicates the request is for the current logged-in user

Response

Success
errorobject or null
If the API call failed, this will contain information about the error that occurred.
successboolean or null

True if the API call succeeded; false otherwise.

hasErrorboolean or null
True if the API call failed.
statusCodeobject or null
The HTTP code of the response.
dataobject or null
Holds the list of pending timesheet approvals