Course Document View


Returns course document details.

QueryArguments

documentID integer The course document id.
enrollmentID integer The user enrollment id.
Definition:
 POST https://app.alphalearn.com/webapi/v1/document-view 
Example Request:
 curl -X POST \
  https://app.alphalearn.com/webapi/v1/document-view \
  -H 'authorization: Bearer {Authorization Token}' \
  -F {
      enrollmentID={enrollmentID},
      documentID={documentID},
    }
Example Response:
200 OK
{
    "success": true,
    "data": {
        "coursedocument": {
            "id": "integer",
            "version": "integer",
            "name": "string",
            "description": "string",
            "documentTypeID": "integer",
            "chapterID": "integer",
            "secure": "integer",
            "effectonprogress": "integer",
            "enrollmentID": "integer",
            "done": "boolean",
            "courseID": "integer",
            "subjectID": "integer",
            "gachapterevent": "string",
            "gadocumentevent": "string"
        },
        "url": "string"
    }     
   }
}