GET highscore/MyTopCourseScores?token={token}&ClassId={ClassId}&FromDate={FromDate}&ToDate={ToDate}&TopUserCount={TopUserCount}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
token

string

Required

ClassId

integer

Required

FromDate

string

None.

ToDate

string

None.

TopUserCount

integer

Default value is 15

Body Parameters

None.

Response Information

Resource Description

ClassChapterScores
NameDescriptionTypeAdditional information
ChapterScores

Collection of GtsClassHighScore

None.

ChapterNames

GtsChapterNames

None.

Response Formats

application/json, text/json

Sample:
{
  "ChapterScores": [
    {
      "$id": "2",
      "Usercode": "sample string 1",
      "UserId": 2,
      "FullName": "sample string 3",
      "SumScore": 1,
      "Chapter1Score": 1,
      "Chapter2Score": 1,
      "Chapter3Score": 1,
      "Chapter4Score": 1,
      "Chapter5Score": 1,
      "Chapter6Score": 1
    },
    {
      "$ref": "2"
    }
  ],
  "ChapterNames": {
    "$id": "3",
    "Chapter1Name": "sample string 1",
    "Chapter2Name": "sample string 2",
    "Chapter3Name": "sample string 3",
    "Chapter4Name": "sample string 4",
    "Chapter5Name": "sample string 5",
    "Chapter6Name": "sample string 6"
  }
}

application/xml, text/xml

Sample:
<ClassChapterScores xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_3DHiveAPI.Models">
  <ChapterNames>
    <Chapter1Name>sample string 1</Chapter1Name>
    <Chapter2Name>sample string 2</Chapter2Name>
    <Chapter3Name>sample string 3</Chapter3Name>
    <Chapter4Name>sample string 4</Chapter4Name>
    <Chapter5Name>sample string 5</Chapter5Name>
    <Chapter6Name>sample string 6</Chapter6Name>
  </ChapterNames>
  <ChapterScores>
    <GtsClassHighScore>
      <Chapter1Score>1</Chapter1Score>
      <Chapter2Score>1</Chapter2Score>
      <Chapter3Score>1</Chapter3Score>
      <Chapter4Score>1</Chapter4Score>
      <Chapter5Score>1</Chapter5Score>
      <Chapter6Score>1</Chapter6Score>
      <FullName>sample string 3</FullName>
      <SumScore>1</SumScore>
      <UserId>2</UserId>
      <Usercode>sample string 1</Usercode>
    </GtsClassHighScore>
    <GtsClassHighScore>
      <Chapter1Score>1</Chapter1Score>
      <Chapter2Score>1</Chapter2Score>
      <Chapter3Score>1</Chapter3Score>
      <Chapter4Score>1</Chapter4Score>
      <Chapter5Score>1</Chapter5Score>
      <Chapter6Score>1</Chapter6Score>
      <FullName>sample string 3</FullName>
      <SumScore>1</SumScore>
      <UserId>2</UserId>
      <Usercode>sample string 1</Usercode>
    </GtsClassHighScore>
  </ChapterScores>
</ClassChapterScores>

multipart/form-data

Sample:
<ClassChapterScores xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_3DHiveAPI.Models"><ChapterNames><Chapter1Name>sample string 1</Chapter1Name><Chapter2Name>sample string 2</Chapter2Name><Chapter3Name>sample string 3</Chapter3Name><Chapter4Name>sample string 4</Chapter4Name><Chapter5Name>sample string 5</Chapter5Name><Chapter6Name>sample string 6</Chapter6Name></ChapterNames><ChapterScores><GtsClassHighScore><Chapter1Score>1</Chapter1Score><Chapter2Score>1</Chapter2Score><Chapter3Score>1</Chapter3Score><Chapter4Score>1</Chapter4Score><Chapter5Score>1</Chapter5Score><Chapter6Score>1</Chapter6Score><FullName>sample string 3</FullName><SumScore>1</SumScore><UserId>2</UserId><Usercode>sample string 1</Usercode></GtsClassHighScore><GtsClassHighScore><Chapter1Score>1</Chapter1Score><Chapter2Score>1</Chapter2Score><Chapter3Score>1</Chapter3Score><Chapter4Score>1</Chapter4Score><Chapter5Score>1</Chapter5Score><Chapter6Score>1</Chapter6Score><FullName>sample string 3</FullName><SumScore>1</SumScore><UserId>2</UserId><Usercode>sample string 1</Usercode></GtsClassHighScore></ChapterScores></ClassChapterScores>