POST api/AutoSell/Ticket/IdentityRequirement
查询当前门票类型的身份证约束要求
Request Information
URI Parameters
None.
Body Parameters
stringRequest Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>
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
查询当前门票类型的身份证约束要求
Collection of AutoSellTicketIdentityRequirementResultName | Description | Type | Additional information |
---|---|---|---|
autoid |
序号 |
integer |
None. |
ticketId |
门票类型ID |
globally unique identifier |
None. |
identitytype |
证件类型 |
string |
None. |
identitynumberprefixrequire |
证件号前缀要求,如“4301;4302”,以分号分格 |
string |
None. |
addressprefixrequire |
地址包含要求,如“湖南省;河北省",以分号分格。空表示不限 |
string |
None. |
sexrequire |
性别要求,“W”限女性,“M”限男性,A不限 |
string |
None. |
agerequire |
是否有年龄 要求,“1”表示是,其他值 表示否。 |
string |
None. |
agestart |
年龄起始 |
integer |
None. |
ageend |
年龄截止 |
integer |
None. |
birthdayrequire |
生日要求 |
string |
None. |
birthdaygraceday |
生日宽限日是期,2表示生前的前后两天,1表示生日前后一天,0表示生日当天。至大为15,大于15表示生日当月 |
integer |
None. |
logicalrelation |
逻辑关系,A表示AND,N表示非(OR之后取非),O表示或者。 |
string |
None. |
enable |
启用标志,1是启用 0禁用 |
string |
None. |
effectbegperiod |
生效起始周期 |
string |
None. |
effectendperiod |
生效截止周期 |
string |
None. |
effectperiodnegated |
生效周期是否取反 ,1表示取反 |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "autoid": 1, "ticketId": "48a9f6fb-8a57-402f-86f6-bd383a26f136", "identitytype": "sample string 3", "identitynumberprefixrequire": "sample string 4", "addressprefixrequire": "sample string 5", "sexrequire": "sample string 6", "agerequire": "sample string 7", "agestart": 8, "ageend": 9, "birthdayrequire": "sample string 10", "birthdaygraceday": 11, "logicalrelation": "sample string 12", "enable": "sample string 13", "effectbegperiod": "sample string 14", "effectendperiod": "sample string 15", "effectperiodnegated": "sample string 16" }, { "autoid": 1, "ticketId": "48a9f6fb-8a57-402f-86f6-bd383a26f136", "identitytype": "sample string 3", "identitynumberprefixrequire": "sample string 4", "addressprefixrequire": "sample string 5", "sexrequire": "sample string 6", "agerequire": "sample string 7", "agestart": 8, "ageend": 9, "birthdayrequire": "sample string 10", "birthdaygraceday": 11, "logicalrelation": "sample string 12", "enable": "sample string 13", "effectbegperiod": "sample string 14", "effectendperiod": "sample string 15", "effectperiodnegated": "sample string 16" } ]
application/xml, text/xml
Sample:
<ArrayOfAutoSellTicketIdentityRequirementResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result.AutoSell"> <AutoSellTicketIdentityRequirementResult> <addressprefixrequire>sample string 5</addressprefixrequire> <ageend>9</ageend> <agerequire>sample string 7</agerequire> <agestart>8</agestart> <autoid>1</autoid> <birthdaygraceday>11</birthdaygraceday> <birthdayrequire>sample string 10</birthdayrequire> <effectbegperiod>sample string 14</effectbegperiod> <effectendperiod>sample string 15</effectendperiod> <effectperiodnegated>sample string 16</effectperiodnegated> <enable>sample string 13</enable> <identitynumberprefixrequire>sample string 4</identitynumberprefixrequire> <identitytype>sample string 3</identitytype> <logicalrelation>sample string 12</logicalrelation> <sexrequire>sample string 6</sexrequire> <ticketId>48a9f6fb-8a57-402f-86f6-bd383a26f136</ticketId> </AutoSellTicketIdentityRequirementResult> <AutoSellTicketIdentityRequirementResult> <addressprefixrequire>sample string 5</addressprefixrequire> <ageend>9</ageend> <agerequire>sample string 7</agerequire> <agestart>8</agestart> <autoid>1</autoid> <birthdaygraceday>11</birthdaygraceday> <birthdayrequire>sample string 10</birthdayrequire> <effectbegperiod>sample string 14</effectbegperiod> <effectendperiod>sample string 15</effectendperiod> <effectperiodnegated>sample string 16</effectperiodnegated> <enable>sample string 13</enable> <identitynumberprefixrequire>sample string 4</identitynumberprefixrequire> <identitytype>sample string 3</identitytype> <logicalrelation>sample string 12</logicalrelation> <sexrequire>sample string 6</sexrequire> <ticketId>48a9f6fb-8a57-402f-86f6-bd383a26f136</ticketId> </AutoSellTicketIdentityRequirementResult> </ArrayOfAutoSellTicketIdentityRequirementResult>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.