POST api/WebInterface/Order/Check/IdentificationNumber/IfRepeatOrder
核查订单中某种门票类型的某个身份证号码是否可用预订
Request Information
URI Parameters
None.
Body Parameters
门票类型、产品ID列表
Collection of OrderIdentificationNumberParm| Name | Description | Type | Additional information |
|---|---|---|---|
| productid |
产品ID,即门票类型ID。 |
string |
Required Max length: 36 |
| identificationnumber |
身份证号 |
string |
Required Max length: 20 |
Request Formats
application/json, text/json
Sample:
[
{
"productid": "sample string 1",
"identificationnumber": "sample string 2"
},
{
"productid": "sample string 1",
"identificationnumber": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfOrderIdentificationNumberParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.WebInterface">
<OrderIdentificationNumberParm>
<identificationnumber>sample string 2</identificationnumber>
<productid>sample string 1</productid>
</OrderIdentificationNumberParm>
<OrderIdentificationNumberParm>
<identificationnumber>sample string 2</identificationnumber>
<productid>sample string 1</productid>
</OrderIdentificationNumberParm>
</ArrayOfOrderIdentificationNumberParm>
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
核查订单中某种门票类型的某个身份证号码是否可用预订
OrderIdentificationNumberResult| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode |
错误代码 |
integer |
None. |
| errmsg |
错误的描述 |
string |
None. |
| productid |
产品ID,即门票类型ID。 |
string |
None. |
| identificationnumber |
身份证号 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": 1,
"errmsg": "sample string 2",
"productid": "sample string 3",
"identificationnumber": "sample string 4"
}
application/xml, text/xml
Sample:
<OrderIdentificationNumberResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result.WebInterface"> <errcode>1</errcode> <errmsg>sample string 2</errmsg> <identificationnumber>sample string 4</identificationnumber> <productid>sample string 3</productid> </OrderIdentificationNumberResult>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.