Approve Task
This endpoint allows an admin to approve a submitted task.
PUT
/SubmittedTask/ApproveTask
Authorization
Authorization
RequiredBearer <token>Authorization header using the Bearer scheme. Example: "Bearer {token}"
In: header
Query Parameters
TaskId
stringThe ID of the task to approve.
Format:
"uuid"
Points
integerThe number of points to award for the approved task.
Format:
"int32"
MaxPerPeriod
integerThe maximum points that can be awarded per period for this task. This parameter is optional.
Format:
"int32"
Returns the approved task with its details if the approval is successful.