GET api/professionalcourse/loaduserupc?mid={mid}

加载课程专业

Request Information

URI Parameters

NameDescriptionTypeAdditional information
mid

教师编号

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

加载课程专业

JsonRtnDtoOfListOfUserProfessionalCourse
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

Collection of UserProfessionalCourse

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": [
    {
      "ProfessionalCourseId": 1,
      "UserId": 2,
      "IsRoot": true
    },
    {
      "ProfessionalCourseId": 1,
      "UserId": 2,
      "IsRoot": true
    }
  ]
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":[{"ProfessionalCourseId":1,"UserId":2,"IsRoot":true},{"ProfessionalCourseId":1,"UserId":2,"IsRoot":true}]}

application/xml, text/xml

Sample:
<JsonRtnDtoOfArrayOfUserProfessionalCoursemEDjlcEG 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:UserProfessionalCourse>
      <d2p1:IsRoot>true</d2p1:IsRoot>
      <d2p1:ProfessionalCourseId>1</d2p1:ProfessionalCourseId>
      <d2p1:UserId>2</d2p1:UserId>
    </d2p1:UserProfessionalCourse>
    <d2p1:UserProfessionalCourse>
      <d2p1:IsRoot>true</d2p1:IsRoot>
      <d2p1:ProfessionalCourseId>1</d2p1:ProfessionalCourseId>
      <d2p1:UserId>2</d2p1:UserId>
    </d2p1:UserProfessionalCourse>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfArrayOfUserProfessionalCoursemEDjlcEG>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":[{"ProfessionalCourseId":1,"UserId":2,"IsRoot":true},{"ProfessionalCourseId":1,"UserId":2,"IsRoot":true}]});