GET api/Student/Attendances?cid={cid}&cattempt={cattempt}
Get student course attendance list.
Request Information
URI Parameters
| Name | Description | Type | Additional information | 
|---|---|---|---|
| cid | Unique course code that student enrolled and is studying. Use this field to do filter by course. | string | None. | 
| cattempt | Attempt of student course enrolled and studied. Expecting whole positive number (1, 2, 3,...) | string | None. | 
Body Parameters
None.
Response Information
Resource Description
Collection of StdAttendanceModels| Name | Description | Type | Additional information | 
|---|---|---|---|
| StudentId | Unique RTO student identifier | string | Required | 
| CourseId | Unique course code that student enrolled and is studying. Use this field to do filter by course. | string | Required | 
| CourseAttempt | Attempt of student course enrolled and studied | integer | Required | 
| CourseAttPercentage | Overall actual current course attendance percentage (%) | decimal number | Required | 
| CourseProjAttPercentage | Overall projected course attendance percentage (%) | decimal number | Required | 
Response Formats
application/json, text/json
[
  {
    "StudentId": "sample string 1",
    "CourseId": "sample string 2",
    "CourseAttempt": 3,
    "CourseAttPercentage": 4.0,
    "CourseProjAttPercentage": 5.0
  },
  {
    "StudentId": "sample string 1",
    "CourseId": "sample string 2",
    "CourseAttempt": 3,
    "CourseAttPercentage": 4.0,
    "CourseProjAttPercentage": 5.0
  }
]
        application/xml, text/xml
<ArrayOfStdAttendanceModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobileApp_WebAPI.Models.Students">
  <StdAttendanceModels>
    <CourseAttPercentage>4</CourseAttPercentage>
    <CourseAttempt>3</CourseAttempt>
    <CourseId>sample string 2</CourseId>
    <CourseProjAttPercentage>5</CourseProjAttPercentage>
    <StudentId>sample string 1</StudentId>
  </StdAttendanceModels>
  <StdAttendanceModels>
    <CourseAttPercentage>4</CourseAttPercentage>
    <CourseAttempt>3</CourseAttempt>
    <CourseId>sample string 2</CourseId>
    <CourseProjAttPercentage>5</CourseProjAttPercentage>
    <StudentId>sample string 1</StudentId>
  </StdAttendanceModels>
</ArrayOfStdAttendanceModels>