GET api/forumsetting/loadplatesbypubid?pubId={pubId}
加载课程已开启版块(及讨论区说明)
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
pubId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
加载课程已开启版块(及讨论区说明)
JsonRtnDtoOfListOfPlateName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | Collection of Plate |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": [ { "Id": 1, "PubId": "5cfca114-3b8e-4721-b02a-9bbe16e991ff", "Title": "sample string 3", "Intro": "sample string 4", "CreatedTime": "2024-09-25T00:12:11.0080393+08:00", "IsCustom": true, "AllowNewSubject": true, "Enabled": true }, { "Id": 1, "PubId": "5cfca114-3b8e-4721-b02a-9bbe16e991ff", "Title": "sample string 3", "Intro": "sample string 4", "CreatedTime": "2024-09-25T00:12:11.0080393+08:00", "IsCustom": true, "AllowNewSubject": true, "Enabled": true } ] }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":[{"Id":1,"PubId":"5cfca114-3b8e-4721-b02a-9bbe16e991ff","Title":"sample string 3","Intro":"sample string 4","CreatedTime":"2024-09-25T00:12:11.0080393+08:00","IsCustom":true,"AllowNewSubject":true,"Enabled":true},{"Id":1,"PubId":"5cfca114-3b8e-4721-b02a-9bbe16e991ff","Title":"sample string 3","Intro":"sample string 4","CreatedTime":"2024-09-25T00:12:11.0080393+08:00","IsCustom":true,"AllowNewSubject":true,"Enabled":true}]}
application/xml, text/xml
Sample:
<JsonRtnDtoOfArrayOfPlatemEDjlcEG 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:Plate> <d2p1:AllowNewSubject>true</d2p1:AllowNewSubject> <d2p1:CreatedTime>2024-09-25T00:12:11.0080393+08:00</d2p1:CreatedTime> <d2p1:Enabled>true</d2p1:Enabled> <d2p1:Id>1</d2p1:Id> <d2p1:Intro>sample string 4</d2p1:Intro> <d2p1:IsCustom>true</d2p1:IsCustom> <d2p1:PubId>5cfca114-3b8e-4721-b02a-9bbe16e991ff</d2p1:PubId> <d2p1:Title>sample string 3</d2p1:Title> </d2p1:Plate> <d2p1:Plate> <d2p1:AllowNewSubject>true</d2p1:AllowNewSubject> <d2p1:CreatedTime>2024-09-25T00:12:11.0080393+08:00</d2p1:CreatedTime> <d2p1:Enabled>true</d2p1:Enabled> <d2p1:Id>1</d2p1:Id> <d2p1:Intro>sample string 4</d2p1:Intro> <d2p1:IsCustom>true</d2p1:IsCustom> <d2p1:PubId>5cfca114-3b8e-4721-b02a-9bbe16e991ff</d2p1:PubId> <d2p1:Title>sample string 3</d2p1:Title> </d2p1:Plate> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfArrayOfPlatemEDjlcEG>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":[{"Id":1,"PubId":"5cfca114-3b8e-4721-b02a-9bbe16e991ff","Title":"sample string 3","Intro":"sample string 4","CreatedTime":"2024-09-25T00:12:11.0080393+08:00","IsCustom":true,"AllowNewSubject":true,"Enabled":true},{"Id":1,"PubId":"5cfca114-3b8e-4721-b02a-9bbe16e991ff","Title":"sample string 3","Intro":"sample string 4","CreatedTime":"2024-09-25T00:12:11.0080393+08:00","IsCustom":true,"AllowNewSubject":true,"Enabled":true}]});