PATCH
/
assignment-evaluation
/
v1
/
assignment
/
{id}
/
model-answer
/
{modelAnswerId}
/
curl --request PATCH \
  --url https://api-staging.crazygoldfish.com/assignment-evaluation/v1/assignment/{id}/model-answer/{modelAnswerId}/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form userType=1 \
  --form rubricId=2b973c83-2830-4712-87b7-64a8c0a99035 \
  --form isFinal=true \
  --form 'documents=[
  null
]'
{
  "id": "3b27e0be-f9e8-4c4d-977b-b315bfb292ab",
  "documents": [],
  "rubric": {
    "id": "2b973c83-2830-4712-87b7-64a8c0a99035",
    "name": "English Rubrics",
    "description": null,
    "rubricCriteria": [
      {
        "id": "d102b0ff-1111-4235-b8e9-764ef03c57cb",
        "name": "Confidence & fluency in speaking",
        "description": "",
        "maxScore": "5 Star",
        "minScore": "1 Star",
        "scoringLogic": [
          {
            "score": "5 Star",
            "scoringLogic": "Speaking: Reflects poise & confidence. Great body language, eye contact."
          }
        ],
        "createdAt": "2023-10-01T12:00:00Z",
        "modifiedAt": "2023-10-01T12:00:00Z"
      }
    ],
    "createdAt": "2023-10-01T12:00:00Z",
    "modifiedAt": "2023-10-01T12:00:00Z"
  },
  "status": 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

modelAnswerId
string
required

Unique identifier of the model answer

Body

multipart/form-data

Response

200
application/json

Model answer sheet updated successfully.

The response is of type object.