GET api/papertype/loadpapertypebypcid?Id={Id}

根据课程编号加载试卷类型

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

integer

Required

Body Parameters

None.

Response Information

Resource Description

根据课程编号加载试卷类型

JsonRtnDtoOfListOfPaperType
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

Collection of PaperType

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": [
    {
      "Id": 1,
      "ProfessionalCourseId": 2,
      "ProfessionalCoursePath": "sample string 3",
      "Sort": 4,
      "PId": 5,
      "Path": "sample string 6",
      "LastUpdatedTime": "2024-09-21T08:55:18.0947302+08:00",
      "TagName": "sample string 8",
      "CreatedTime": "2024-09-21T08:55:18.0947302+08:00"
    },
    {
      "Id": 1,
      "ProfessionalCourseId": 2,
      "ProfessionalCoursePath": "sample string 3",
      "Sort": 4,
      "PId": 5,
      "Path": "sample string 6",
      "LastUpdatedTime": "2024-09-21T08:55:18.0947302+08:00",
      "TagName": "sample string 8",
      "CreatedTime": "2024-09-21T08:55:18.0947302+08:00"
    }
  ]
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":[{"Id":1,"ProfessionalCourseId":2,"ProfessionalCoursePath":"sample string 3","Sort":4,"PId":5,"Path":"sample string 6","LastUpdatedTime":"2024-09-21T08:55:18.0947302+08:00","TagName":"sample string 8","CreatedTime":"2024-09-21T08:55:18.0947302+08:00"},{"Id":1,"ProfessionalCourseId":2,"ProfessionalCoursePath":"sample string 3","Sort":4,"PId":5,"Path":"sample string 6","LastUpdatedTime":"2024-09-21T08:55:18.0947302+08:00","TagName":"sample string 8","CreatedTime":"2024-09-21T08:55:18.0947302+08:00"}]}

application/xml, text/xml

Sample:
<JsonRtnDtoOfArrayOfPaperTypemEDjlcEG 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:PaperType>
      <d2p1:CreatedTime>2024-09-21T08:55:18.0947302+08:00</d2p1:CreatedTime>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:LastUpdatedTime>2024-09-21T08:55:18.0947302+08:00</d2p1:LastUpdatedTime>
      <d2p1:PId>5</d2p1:PId>
      <d2p1:Path>sample string 6</d2p1:Path>
      <d2p1:ProfessionalCourseId>2</d2p1:ProfessionalCourseId>
      <d2p1:ProfessionalCoursePath>sample string 3</d2p1:ProfessionalCoursePath>
      <d2p1:Sort>4</d2p1:Sort>
      <d2p1:TagName>sample string 8</d2p1:TagName>
    </d2p1:PaperType>
    <d2p1:PaperType>
      <d2p1:CreatedTime>2024-09-21T08:55:18.0947302+08:00</d2p1:CreatedTime>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:LastUpdatedTime>2024-09-21T08:55:18.0947302+08:00</d2p1:LastUpdatedTime>
      <d2p1:PId>5</d2p1:PId>
      <d2p1:Path>sample string 6</d2p1:Path>
      <d2p1:ProfessionalCourseId>2</d2p1:ProfessionalCourseId>
      <d2p1:ProfessionalCoursePath>sample string 3</d2p1:ProfessionalCoursePath>
      <d2p1:Sort>4</d2p1:Sort>
      <d2p1:TagName>sample string 8</d2p1:TagName>
    </d2p1:PaperType>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfArrayOfPaperTypemEDjlcEG>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":[{"Id":1,"ProfessionalCourseId":2,"ProfessionalCoursePath":"sample string 3","Sort":4,"PId":5,"Path":"sample string 6","LastUpdatedTime":"2024-09-21T08:55:18.0947302+08:00","TagName":"sample string 8","CreatedTime":"2024-09-21T08:55:18.0947302+08:00"},{"Id":1,"ProfessionalCourseId":2,"ProfessionalCoursePath":"sample string 3","Sort":4,"PId":5,"Path":"sample string 6","LastUpdatedTime":"2024-09-21T08:55:18.0947302+08:00","TagName":"sample string 8","CreatedTime":"2024-09-21T08:55:18.0947302+08:00"}]});