GET api/v1/VisualReports/AnalyticalReport/GetUserClassInformation?userId={userId}&classId={classId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userId | integer |
Required |
|
classId | integer |
Required |
|
version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of ShotClassDistributeVMName | Description | Type | Additional information |
---|---|---|---|
ClassId | integer |
None. |
|
ClassName | string |
None. |
|
TTName | string |
None. |
|
OffLine | boolean |
None. |
|
Media | string |
None. |
|
Quiz | boolean |
None. |
|
Liked | boolean |
None. |
|
Rating | integer |
None. |
|
UserId | integer |
None. |
|
Status | integer |
None. |
|
AssessmentStatus | integer |
None. |
|
DistributeDate | string |
None. |
|
AssessmentScore | decimal number |
None. |
|
ProgramType | Collection of string |
None. |
|
ProgramName | Collection of string |
None. |
|
DueDate | string |
None. |
|
CompletedDate | string |
None. |
|
CompletedInTime | integer |
None. |
|
CompletedAfterDeadline | integer |
None. |
|
MissedDeadline | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ClassId": 1, "ClassName": "sample string 2", "TTName": "sample string 3", "OffLine": true, "Media": "sample string 5", "Quiz": true, "Liked": true, "Rating": 1, "UserId": 1, "Status": 1, "AssessmentStatus": 1, "DistributeDate": "sample string 7", "AssessmentScore": 8.0, "ProgramType": [ "sample string 1", "sample string 2" ], "ProgramName": [ "sample string 1", "sample string 2" ], "DueDate": "sample string 9", "CompletedDate": "sample string 10", "CompletedInTime": 11, "CompletedAfterDeadline": 12, "MissedDeadline": 13 }, { "ClassId": 1, "ClassName": "sample string 2", "TTName": "sample string 3", "OffLine": true, "Media": "sample string 5", "Quiz": true, "Liked": true, "Rating": 1, "UserId": 1, "Status": 1, "AssessmentStatus": 1, "DistributeDate": "sample string 7", "AssessmentScore": 8.0, "ProgramType": [ "sample string 1", "sample string 2" ], "ProgramName": [ "sample string 1", "sample string 2" ], "DueDate": "sample string 9", "CompletedDate": "sample string 10", "CompletedInTime": 11, "CompletedAfterDeadline": 12, "MissedDeadline": 13 } ]
text/html
Sample:
[{"ClassId":1,"ClassName":"sample string 2","TTName":"sample string 3","OffLine":true,"Media":"sample string 5","Quiz":true,"Liked":true,"Rating":1,"UserId":1,"Status":1,"AssessmentStatus":1,"DistributeDate":"sample string 7","AssessmentScore":8.0,"ProgramType":["sample string 1","sample string 2"],"ProgramName":["sample string 1","sample string 2"],"DueDate":"sample string 9","CompletedDate":"sample string 10","CompletedInTime":11,"CompletedAfterDeadline":12,"MissedDeadline":13},{"ClassId":1,"ClassName":"sample string 2","TTName":"sample string 3","OffLine":true,"Media":"sample string 5","Quiz":true,"Liked":true,"Rating":1,"UserId":1,"Status":1,"AssessmentStatus":1,"DistributeDate":"sample string 7","AssessmentScore":8.0,"ProgramType":["sample string 1","sample string 2"],"ProgramName":["sample string 1","sample string 2"],"DueDate":"sample string 9","CompletedDate":"sample string 10","CompletedInTime":11,"CompletedAfterDeadline":12,"MissedDeadline":13}]
text/xml
Sample:
<ArrayOfShotClassDistributeVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShotClassAPIWithVersion.Models"> <ShotClassDistributeVM> <AssessmentScore>8</AssessmentScore> <AssessmentStatus>1</AssessmentStatus> <ClassId>1</ClassId> <ClassName>sample string 2</ClassName> <CompletedAfterDeadline>12</CompletedAfterDeadline> <CompletedDate>sample string 10</CompletedDate> <CompletedInTime>11</CompletedInTime> <DistributeDate>sample string 7</DistributeDate> <DueDate>sample string 9</DueDate> <Liked>true</Liked> <Media>sample string 5</Media> <MissedDeadline>13</MissedDeadline> <OffLine>true</OffLine> <ProgramName xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </ProgramName> <ProgramType xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </ProgramType> <Quiz>true</Quiz> <Rating>1</Rating> <Status>1</Status> <TTName>sample string 3</TTName> <UserId>1</UserId> </ShotClassDistributeVM> <ShotClassDistributeVM> <AssessmentScore>8</AssessmentScore> <AssessmentStatus>1</AssessmentStatus> <ClassId>1</ClassId> <ClassName>sample string 2</ClassName> <CompletedAfterDeadline>12</CompletedAfterDeadline> <CompletedDate>sample string 10</CompletedDate> <CompletedInTime>11</CompletedInTime> <DistributeDate>sample string 7</DistributeDate> <DueDate>sample string 9</DueDate> <Liked>true</Liked> <Media>sample string 5</Media> <MissedDeadline>13</MissedDeadline> <OffLine>true</OffLine> <ProgramName xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </ProgramName> <ProgramType xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </ProgramType> <Quiz>true</Quiz> <Rating>1</Rating> <Status>1</Status> <TTName>sample string 3</TTName> <UserId>1</UserId> </ShotClassDistributeVM> </ArrayOfShotClassDistributeVM>