POST api/EduResource/AddFav
添加收藏
Request Information
URI Parameters
None.
Body Parameters
输入参数
AddFavInputName | Description | Type | Additional information |
---|---|---|---|
ID |
资源编号 |
globally unique identifier |
None. |
SubjectID |
资源学科 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": "f9b2663b-e73f-451c-8293-270bf2a85995", "SubjectID": "sample string 2" }
application/xml, text/xml
Sample:
<EduResourceController.AddFavInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_30edu.WEBAPI.WX.API.Message"> <ID>f9b2663b-e73f-451c-8293-270bf2a85995</ID> <SubjectID>sample string 2</SubjectID> </EduResourceController.AddFavInput>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
输出参数
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |