POST api/Setting/SD_TZ/T/Add
新增一个时段计划调整
Request Information
URI Parameters
None.
Body Parameters
时段调整的参数
TimeSeqAdjustAddParm| Name | Description | Type | Additional information |
|---|---|---|---|
| SDTZID |
时段调整ID |
string |
None. |
| RQ |
日期 |
string |
None. |
| JPZDID |
检票站点代码 |
string |
None. |
| QSSDH |
起始时段号 |
integer |
None. |
| JZSDH |
截止时段号 |
integer |
None. |
| QYSDSZ |
是否启用 |
string |
None. |
| TL |
通量 |
integer |
None. |
| SFJSYY |
是否接受预约,是否接受预约,‘1’表示接受,'0'为不接受 |
string |
None. |
| ZDYYBL |
最大预约比率,当前检票站点接受预约时,每个时段能接受的最大预约量占总通量的比率。单位为%。取值范围1-100 |
integer |
None. |
| SFXZFLWQP |
是否限制互联网票取票,是否限制互联网票每时段的最大取票量。’1’表示限制,其他值不限制; |
string |
None. |
| ZDFLWQPBL |
互联网票取票最大比率,当前检票站点接受互联网票取票时,每个时段能接受的最大取票量占通量的比率。单位%,取值范围1-100 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"SDTZID": "sample string 1",
"RQ": "sample string 2",
"JPZDID": "sample string 3",
"QSSDH": 4,
"JZSDH": 5,
"QYSDSZ": "sample string 6",
"TL": 7,
"SFJSYY": "sample string 8",
"ZDYYBL": 9,
"SFXZFLWQP": "sample string 10",
"ZDFLWQPBL": 11
}
application/xml, text/xml
Sample:
<TimeSeqAdjustAddParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.TimeSeq"> <JPZDID>sample string 3</JPZDID> <JZSDH>5</JZSDH> <QSSDH>4</QSSDH> <QYSDSZ>sample string 6</QYSDSZ> <RQ>sample string 2</RQ> <SDTZID>sample string 1</SDTZID> <SFJSYY>sample string 8</SFJSYY> <SFXZFLWQP>sample string 10</SFXZFLWQP> <TL>7</TL> <ZDFLWQPBL>11</ZDFLWQPBL> <ZDYYBL>9</ZDYYBL> </TimeSeqAdjustAddParm>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
新增一个时段计划调整
CommonOperationResult| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode |
错误代码,通常0表示成功,其他值表示错误。 |
integer |
None. |
| errmsg |
错误描述,当errcode不为零时,此值可以用于呈现给用户。 |
string |
None. |
| tag |
操作同时,服务器端需要返回的其他值。 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": 1,
"errmsg": "sample string 2",
"tag": "sample string 3"
}
application/xml, text/xml
Sample:
<CommonOperationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer"> <errcode>1</errcode> <errmsg>sample string 2</errmsg> <tag>sample string 3</tag> </CommonOperationResult>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.