POST api/ppadmin/savecate
保存环节
Request Information
URI Parameters
None.
Body Parameters
参数
CateName | Description | Type | Additional information |
---|---|---|---|
Cid |
主键ID |
string |
Max length: 36 |
CName |
模块名称 |
string |
Max length: 50 |
CImg |
模块图片 |
string |
Max length: 100 |
CUrl |
学生端跳转路径 |
string |
Max length: 100 |
TUrl |
老师段跳转路径 |
string |
Max length: 100 |
Con |
环节内容 |
string |
None. |
Score |
分值 |
decimal number |
None. |
SortNum |
顺序号 |
integer |
None. |
Banner |
环节横幅 |
string |
None. |
Title |
环节标题 |
string |
None. |
IsDeleted |
是否已删除 |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Cid": "sample string 1", "CName": "sample string 2", "CImg": "sample string 3", "CUrl": "sample string 4", "TUrl": "sample string 5", "Con": "sample string 6", "Score": 7.0, "SortNum": 8, "Banner": "sample string 9", "Title": "sample string 10", "IsDeleted": true }
text/html
Sample:
{"Cid":"sample string 1","CName":"sample string 2","CImg":"sample string 3","CUrl":"sample string 4","TUrl":"sample string 5","Con":"sample string 6","Score":7.0,"SortNum":8,"Banner":"sample string 9","Title":"sample string 10","IsDeleted":true}
application/xml, text/xml
Sample:
<Cate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Data"> <Banner>sample string 9</Banner> <CImg>sample string 3</CImg> <CName>sample string 2</CName> <CUrl>sample string 4</CUrl> <Cid>sample string 1</Cid> <Con>sample string 6</Con> <IsDeleted>true</IsDeleted> <Score>7</Score> <SortNum>8</SortNum> <TUrl>sample string 5</TUrl> <Title>sample string 10</Title> </Cate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
保存环节
JsonRtnDtoOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": true }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":true}
application/xml, text/xml
Sample:
<JsonRtnDtoOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data>true</Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfboolean>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":true});