Reject Task

This endpoint allows an admin to reject a submitted task.

PUT
/SubmittedTask/RejectTask
AuthorizationBearer <token>

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

In: header

Query Parameters

TaskId?string

The ID of the task to reject.

Formatuuid
Reason?string

The reason for rejecting the task.

Response Body

curl -X PUT "https://loading/SubmittedTask/RejectTask"
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "possibleTaskId": "dec4e134-0e4f-4745-bba5-4adfb532ca18",
  "submittedAt": "2019-08-24T14:15:22Z",
  "committee": "string",
  "imagePath": "string",
  "status": "Pending",
  "points": 1,
  "rejectionReason": "string",
  "maxPerPeriod": 0
}
Empty
Empty
Empty
Empty