PATCH
/
evaluation-platform
/
v1
/
exam
/
{examId}
/
model-answer
/
{id}
curl --request PATCH \
  --url https://api-staging.crazygoldfish.com/evaluation-platform/v1/exam/{examId}/model-answer/{id}/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form isFinal=true
{
  "id": "287117d6-0135-4329-b5a7-d46e42948a14",
  "documents": [
    {
      "id": "10d5661d-df3a-4d22-aa58-fddfa1230040",
      "status": 1,
      "pageNo": null,
      "uploadTime": "2025-01-06T12:28:22.992639Z",
      "url": "https://cgfblob.blob.core.windows.net/ielts/evaluation/CBSE_10_Science_-_Mock_Test_A_Solutions.pdf",
      "fileType": 1
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

examId
string
required
Example:

"4340132f-50fa-4877-9ffa-e9b7ee59d51f"

id
string
required
Example:

"287117d6-0135-4329-b5a7-d46e42948a14"

Body

multipart/form-data
The details to update for the model answer.
documents
file

The model answer file to be uploaded.

isFinal
boolean

After successfully uploaded files pass this parameter as true for the extraction for your exam.

Example:

true

Response

200
application/json
Successful response
id
string

Unique identifier of the model answer

Example:

"287117d6-0135-4329-b5a7-d46e42948a14"

documents
object[]

List of documents associated with the model answer