Edit Possible Task
This endpoint allows an admin user to edit an existing possible task.
PUT
/PossibleTask/EditPossibleTaskAuthorization
AuthorizationRequiredBearer <token>Authorization header using the Bearer scheme. Example: "Bearer {token}"
In: header
Query Parameters
TaskIdstringThe ID of the task to be edited, which must not be empty.
Format:
"uuid"DescriptionstringThe new description of the task, which must not be empty and cannot exceed 500 characters.
ShortDescriptionstringThe new short description of the task, which must not be empty and cannot exceed 50 characters.
PointsintegerThe new point value of the task, which must be greater than zero and not exceed 100.
Format:
"int32"IsActivebooleanA boolean indicating whether the task is active or not.
MaxPerPeriodintegerAn optional parameter specifying the maximum number of tasks that can be completed per period. If not provided, it defaults to null.
Format:
"int32"Returns the updated task.