GET v1/toplist?schoolId={schoolId}&classId={classId}&courseId={courseId}&dateFilter={dateFilter}&top={top}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
schoolId

int

Default value is null

classId

int

Default value is null

courseId

int

Default value is null

dateFilter

Use value "currentday", "currentweek", "currentmonth", "lastweek" or "lastmonth"

string

Default value is null

top

Number of rows to return

int

Default value is 10

type

Use value "json" to change response format

string

Optional, default value is xml

Body Parameters

None.

Response Information

Resource Description

NameDescriptionTypeAdditional information
Picture

Url to picture

string

None.

Points

Number of points

int

None.

Position

Position in current list

int

None.

School

Name of school

string

None.

SchoolClass

Name of school class

string

None.

User

Name of user

string

None.

Response Formats

application/json, text/json

Sample:

application/xml, text/xml

Sample: