Get Possible Task

This endpoint retrieves a possible task by its ID.

GET/PossibleTask/GetPossibleTask

Authorization

AuthorizationRequiredBearer <token>

Authorization header using the Bearer scheme. Example: "Bearer {token}"

In: header

Query Parameters

TaskIdstring

The ID of the task to be retrieved, which must not be empty.

Format: "uuid"
curl -X GET "https://example.com/PossibleTask/GetPossibleTask?TaskId=497f6eca-6276-4993-bfeb-53cbbbba6f08" \
  -H "Authorization: Bearer <token>"

Returns the possible task with the specified ID.

{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "description": "string",
  "shortDescription": "string",
  "points": 1,
  "isActive": true,
  "maxPerPeriod": 0
}