POST api/Setting/JQ_MPZL/Modify
修改一个已存在的票型,MPLXID,QSZF两个字段是不能被修改的。
Request Information
URI Parameters
None.
Body Parameters
JQ_MPLZAddOrUpdateParm| Name | Description | Type | Additional information |
|---|---|---|---|
| MPLXID |
票型的ID |
globally unique identifier |
Required |
| MPLXMC |
票型的名称 |
string |
Required Max length: 60 |
| QSZF |
起始字符 |
string |
Required Max length: 4 Min length: 4 |
| DW |
单位,是一个暂时没有用的字段 |
string |
None. |
| TXQLXID |
通行券类型 |
globally unique identifier |
Required |
| QYBZ |
启用标志 |
boolean |
Required |
| LPXK |
联票许可 |
boolean |
None. |
| MPFZMC |
门票分组名称 |
string |
Max length: 10 |
| CZ |
材质,P纸带,B条码卡,I接触式IC卡,U非接触式IC卡 |
string |
Required Max length: 1 Min length: 1 |
| SQFS |
授权方式,取值1,2,3,4,5,6,7,N,A,G |
string |
Required Max length: 1 Min length: 1 |
| GMXX |
一次最少需要购买的张数 |
integer |
None. |
| DZCP |
是否总是单张出票 |
boolean |
Required |
| YYSP |
作门票使用 |
boolean |
Required |
| YYFK |
作赠票,返利票使用 |
boolean |
Required |
| HLWDRZDXK |
互联网单日最大许可 |
integer |
None. |
| HLWSPXK |
是否许可互联网售票 |
string |
Required Max length: 1 Min length: 1 |
| SXQSZQ |
生效起始周期 |
string |
Max length: 4 |
| SXJZZQ |
生效截止周期 |
string |
Max length: 4 |
| SXZQQF |
生效周期是否取反 |
string |
Max length: 1 |
| HLWYDTQRS |
互联网预订提前日数 |
integer |
None. |
| NetOrderPreHoursLimit |
互联网预订提前小时数 |
integer |
None. |
| SMZYS |
是否要求互联网实名制 |
string |
Max length: 1 |
| QTSMZ |
是否要求前台实名制 |
string |
Required Max length: 1 Min length: 1 |
| FLWYWEDLX |
在分时段模式下,互联网时段额度类型 |
string |
Max length: 1 |
| FPMS |
专用于张家界的发票模式 |
string |
Max length: 1 |
| SFNK |
是否年卡 |
string |
Required Max length: 1 Min length: 1 |
| ZCPZSL |
支持的凭证数量 |
byte |
Required |
| DelayActivate |
是否支持延迟激活,’1’表示是,0或其他值表示否,默认为0 |
string |
Required Max length: 1 Min length: 1 |
| DelayActEndingMode |
延迟激活截止模式‘D’日数,“S”特定日期。 |
string |
Max length: 1 |
| DelayActMaxDays |
延迟激活最大日数,默认为0 |
integer |
None. |
| DelayActLastestDay |
延迟激活最晚日期,YYYYMMDD |
string |
Max length: 8 |
| OutOfActEndingDateMode |
取值:“1”自动激活(缺省值),“2”阻止激活且允许按过期门票受理退票 |
string |
Max length: 1 |
| NetOrderRealNameMode |
互联网实名模式 A客人有效个人身份证件信息必填(缺省值),B客人中国境内移动电话号码必填,C客人有效个人身份证件或中国境内移动电话号码二选一,D客人有效个人身份证件和中国境内移动电话号码均必填 |
string |
Max length: 1 |
| DisplayOnFront |
是否前台显示 |
string |
Max length: 1 |
| DisplayOnFrontIndex |
前台显示顺序 |
string |
Max length: 4 |
| GatherBioFeatureInFrom |
前台售票时是否需要同时采集生物特征 |
string |
Max length: 1 |
| TicketPrintTemplateOnAutoSell |
自助售票取机打印模板名称 |
string |
Max length: 20 |
| TicketPrintTemplateOnFront |
前台使用的打印模板名称 |
string |
Max length: 20 |
| FrontDiscountEnabled |
是否允许前台折扣,1表示允许 |
string |
Required Max length: 1 Min length: 1 |
| FrontDiscountLimit |
允许前台折扣时,前台折扣的极限折扣(最低) |
decimal number |
None. |
| SpecialPriceDefine |
票面上特定价格字段值。 |
string |
Max length: 50 |
| TicketCheckPromptType |
验票时的提示类型,1-常规提示,2提示查验证件 |
string |
Required Max length: 1 Min length: 1 |
| SameOneRepeatBuyLimitDays |
同一游客复购间隔日数 |
integer |
None. |
| FontPrintMode |
前台印制选项。0-全部不打印,1全部打印,2仅打印具有二代身份证信息的,3仅打印非二代身份证信息的 |
string |
Max length: 1 |
| Reserve1 |
保留一 |
string |
Max length: 50 |
| Reserve2 |
保留二 |
string |
Max length: 50 |
| Reserve3 |
保留3 |
string |
Max length: 50 |
| Reserve4 |
保留4 |
string |
Max length: 50 |
Request Formats
application/json, text/json
{
"MPLXID": "7ad1c69e-7289-40db-adf2-2e0b565bdd61",
"MPLXMC": "sample string 2",
"QSZF": "sample string 3",
"DW": "sample string 4",
"TXQLXID": "10ec6592-cacb-4c7a-ba3c-d22923ed1d70",
"QYBZ": true,
"LPXK": true,
"MPFZMC": "sample string 7",
"CZ": "sample string 8",
"SQFS": "sample string 9",
"GMXX": 1,
"DZCP": true,
"YYSP": true,
"YYFK": true,
"HLWDRZDXK": 1,
"HLWSPXK": "sample string 13",
"SXQSZQ": "sample string 14",
"SXJZZQ": "sample string 15",
"SXZQQF": "sample string 16",
"HLWYDTQRS": 1,
"NetOrderPreHoursLimit": 1,
"SMZYS": "sample string 17",
"QTSMZ": "sample string 18",
"FLWYWEDLX": "sample string 19",
"FPMS": "sample string 20",
"SFNK": "sample string 21",
"ZCPZSL": 64,
"DelayActivate": "sample string 23",
"DelayActEndingMode": "sample string 24",
"DelayActMaxDays": 1,
"DelayActLastestDay": "sample string 25",
"OutOfActEndingDateMode": "sample string 26",
"NetOrderRealNameMode": "sample string 27",
"DisplayOnFront": "sample string 28",
"DisplayOnFrontIndex": "sample string 29",
"GatherBioFeatureInFrom": "sample string 30",
"TicketPrintTemplateOnAutoSell": "sample string 31",
"TicketPrintTemplateOnFront": "sample string 32",
"FrontDiscountEnabled": "sample string 33",
"FrontDiscountLimit": 1.0,
"SpecialPriceDefine": "sample string 34",
"TicketCheckPromptType": "sample string 35",
"SameOneRepeatBuyLimitDays": 1,
"FontPrintMode": "sample string 36",
"Reserve1": "sample string 37",
"Reserve2": "sample string 38",
"Reserve3": "sample string 39",
"Reserve4": "sample string 40"
}
application/xml, text/xml
<JQ_MPLZAddOrUpdateParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.Setting"> <CZ>sample string 8</CZ> <DW>sample string 4</DW> <DZCP>true</DZCP> <DelayActEndingMode>sample string 24</DelayActEndingMode> <DelayActLastestDay>sample string 25</DelayActLastestDay> <DelayActMaxDays>1</DelayActMaxDays> <DelayActivate>sample string 23</DelayActivate> <DisplayOnFront>sample string 28</DisplayOnFront> <DisplayOnFrontIndex>sample string 29</DisplayOnFrontIndex> <FLWYWEDLX>sample string 19</FLWYWEDLX> <FPMS>sample string 20</FPMS> <FontPrintMode>sample string 36</FontPrintMode> <FrontDiscountEnabled>sample string 33</FrontDiscountEnabled> <FrontDiscountLimit>1</FrontDiscountLimit> <GMXX>1</GMXX> <GatherBioFeatureInFrom>sample string 30</GatherBioFeatureInFrom> <HLWDRZDXK>1</HLWDRZDXK> <HLWSPXK>sample string 13</HLWSPXK> <HLWYDTQRS>1</HLWYDTQRS> <LPXK>true</LPXK> <MPFZMC>sample string 7</MPFZMC> <MPLXID>7ad1c69e-7289-40db-adf2-2e0b565bdd61</MPLXID> <MPLXMC>sample string 2</MPLXMC> <NetOrderPreHoursLimit>1</NetOrderPreHoursLimit> <NetOrderRealNameMode>sample string 27</NetOrderRealNameMode> <OutOfActEndingDateMode>sample string 26</OutOfActEndingDateMode> <QSZF>sample string 3</QSZF> <QTSMZ>sample string 18</QTSMZ> <QYBZ>true</QYBZ> <Reserve1>sample string 37</Reserve1> <Reserve2>sample string 38</Reserve2> <Reserve3>sample string 39</Reserve3> <Reserve4>sample string 40</Reserve4> <SFNK>sample string 21</SFNK> <SMZYS>sample string 17</SMZYS> <SQFS>sample string 9</SQFS> <SXJZZQ>sample string 15</SXJZZQ> <SXQSZQ>sample string 14</SXQSZQ> <SXZQQF>sample string 16</SXZQQF> <SameOneRepeatBuyLimitDays>1</SameOneRepeatBuyLimitDays> <SpecialPriceDefine>sample string 34</SpecialPriceDefine> <TXQLXID>10ec6592-cacb-4c7a-ba3c-d22923ed1d70</TXQLXID> <TicketCheckPromptType>sample string 35</TicketCheckPromptType> <TicketPrintTemplateOnAutoSell>sample string 31</TicketPrintTemplateOnAutoSell> <TicketPrintTemplateOnFront>sample string 32</TicketPrintTemplateOnFront> <YYFK>true</YYFK> <YYSP>true</YYSP> <ZCPZSL>64</ZCPZSL> </JQ_MPLZAddOrUpdateParm>
application/x-www-form-urlencoded
Sample not available.
application/bson
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
修改一个已存在的票型,MPLXID,QSZF两个字段是不能被修改的。
CommonOperationResult| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode |
错误代码,通常0表示成功,其他值表示错误。 |
integer |
None. |
| errmsg |
错误描述,当errcode不为零时,此值可以用于呈现给用户。 |
string |
None. |
| tag |
操作同时,服务器端需要返回的其他值。 |
string |
None. |
Response Formats
application/json, text/json
{
"errcode": 1,
"errmsg": "sample string 2",
"tag": "sample string 3"
}
application/xml, text/xml
<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
Binary JSON content. See http://bsonspec.org for details.