POST api/User/DelCollect
取消收藏
Request Information
URI Parameters
None.
Body Parameters
UserCollectAddModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CollectType |
收藏类型(主题:subject_info,机构:organ_info,专家:writer_info,文献:title_info) |
string |
None. |
| CollectId |
收藏id |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CollectType": "sample string 1",
"CollectId": "sample string 2"
}
application/xml, text/xml
Sample:
<UserCollectAddModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EKP.WeChatAppApi.Models.User"> <CollectId>sample string 2</CollectId> <CollectType>sample string 1</CollectType> </UserCollectAddModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
取消收藏
ResultModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Code |
返回码 |
ResultCode |
None. |
| Message |
返回信息 |
string |
None. |
| Data |
返回的数据 |
Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 10000,
"Message": "sample string 1",
"Data": {}
}
application/xml, text/xml
Sample:
<ResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EKP.WeChatAppApi.Models"> <Code>Success</Code> <Data /> <Message>sample string 1</Message> </ResultModel>