POST api/Setting/PostSetReadAdd
添加人数设置数据 类型为周的时候 起始 结束时间填空字符串
Request Information
URI Parameters
None.
Body Parameters
"type": "0 每日阅读人数 1 每周阅读人数"," addread": "添加的人数","starttime":"生效时间段的起始时间 11:47","endtime":"生效时间段的结束时间 11:47"
SetReadModel| Name | Description | Type | Additional information |
|---|---|---|---|
| type | string |
None. |
|
| addread | string |
None. |
|
| starttime | string |
None. |
|
| endtime | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"type": "sample string 1",
"addread": "sample string 2",
"starttime": "sample string 3",
"endtime": "sample string 4"
}
text/html
Sample:
{"type":"sample string 1","addread":"sample string 2","starttime":"sample string 3","endtime":"sample string 4"}
application/xml, text/xml
Sample:
<SetReadModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DERLAI.Models"> <addread>sample string 2</addread> <endtime>sample string 4</endtime> <starttime>sample string 3</starttime> <type>sample string 1</type> </SetReadModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
true false error
HttpResponseMessage| Name | 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. |