2.2 Review work hours

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

API Documentation

Review of operator working hours: approve or reject.

Media type

  • application/json

Path parameters

Parameter

Type

Description

Required

Parameter

Type

Description

Required

action

String

approve:Pass;

reject:reject;

Required

Request example

{ "worklogIds": "10304,10305", "reason": "Date error", "runAs": "bruce" }

Request BODY Details

Parameter

Type

Description

Required

Default Value

Parameter

Type

Description

Required

Default Value

worklogIds

String

The ID of the work log, separated by commas if multiple.。

Required

 

reason

String

Reason for approval or rejection. Required when rejecting.

Not required

 

runAs

String

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

Required

 

Return Example

{ "msg": "ok" }