GET api/Topic?u={u}&t={t}&d={d}
获取Topic
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| u |
用户ID |
integer |
Required |
| t |
[用户ID]|[用户密码,加密]|[requestTime]|[设备标识],加密 |
string |
Required |
| d |
ID=[,guid] |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取Topic
TopicOutput| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | globally unique identifier |
None. |
|
| GenreID |
主题类型ID |
globally unique identifier |
None. |
| GenreName | string |
None. |
|
| CreatorID | integer |
None. |
|
| CreatorName | string |
None. |
|
| CreatorHeadPic | string |
None. |
|
| CompanyID | integer |
None. |
|
| CompanyName | string |
None. |
|
| Title | string |
None. |
|
| Describe | string |
None. |
|
| IsAnonymous |
是否匿名 |
boolean |
None. |
| ViewAmounts |
阅读数量 |
integer |
None. |
| ReplyAmounts |
回复数量 |
integer |
None. |
| CreateTime | date |
None. |
|
| UpdateTime | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": "25173e30-092e-46f0-8b72-672d7d45787e",
"GenreID": "25b0b065-589b-4946-b49e-b6217e432729",
"GenreName": "sample string 3",
"CreatorID": 4,
"CreatorName": "sample string 5",
"CreatorHeadPic": "sample string 6",
"CompanyID": 7,
"CompanyName": "sample string 8",
"Title": "sample string 9",
"Describe": "sample string 10",
"IsAnonymous": true,
"ViewAmounts": 12,
"ReplyAmounts": 13,
"CreateTime": "2025-12-17T13:10:36.8523354+08:00",
"UpdateTime": "2025-12-17T13:10:36.8523354+08:00"
}