GET api/DriiveAcademy/DriverCourse/{driverCourseId}
Get driver courses by id
Request Information
URI Parameters
| Name | Description | Type | Additional information | 
|---|---|---|---|
| driverCourseId | 
                         The id queried  | 
                    integer | 
                                 Required  | 
                
Body Parameters
None.
Response Information
Resource Description
DriverCourseResponse| Name | Description | Type | Additional information | 
|---|---|---|---|
| Id | 
                         The driver course id  | 
                    integer | 
                             None.  | 
                
| StartDate | 
                         When the course can be started  | 
                    date | 
                             None.  | 
                
| EndDate | 
                         When the course expires  | 
                    date | 
                             None.  | 
                
| Attempts | 
                         The number of attempts at a course  | 
                    integer | 
                             None.  | 
                
| LastAttemptedDate | 
                         When the course was last attempted  | 
                    date | 
                             None.  | 
                
| CertificateURL | 
                         The url for a certificate  | 
                    string | 
                             None.  | 
                
| Score | 
                         The score for the course  | 
                    integer | 
                             None.  | 
                
| SurveyJSJson | 
                         A new course json with random questions  | 
                    string | 
                             None.  | 
                
| VideoURL | 
                         The video URL  | 
                    string | 
                             None.  | 
                
| Title | 
                         The course title  | 
                    string | 
                             None.  | 
                
| Introduction | 
                         The course introduction  | 
                    string | 
                             None.  | 
                
| Status | 
                         The course status  | 
                    DriiveAcademyCourseStatus | 
                             None.  | 
                
| CourseType | 
                         The couse type  | 
                    DriiveAcademyCourseType | 
                             None.  | 
                
| LastSurveyJSQuestionsJson | 
                         The questions from the last attempt  | 
                    string | 
                             None.  | 
                
| LastSurveyJSResponsesJson | 
                         The responses made on the last attempt  | 
                    string | 
                             None.  | 
                
| PdfURL | 
                         The pdf url, used by toolbox courses  | 
                    string | 
                             None.  | 
                
Response Formats
application/json, text/json
            Sample:
        
{
  "Id": 1,
  "StartDate": "2025-11-04T14:32:57.930361+00:00",
  "EndDate": "2025-11-04T14:32:57.930361+00:00",
  "Attempts": 4,
  "LastAttemptedDate": "2025-11-04T14:32:57.930361+00:00",
  "CertificateURL": "sample string 6",
  "Score": 7,
  "SurveyJSJson": "sample string 8",
  "VideoURL": "sample string 9",
  "Title": "sample string 10",
  "Introduction": "sample string 11",
  "Status": 0,
  "CourseType": 0,
  "LastSurveyJSQuestionsJson": "sample string 12",
  "LastSurveyJSResponsesJson": "sample string 13",
  "PdfURL": "sample string 14"
}
        application/xml, text/xml
            Sample:
<DriverCourseResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Id>1</Id> <StartDate>2025-11-04T14:32:57.930361+00:00</StartDate> <EndDate>2025-11-04T14:32:57.930361+00:00</EndDate> <Attempts>4</Attempts> <LastAttemptedDate>2025-11-04T14:32:57.930361+00:00</LastAttemptedDate> <CertificateURL>sample string 6</CertificateURL> <Score>7</Score> <SurveyJSJson>sample string 8</SurveyJSJson> <VideoURL>sample string 9</VideoURL> <Title>sample string 10</Title> <Introduction>sample string 11</Introduction> <Status>Scheduled</Status> <CourseType>Standard</CourseType> <LastSurveyJSQuestionsJson>sample string 12</LastSurveyJSQuestionsJson> <LastSurveyJSResponsesJson>sample string 13</LastSurveyJSResponsesJson> <PdfURL>sample string 14</PdfURL> </DriverCourseResponse>