Submit Task

This endpoint allows users to submit a task for a committee.

POST
/SubmittedTask/SubmitTask
AuthorizationBearer <token>

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

In: header

TaskIdstring

The unique identifier for the task being submitted. This property is required and indicates which possible task the submission relates to.

Formatuuid
Committeestring

The name of the committee to which the task is being submitted. This property is required and indicates which committee the task is being submitted to for review.

Imagestring

The image file associated with the task submission. This property is required and represents the image that the user uploads as part of the task submission process. It is expected to be an IFormFile, which allows for file uploads in ASP.NET Core applications.

Response Body

curl -X POST "https://loading/SubmittedTask/SubmitTask" \  -F TaskId="b3d8ce70-cf1f-4149-9551-87b990d03d9a" \  -F Committee="string" \  -F Image="string"
{
  "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