GET api/ppadmin/getlesson?Id={Id}

获取课程

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

主键ID

string

Required

Body Parameters

None.

Response Information

Resource Description

获取课程

JsonRtnDtoOfLesson
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

Lesson

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": {
    "Id": "sample string 1",
    "Lessons": "sample string 2",
    "Cid": "sample string 3",
    "Ischeck": true,
    "Datas": "sample string 5",
    "AddTime": "2024-09-25T00:10:22.6871439+08:00",
    "Semester": 1,
    "Grade": 6
  }
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{"Id":"sample string 1","Lessons":"sample string 2","Cid":"sample string 3","Ischeck":true,"Datas":"sample string 5","AddTime":"2024-09-25T00:10:22.6871439+08:00","Semester":1,"Grade":6}}

application/xml, text/xml

Sample:
<JsonRtnDtoOfLessonmEDjlcEG 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:AddTime>2024-09-25T00:10:22.6871439+08:00</d2p1:AddTime>
    <d2p1:Cid>sample string 3</d2p1:Cid>
    <d2p1:Datas>sample string 5</d2p1:Datas>
    <d2p1:Grade>6</d2p1:Grade>
    <d2p1:Id>sample string 1</d2p1:Id>
    <d2p1:Ischeck>true</d2p1:Ischeck>
    <d2p1:Lessons>sample string 2</d2p1:Lessons>
    <d2p1:Semester>第一学期</d2p1:Semester>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfLessonmEDjlcEG>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Id":"sample string 1","Lessons":"sample string 2","Cid":"sample string 3","Ischeck":true,"Datas":"sample string 5","AddTime":"2024-09-25T00:10:22.6871439+08:00","Semester":1,"Grade":6}});