GET api/DingVideoReception/GetLearningRanking?dayweek={dayweek}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
dayweek

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

BaseResponseOfGetLearningRankingDto
NameDescriptionTypeAdditional information
data

GetLearningRankingDto

None.

msg

string

None.

code

integer

None.

total

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "my_study_length": "sample string 1",
    "my_ranking": "sample string 2",
    "list": [
      {
        "id": 1,
        "emp_id": 2,
        "emp_name": "sample string 3",
        "look_length": 4,
        "look_length_label": "0小时0分钟4秒"
      },
      {
        "id": 1,
        "emp_id": 2,
        "emp_name": "sample string 3",
        "look_length": 4,
        "look_length_label": "0小时0分钟4秒"
      }
    ]
  },
  "msg": "sample string 1",
  "code": 2,
  "total": 3
}

application/xml, text/xml

Sample:
<BaseResponseOfGetLearningRankingDtogLTqVTfs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LearnAPI">
  <code>2</code>
  <msg>sample string 1</msg>
  <total>3</total>
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/LearnAPI.ViewModel">
    <d2p1:list>
      <d2p1:TimeRankings>
        <d2p1:emp_id>2</d2p1:emp_id>
        <d2p1:emp_name>sample string 3</d2p1:emp_name>
        <d2p1:id>1</d2p1:id>
        <d2p1:look_length>4</d2p1:look_length>
      </d2p1:TimeRankings>
      <d2p1:TimeRankings>
        <d2p1:emp_id>2</d2p1:emp_id>
        <d2p1:emp_name>sample string 3</d2p1:emp_name>
        <d2p1:id>1</d2p1:id>
        <d2p1:look_length>4</d2p1:look_length>
      </d2p1:TimeRankings>
    </d2p1:list>
    <d2p1:my_ranking>sample string 2</d2p1:my_ranking>
    <d2p1:my_study_length>sample string 1</d2p1:my_study_length>
  </data>
</BaseResponseOfGetLearningRankingDtogLTqVTfs>