GET api/subject/findsubject?subjectId={subjectId}

获取单个完整主题

Request Information

URI Parameters

NameDescriptionTypeAdditional information
subjectId

integer

Required

Body Parameters

None.

Response Information

Resource Description

获取单个完整主题

JsonRtnDtoOfSubjectViewDto
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

SubjectViewDto

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": {
    "Id": 1,
    "PlateId": 2,
    "Title": "sample string 3",
    "Content": "sample string 4",
    "MemberId": "sample string 5",
    "MemberName": "sample string 6",
    "MemberType": 7,
    "Anonymity": true,
    "Catalog": {
      "ID": 1,
      "CourseID": "59de5afe-5653-452d-868d-33daca6c96bd",
      "CatalogName": "sample string 3",
      "Path": "sample string 4",
      "PID": 5,
      "Level": 1,
      "PublishTime": "2024-09-25T00:09:56.9838818+08:00",
      "ChapterIntro": "sample string 6",
      "CreatedTime": "2024-09-25T00:09:56.9838818+08:00",
      "Index": 8,
      "Online": true,
      "IsPublish": true,
      "Extended": "sample string 11",
      "ResourceName": "sample string 12",
      "ResourceExtended": "sample string 13",
      "ContentType": 14,
      "Period": 15,
      "Credits": 16.1,
      "UpdatedTime": "2024-09-25T00:09:56.9838818+08:00",
      "RegulatorId": 17,
      "EnableMultiple": true,
      "ValidateType": 0,
      "DialogTime": 19.0,
      "RetestRepository": 20
    },
    "ApprovalNum": 9,
    "NegativeNum": 10,
    "TotalVotes": 11,
    "Views": 12,
    "ReplyQuantity": 13,
    "LastReplyTime": "2024-09-25T00:09:56.9838818+08:00",
    "LastUpdatedTime": "2024-09-25T00:09:56.9838818+08:00",
    "CreatedTime": "2024-09-25T00:09:56.9838818+08:00",
    "IsFollow": true
  }
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{"Id":1,"PlateId":2,"Title":"sample string 3","Content":"sample string 4","MemberId":"sample string 5","MemberName":"sample string 6","MemberType":7,"Anonymity":true,"Catalog":{"ID":1,"CourseID":"59de5afe-5653-452d-868d-33daca6c96bd","CatalogName":"sample string 3","Path":"sample string 4","PID":5,"Level":1,"PublishTime":"2024-09-25T00:09:56.9838818+08:00","ChapterIntro":"sample string 6","CreatedTime":"2024-09-25T00:09:56.9838818+08:00","Index":8,"Online":true,"IsPublish":true,"Extended":"sample string 11","ResourceName":"sample string 12","ResourceExtended":"sample string 13","ContentType":14,"Period":15,"Credits":16.1,"UpdatedTime":"2024-09-25T00:09:56.9838818+08:00","RegulatorId":17,"EnableMultiple":true,"ValidateType":0,"DialogTime":19.0,"RetestRepository":20},"ApprovalNum":9,"NegativeNum":10,"TotalVotes":11,"Views":12,"ReplyQuantity":13,"LastReplyTime":"2024-09-25T00:09:56.9838818+08:00","LastUpdatedTime":"2024-09-25T00:09:56.9838818+08:00","CreatedTime":"2024-09-25T00:09:56.9838818+08:00","IsFollow":true}}

application/xml, text/xml

Sample:
<JsonRtnDtoOfSubjectViewDtov3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data>
    <Anonymity>true</Anonymity>
    <ApprovalNum>9</ApprovalNum>
    <Catalog xmlns:d3p1="http://schemas.datacontract.org/2004/07/BJ.Data">
      <d3p1:CatalogName>sample string 3</d3p1:CatalogName>
      <d3p1:ChapterIntro>sample string 6</d3p1:ChapterIntro>
      <d3p1:ContentType>14</d3p1:ContentType>
      <d3p1:CourseID>59de5afe-5653-452d-868d-33daca6c96bd</d3p1:CourseID>
      <d3p1:CreatedTime>2024-09-25T00:09:56.9838818+08:00</d3p1:CreatedTime>
      <d3p1:Credits>16.1</d3p1:Credits>
      <d3p1:DialogTime>19</d3p1:DialogTime>
      <d3p1:EnableMultiple>true</d3p1:EnableMultiple>
      <d3p1:Extended>sample string 11</d3p1:Extended>
      <d3p1:ID>1</d3p1:ID>
      <d3p1:Index>8</d3p1:Index>
      <d3p1:IsPublish>true</d3p1:IsPublish>
      <d3p1:Level>章</d3p1:Level>
      <d3p1:Online>true</d3p1:Online>
      <d3p1:PID>5</d3p1:PID>
      <d3p1:Path>sample string 4</d3p1:Path>
      <d3p1:Period>15</d3p1:Period>
      <d3p1:PublishTime>2024-09-25T00:09:56.9838818+08:00</d3p1:PublishTime>
      <d3p1:RegulatorId>17</d3p1:RegulatorId>
      <d3p1:ResourceExtended>sample string 13</d3p1:ResourceExtended>
      <d3p1:ResourceName>sample string 12</d3p1:ResourceName>
      <d3p1:RetestRepository>20</d3p1:RetestRepository>
      <d3p1:UpdatedTime>2024-09-25T00:09:56.9838818+08:00</d3p1:UpdatedTime>
      <d3p1:ValidateType>随机拖动或验证码</d3p1:ValidateType>
    </Catalog>
    <Content>sample string 4</Content>
    <CreatedTime>2024-09-25T00:09:56.9838818+08:00</CreatedTime>
    <Id>1</Id>
    <IsFollow>true</IsFollow>
    <LastReplyTime>2024-09-25T00:09:56.9838818+08:00</LastReplyTime>
    <LastUpdatedTime>2024-09-25T00:09:56.9838818+08:00</LastUpdatedTime>
    <MemberId>sample string 5</MemberId>
    <MemberName>sample string 6</MemberName>
    <MemberType>7</MemberType>
    <NegativeNum>10</NegativeNum>
    <PlateId>2</PlateId>
    <ReplyQuantity>13</ReplyQuantity>
    <Title>sample string 3</Title>
    <TotalVotes>11</TotalVotes>
    <Views>12</Views>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfSubjectViewDtov3CTEUQJ>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Id":1,"PlateId":2,"Title":"sample string 3","Content":"sample string 4","MemberId":"sample string 5","MemberName":"sample string 6","MemberType":7,"Anonymity":true,"Catalog":{"ID":1,"CourseID":"59de5afe-5653-452d-868d-33daca6c96bd","CatalogName":"sample string 3","Path":"sample string 4","PID":5,"Level":1,"PublishTime":"2024-09-25T00:09:56.9838818+08:00","ChapterIntro":"sample string 6","CreatedTime":"2024-09-25T00:09:56.9838818+08:00","Index":8,"Online":true,"IsPublish":true,"Extended":"sample string 11","ResourceName":"sample string 12","ResourceExtended":"sample string 13","ContentType":14,"Period":15,"Credits":16.1,"UpdatedTime":"2024-09-25T00:09:56.9838818+08:00","RegulatorId":17,"EnableMultiple":true,"ValidateType":0,"DialogTime":19.0,"RetestRepository":20},"ApprovalNum":9,"NegativeNum":10,"TotalVotes":11,"Views":12,"ReplyQuantity":13,"LastReplyTime":"2024-09-25T00:09:56.9838818+08:00","LastUpdatedTime":"2024-09-25T00:09:56.9838818+08:00","CreatedTime":"2024-09-25T00:09:56.9838818+08:00","IsFollow":true}});