POST
/
public
/
submit-user-course-item
curl --request POST \
  --url https://backend.codedamn.com/api/public/submit-user-course-item \
  --header 'Content-Type: application/json' \
  --header 'FERMION-API-KEY: <api-key>' \
  --data '{
  "data": [
    {
      "data": {
        "courseItemId": "<string>",
        "userId": "<string>",
        "shouldMarkAsCompleted": true,
        "details": {
          "courseItemType": "Quiz",
          "questionsToUpsert": [
            {
              "questionUniqueId": "<string>",
              "newSelectedOptionIds": [
                "<string>"
              ]
            }
          ]
        }
      }
    }
  ]
}'
[
  {
    "output": {
      "status": "ok",
      "data": {}
    }
  }
]

Authorizations

FERMION-API-KEY
string
header
required

Body

application/json

API Request Body

The body is of type object.

Response

200 - application/json

API Response Body

The response is of type object[].