GET api/professionalcourse/FindByUserId?userId={userId}

获取当前登陆用户的课程信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

integer

Required

Body Parameters

None.

Response Information

Resource Description

获取当前登陆用户的课程信息

JsonRtnDtoOfListOfProfessionalCourse
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

Collection of ProfessionalCourse

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": [
    {
      "Id": 1,
      "ProfessionalCourseName": "sample string 2",
      "ProfessionalCourseNo": "sample string 3",
      "Credit": 4.1,
      "OpeningTime": "2024-09-25T00:05:47.7653917+08:00",
      "ClassHours": "sample string 5",
      "PrelectObject": "sample string 6",
      "Teacher": "sample string 7",
      "ChargeOfEvaluation": "sample string 8",
      "EvaluationParticipants": "sample string 9",
      "Path": "sample string 10",
      "PId": 11,
      "Sort": 12,
      "TargetExpectation": 13.1,
      "CreatedTime": "2024-09-25T00:05:47.7653917+08:00",
      "Icon": "sample string 15",
      "OriginWay": 1,
      "Disabled": true
    },
    {
      "Id": 1,
      "ProfessionalCourseName": "sample string 2",
      "ProfessionalCourseNo": "sample string 3",
      "Credit": 4.1,
      "OpeningTime": "2024-09-25T00:05:47.7653917+08:00",
      "ClassHours": "sample string 5",
      "PrelectObject": "sample string 6",
      "Teacher": "sample string 7",
      "ChargeOfEvaluation": "sample string 8",
      "EvaluationParticipants": "sample string 9",
      "Path": "sample string 10",
      "PId": 11,
      "Sort": 12,
      "TargetExpectation": 13.1,
      "CreatedTime": "2024-09-25T00:05:47.7653917+08:00",
      "Icon": "sample string 15",
      "OriginWay": 1,
      "Disabled": true
    }
  ]
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":[{"Id":1,"ProfessionalCourseName":"sample string 2","ProfessionalCourseNo":"sample string 3","Credit":4.1,"OpeningTime":"2024-09-25T00:05:47.7653917+08:00","ClassHours":"sample string 5","PrelectObject":"sample string 6","Teacher":"sample string 7","ChargeOfEvaluation":"sample string 8","EvaluationParticipants":"sample string 9","Path":"sample string 10","PId":11,"Sort":12,"TargetExpectation":13.1,"CreatedTime":"2024-09-25T00:05:47.7653917+08:00","Icon":"sample string 15","OriginWay":1,"Disabled":true},{"Id":1,"ProfessionalCourseName":"sample string 2","ProfessionalCourseNo":"sample string 3","Credit":4.1,"OpeningTime":"2024-09-25T00:05:47.7653917+08:00","ClassHours":"sample string 5","PrelectObject":"sample string 6","Teacher":"sample string 7","ChargeOfEvaluation":"sample string 8","EvaluationParticipants":"sample string 9","Path":"sample string 10","PId":11,"Sort":12,"TargetExpectation":13.1,"CreatedTime":"2024-09-25T00:05:47.7653917+08:00","Icon":"sample string 15","OriginWay":1,"Disabled":true}]}

application/xml, text/xml

Sample:
<JsonRtnDtoOfArrayOfProfessionalCoursemEDjlcEG 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:ProfessionalCourse>
      <d2p1:ChargeOfEvaluation>sample string 8</d2p1:ChargeOfEvaluation>
      <d2p1:ClassHours>sample string 5</d2p1:ClassHours>
      <d2p1:CreatedTime>2024-09-25T00:05:47.7653917+08:00</d2p1:CreatedTime>
      <d2p1:Credit>4.1</d2p1:Credit>
      <d2p1:Disabled>true</d2p1:Disabled>
      <d2p1:EvaluationParticipants>sample string 9</d2p1:EvaluationParticipants>
      <d2p1:Icon>sample string 15</d2p1:Icon>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:OpeningTime>2024-09-25T00:05:47.7653917+08:00</d2p1:OpeningTime>
      <d2p1:OriginWay>Import</d2p1:OriginWay>
      <d2p1:PId>11</d2p1:PId>
      <d2p1:Path>sample string 10</d2p1:Path>
      <d2p1:PrelectObject>sample string 6</d2p1:PrelectObject>
      <d2p1:ProfessionalCourseName>sample string 2</d2p1:ProfessionalCourseName>
      <d2p1:ProfessionalCourseNo>sample string 3</d2p1:ProfessionalCourseNo>
      <d2p1:Sort>12</d2p1:Sort>
      <d2p1:TargetExpectation>13.1</d2p1:TargetExpectation>
      <d2p1:Teacher>sample string 7</d2p1:Teacher>
    </d2p1:ProfessionalCourse>
    <d2p1:ProfessionalCourse>
      <d2p1:ChargeOfEvaluation>sample string 8</d2p1:ChargeOfEvaluation>
      <d2p1:ClassHours>sample string 5</d2p1:ClassHours>
      <d2p1:CreatedTime>2024-09-25T00:05:47.7653917+08:00</d2p1:CreatedTime>
      <d2p1:Credit>4.1</d2p1:Credit>
      <d2p1:Disabled>true</d2p1:Disabled>
      <d2p1:EvaluationParticipants>sample string 9</d2p1:EvaluationParticipants>
      <d2p1:Icon>sample string 15</d2p1:Icon>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:OpeningTime>2024-09-25T00:05:47.7653917+08:00</d2p1:OpeningTime>
      <d2p1:OriginWay>Import</d2p1:OriginWay>
      <d2p1:PId>11</d2p1:PId>
      <d2p1:Path>sample string 10</d2p1:Path>
      <d2p1:PrelectObject>sample string 6</d2p1:PrelectObject>
      <d2p1:ProfessionalCourseName>sample string 2</d2p1:ProfessionalCourseName>
      <d2p1:ProfessionalCourseNo>sample string 3</d2p1:ProfessionalCourseNo>
      <d2p1:Sort>12</d2p1:Sort>
      <d2p1:TargetExpectation>13.1</d2p1:TargetExpectation>
      <d2p1:Teacher>sample string 7</d2p1:Teacher>
    </d2p1:ProfessionalCourse>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfArrayOfProfessionalCoursemEDjlcEG>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":[{"Id":1,"ProfessionalCourseName":"sample string 2","ProfessionalCourseNo":"sample string 3","Credit":4.1,"OpeningTime":"2024-09-25T00:05:47.7653917+08:00","ClassHours":"sample string 5","PrelectObject":"sample string 6","Teacher":"sample string 7","ChargeOfEvaluation":"sample string 8","EvaluationParticipants":"sample string 9","Path":"sample string 10","PId":11,"Sort":12,"TargetExpectation":13.1,"CreatedTime":"2024-09-25T00:05:47.7653917+08:00","Icon":"sample string 15","OriginWay":1,"Disabled":true},{"Id":1,"ProfessionalCourseName":"sample string 2","ProfessionalCourseNo":"sample string 3","Credit":4.1,"OpeningTime":"2024-09-25T00:05:47.7653917+08:00","ClassHours":"sample string 5","PrelectObject":"sample string 6","Teacher":"sample string 7","ChargeOfEvaluation":"sample string 8","EvaluationParticipants":"sample string 9","Path":"sample string 10","PId":11,"Sort":12,"TargetExpectation":13.1,"CreatedTime":"2024-09-25T00:05:47.7653917+08:00","Icon":"sample string 15","OriginWay":1,"Disabled":true}]});