2.5 Withdraw approved working hours: process application

post /rest/shdsd-Timesheet/3/auditLog/revokeAuditing/{worklogId}/{action}

API Documentation

Action for processing the application: approve or reject.

Media type

  • application/json

Path parameters

Parameter

Type

Description

Required

Parameter

Type

Description

Required

worklogId

Number

The ID of the work log.

Required

action

String

approve:Agree;

reject:Reject。

Required

Request example

{ "reason": "No modification needed", "runAs": "bruce" }

Request BODY Details

Parameter

Type

Description

Required

Default Value

Parameter

Type

Description

Required

Default Value

reason

String

Reason for approval or rejection.

Not required

 

runAs

String

A single username to perform this operation on behalf of the user.

Required

 

Return Example

{ "msg": "ok" }