GET api/ppclient/getlearner?LessonId={LessonId}&StuCode={StuCode}

根据课程和学号获取选课信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
LessonId

课程ID

string

Required

StuCode

学号

string

Required

Body Parameters

None.

Response Information

Resource Description

根据课程和学号获取选课信息

JsonRtnDtoOfLearner
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

Learner

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": {
    "Id": "sample string 1",
    "LessonId": "sample string 2",
    "ChooseCode": "sample string 3",
    "StuCode": "sample string 4",
    "StuName": "sample string 5",
    "TeaCode": "sample string 6",
    "TeaName": "sample string 7",
    "Grade": "sample string 8",
    "College": "sample string 9",
    "Majors": "sample string 10",
    "ClassName": "sample string 11",
    "Datas": "sample string 12",
    "CreateTime": "2024-09-25T00:07:23.4231781+08:00"
  }
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{"Id":"sample string 1","LessonId":"sample string 2","ChooseCode":"sample string 3","StuCode":"sample string 4","StuName":"sample string 5","TeaCode":"sample string 6","TeaName":"sample string 7","Grade":"sample string 8","College":"sample string 9","Majors":"sample string 10","ClassName":"sample string 11","Datas":"sample string 12","CreateTime":"2024-09-25T00:07:23.4231781+08:00"}}

application/xml, text/xml

Sample:
<JsonRtnDtoOfLearnermEDjlcEG xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Data">
    <d2p1:ChooseCode>sample string 3</d2p1:ChooseCode>
    <d2p1:ClassName>sample string 11</d2p1:ClassName>
    <d2p1:College>sample string 9</d2p1:College>
    <d2p1:CreateTime>2024-09-25T00:07:23.4231781+08:00</d2p1:CreateTime>
    <d2p1:Datas>sample string 12</d2p1:Datas>
    <d2p1:Grade>sample string 8</d2p1:Grade>
    <d2p1:Id>sample string 1</d2p1:Id>
    <d2p1:LessonId>sample string 2</d2p1:LessonId>
    <d2p1:Majors>sample string 10</d2p1:Majors>
    <d2p1:StuCode>sample string 4</d2p1:StuCode>
    <d2p1:StuName>sample string 5</d2p1:StuName>
    <d2p1:TeaCode>sample string 6</d2p1:TeaCode>
    <d2p1:TeaName>sample string 7</d2p1:TeaName>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfLearnermEDjlcEG>

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Id":"sample string 1","LessonId":"sample string 2","ChooseCode":"sample string 3","StuCode":"sample string 4","StuName":"sample string 5","TeaCode":"sample string 6","TeaName":"sample string 7","Grade":"sample string 8","College":"sample string 9","Majors":"sample string 10","ClassName":"sample string 11","Datas":"sample string 12","CreateTime":"2024-09-25T00:07:23.4231781+08:00"}});