GET api/DriiveAcademy/DriverCourse
Get all driver courses
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
A collection of driver courses
Collection of 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-12-14T06:11:37.9970543+00:00",
"EndDate": "2025-12-14T06:11:37.9970543+00:00",
"Attempts": 4,
"LastAttemptedDate": "2025-12-14T06:11:37.9970543+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"
},
{
"Id": 1,
"StartDate": "2025-12-14T06:11:37.9970543+00:00",
"EndDate": "2025-12-14T06:11:37.9970543+00:00",
"Attempts": 4,
"LastAttemptedDate": "2025-12-14T06:11:37.9970543+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:
<ArrayOfDriverCourseResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DriverCourseResponse>
<Id>1</Id>
<StartDate>2025-12-14T06:11:37.9970543+00:00</StartDate>
<EndDate>2025-12-14T06:11:37.9970543+00:00</EndDate>
<Attempts>4</Attempts>
<LastAttemptedDate>2025-12-14T06:11:37.9970543+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>
<DriverCourseResponse>
<Id>1</Id>
<StartDate>2025-12-14T06:11:37.9970543+00:00</StartDate>
<EndDate>2025-12-14T06:11:37.9970543+00:00</EndDate>
<Attempts>4</Attempts>
<LastAttemptedDate>2025-12-14T06:11:37.9970543+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>
</ArrayOfDriverCourseResponse>