Update Course Document Status


Updates single course document status.

QueryArguments

documentID integer The course document id.
enrollmentID integer The user enrollment id.
courseID integer The course id.
subjectID integer The course subject id.
docStatus string pending/open
Definition:
 POST https://app.alphalearn.com/webapi/v1/update-document-status 
Example Request:
 curl -X POST \
  https://app.alphalearn.com/webapi/v1/update-document-status \
  -H 'authorization: Bearer {Authorization Token}' \
  -F {
      enrollmentID={enrollmentID},
      documentID={documentID},
      courseID={courseID},
      subjectID={subjectID},
      docStatus={docStatus}
    }
Example Response:
200 OK
{
    "success": true,
    "data": {
        "success": "Course document status updated."
    }
}