Skip to main content
PUT
Approve or Reject Approval Request

Authorizations

X-Api-Key
string
header
required

Path Parameters

timesheet_id
number
required

Timesheet ID

Example:

148562535

Body

application/json
days
object
status
enum<string>
Available options:
approved,
rejected
Example:

"approved"

comment
string
Example:

"some text"

sendNotification
boolean
Example:

false

Response

OK

id
number

Timesheet ID

Example:

148562535

user
number

User ID

Example:

14856

weekId
number
Example:

2535

reviewer
number

Reviewer User ID

Example:

14854

history
object[]
status
enum<string>
Available options:
pending,
rejected,
approved,
partial_approved,
discarded
totalTime
integer | null

Total approved time in seconds.