POST api/OilPainting/PostFenlei
油画屏添加分类
Request Information
URI Parameters
None.
Body Parameters
PostOPFenleiModelName | Description | Type | Additional information |
---|---|---|---|
fenlei |
分类 |
string |
None. |
fenleishijian |
播放时间 |
string |
None. |
hunbe |
是否混合模式 0 否 1 是 |
string |
None. |
bofangzhuti |
播放的主题id,例如1,2 |
string |
None. |
fenleishunxu |
分类的播放顺序 |
string |
None. |
zhutishijian |
主题播放时间 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "fenlei": "sample string 1", "fenleishijian": "sample string 2", "hunbe": "sample string 3", "bofangzhuti": "sample string 4", "fenleishunxu": "sample string 5", "zhutishijian": "sample string 6" }
text/html
Sample:
{"fenlei":"sample string 1","fenleishijian":"sample string 2","hunbe":"sample string 3","bofangzhuti":"sample string 4","fenleishunxu":"sample string 5","zhutishijian":"sample string 6"}
application/xml, text/xml
Sample:
<PostOPFenleiModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DERLAI.others"> <bofangzhuti>sample string 4</bofangzhuti> <fenlei>sample string 1</fenlei> <fenleishijian>sample string 2</fenleishijian> <fenleishunxu>sample string 5</fenleishunxu> <hunbe>sample string 3</hunbe> <zhutishijian>sample string 6</zhutishijian> </PostOPFenleiModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
-1/0/1
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.