PATCH
/
assignment-evaluation
/
v1
/
assignment
/
{id}
/
answer-sheet
/
{assignmentSheetId}
/
curl --request PATCH \
  --url https://api-staging.crazygoldfish.com/assignment-evaluation/v1/assignment/{id}/answer-sheet/{assignmentSheetId}/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form userType=1 \
  --form 'documents=[
  null
]' \
  --form isFinal=true
{
  "id": "57387c68-0706-4a9d-834a-237b6b63cb5d",
  "status": 0,
  "studentId": "12345",
  "name": "John Doe",
  "batchId": "batch_1",
  "sessionId": "session_1",
  "documents": [
    {
      "id": "bec0d0bf-fff6-40de-9750-65f5dcaf470d",
      "status": 1,
      "pageNo": 1,
      "uploadTime": "2025-04-06T09:04:11.716434Z",
      "url": "https://cgfblob.blob.core.windows.net/documents/assignment-evaluation/olfactory_imagery_HW_PDF_2_questions_1_H7dPCAd.pdf",
      "fileType": 1
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Unique identifier of the assignment

assignmentSheetId
string
required

Unique identifier of the answer sheet

Body

multipart/form-data

Response

200
application/json

Answer sheet uploaded successfully.

The response is of type object.