POST api/Setting/T_JQ_MPZL_KZPZYQ_SFZYQ/T/Add

添加一条某种票型的扩展凭证要求的记录

Request Information

URI Parameters

None.

Body Parameters

JQ_MPZL_KZPZYQ_SFZYQParm
NameDescriptionTypeAdditional information
InnerAutoId

自增长编号

integer

Required

AutoId

门票扩展凭证要求编号

integer

Required

MPLXID

MPLXID 门票类型ID

globally unique identifier

Required

ZJLX

ZJLX 证件类型

string

Required

Max length: 1

Min length: 1

ZJHQZYQ

ZJHQZYQ 证件号前缀要求

string

Required

Max length: 100

DZBHYQ

DZBHYQ 地址包含要求

string

Required

Max length: 200

XBYQ

XBYQ 性别要求

string

Required

Max length: 1

Min length: 1

NNYQ

NNYQ 年龄要求

string

Required

Max length: 1

Min length: 1

NN1

NN1 开始年龄

integer

None.

NN2

NN2 截止年龄

integer

None.

SRYQ

SRYQ 生日要求

string

Required

Max length: 1

Min length: 1

SRKXRQ

SRKXRQ 生日宽限日期

integer

None.

LJGX

LJGX 逻辑关系

string

Required

Max length: 1

Min length: 1

QYBZ

启用标志,1表示启用,0表示禁用。

string

Required

Max length: 1

Min length: 1

SXQSZQ

生效起始周期,MMDD

string

Required

Max length: 4

Min length: 4

SXJZZQ

生效截止周期,MMDD

string

Required

Max length: 4

Min length: 4

SXZQQF

生效周期是否取反,1表示取反,0或其他值表示不取反。

string

Required

Max length: 1

Min length: 1

EnabledRegular

命中的正则表达式内容,证件号必须满足此正则表达式,方可命中。

string

Max length: 100

DisabledRegular

排除的正则表达式内容。证件号必须不命中此正则表达式,方可命中。

string

Max length: 100

DisabledPrompt

当命中排除规则时,此消息用于返回给客户端说明原因。

string

Max length: 100

Request Formats

application/json, text/json

Sample:
{
  "InnerAutoId": 1,
  "AutoId": 2,
  "MPLXID": "3a68b170-1194-4674-bf82-10447c3c7013",
  "ZJLX": "sample string 4",
  "ZJHQZYQ": "sample string 5",
  "DZBHYQ": "sample string 6",
  "XBYQ": "sample string 7",
  "NNYQ": "sample string 8",
  "NN1": 9,
  "NN2": 10,
  "SRYQ": "sample string 11",
  "SRKXRQ": 12,
  "LJGX": "sample string 13",
  "QYBZ": "sample string 14",
  "SXQSZQ": "sample string 15",
  "SXJZZQ": "sample string 16",
  "SXZQQF": "sample string 17",
  "EnabledRegular": "sample string 18",
  "DisabledRegular": "sample string 19",
  "DisabledPrompt": "sample string 20"
}

application/xml, text/xml

Sample:
<JQ_MPZL_KZPZYQ_SFZYQParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm">
  <DZBHYQ>sample string 6</DZBHYQ>
  <DisabledPrompt>sample string 20</DisabledPrompt>
  <DisabledRegular>sample string 19</DisabledRegular>
  <EnabledRegular>sample string 18</EnabledRegular>
  <LJGX>sample string 13</LJGX>
  <MPLXID>3a68b170-1194-4674-bf82-10447c3c7013</MPLXID>
  <NN1>9</NN1>
  <NN2>10</NN2>
  <NNYQ>sample string 8</NNYQ>
  <QYBZ>sample string 14</QYBZ>
  <SRKXRQ>12</SRKXRQ>
  <SRYQ>sample string 11</SRYQ>
  <SXJZZQ>sample string 16</SXJZZQ>
  <SXQSZQ>sample string 15</SXQSZQ>
  <SXZQQF>sample string 17</SXZQQF>
  <XBYQ>sample string 7</XBYQ>
  <ZJHQZYQ>sample string 5</ZJHQZYQ>
  <ZJLX>sample string 4</ZJLX>
  <AutoId>2</AutoId>
  <InnerAutoId>1</InnerAutoId>
</JQ_MPZL_KZPZYQ_SFZYQParm>

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
NameDescriptionTypeAdditional 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.