GET api/WebInterface/Order/Query/Deal/{dwlx}/{dwid}/{orderid}/{personalid}?guidernum={guidernum}
依据订单编号,查询订单的交割记录集。 仅当这个订单是您发起预订的,才会有数据返回。 认证方式:HAWK,密钥:KEY+UPPER(MD5(密码))。
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| dwlx |
客户类型 |
string |
Required |
| dwid |
客户ID |
string |
Required |
| orderid |
电子门票系统订单编号。 |
string |
Required |
| personalid |
个人会员ID,当个人会员通过官方渠道发起操作时这个参数必须,代理商可以不提供这个参数。 |
integer |
Default value is 0 |
| guidernum |
导游证号。 |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
依据订单编号,查询订单的交割记录集。 仅当这个订单是您发起预订的,才会有数据返回。 认证方式:HAWK,密钥:KEY+UPPER(MD5(密码))。
Collection of OrderDeal| Name | Description | Type | Additional information |
|---|---|---|---|
| orderid |
电子门票系统订单号。 |
string |
None. |
| ordertime |
发起预订的日期时间,格式:yyyymmdd |
string |
None. |
| status |
订单状态,预定中 0 已交割 3 已关闭 4 第三方付款已支付待核准 5 第三方支付退款申请中 7 第三方付款退款办理中 B 已前台现付取票 X 已交割(返款) D |
string |
None. |
| dealtime |
交割成交日期时间yyyyMMddHHmmss |
string |
None. |
| customerid |
客户ID,电子门票系统中唯一地标识每一个代理商的ID号 |
string |
None. |
| customername |
客户名称,如“上海万程网络科技有限公司”。 |
string |
None. |
| customertypecode |
客户类型代码(1,2,3,4,5,6,7,8) |
string |
None. |
| customertypename |
客户类型名称,如地接社、组团社、协议单位,地接社部门、组团社部门、协议单位部门、导游员、官方网络,对应customertypecode的值为1,2,3,4,5,7,8 |
string |
None. |
| summary |
合计整个订单的预订金额。 |
decimal number |
None. |
| unit |
单位 |
string |
None. |
| num |
数量 |
integer |
None. |
| price |
单价 |
decimal number |
None. |
| productid |
产品ID |
string |
None. |
| productname |
产品名称 |
string |
None. |
| dealnum |
交割成交数量 |
decimal number |
None. |
Response Formats
application/json, text/json
[
{
"orderid": "sample string 1",
"ordertime": "sample string 2",
"status": "sample string 3",
"dealtime": "sample string 4",
"customerid": "sample string 5",
"customername": "sample string 6",
"customertypecode": "sample string 7",
"customertypename": "sample string 8",
"summary": 9.0,
"unit": "sample string 10",
"num": 11,
"price": 12.0,
"productid": "sample string 13",
"productname": "sample string 14",
"dealnum": 15.0
},
{
"orderid": "sample string 1",
"ordertime": "sample string 2",
"status": "sample string 3",
"dealtime": "sample string 4",
"customerid": "sample string 5",
"customername": "sample string 6",
"customertypecode": "sample string 7",
"customertypename": "sample string 8",
"summary": 9.0,
"unit": "sample string 10",
"num": 11,
"price": 12.0,
"productid": "sample string 13",
"productname": "sample string 14",
"dealnum": 15.0
}
]
application/xml, text/xml
<ArrayOfOrderDeal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result.WebInterface">
<OrderDeal>
<customerid>sample string 5</customerid>
<customername>sample string 6</customername>
<customertypecode>sample string 7</customertypecode>
<customertypename>sample string 8</customertypename>
<dealnum>15</dealnum>
<dealtime>sample string 4</dealtime>
<num>11</num>
<orderid>sample string 1</orderid>
<ordertime>sample string 2</ordertime>
<price>12</price>
<productid>sample string 13</productid>
<productname>sample string 14</productname>
<status>sample string 3</status>
<summary>9</summary>
<unit>sample string 10</unit>
</OrderDeal>
<OrderDeal>
<customerid>sample string 5</customerid>
<customername>sample string 6</customername>
<customertypecode>sample string 7</customertypecode>
<customertypename>sample string 8</customertypename>
<dealnum>15</dealnum>
<dealtime>sample string 4</dealtime>
<num>11</num>
<orderid>sample string 1</orderid>
<ordertime>sample string 2</ordertime>
<price>12</price>
<productid>sample string 13</productid>
<productname>sample string 14</productname>
<status>sample string 3</status>
<summary>9</summary>
<unit>sample string 10</unit>
</OrderDeal>
</ArrayOfOrderDeal>
application/bson
Binary JSON content. See http://bsonspec.org for details.