POST api/Bus/CarSell/Submit
包车订单业务的提交(该业务需整体提交,整体失败) 调用:Sp_Bus_SellBill_CreateNew 保存包车订单信息 调用:Sp_Bus_SellBill_Pay 保存包车订单支付信息
Request Information
URI Parameters
None.
Body Parameters
BusSellTranParmName | Description | Type | Additional information |
---|---|---|---|
BillNum |
订单号 |
string |
None. |
LineId |
线路ID |
integer |
None. |
YHDLM |
售票员 |
string |
None. |
RQSJ |
日期时间 |
string |
None. |
SPZDDM |
售票站点代码 |
string |
None. |
DJSID |
地接社ID |
globally unique identifier |
None. |
DJSBMID |
地接社部门ID |
globally unique identifier |
None. |
ZTSID |
组团社ID |
globally unique identifier |
None. |
ZTSBMID |
组团社部门ID |
globally unique identifier |
None. |
XYDWID |
协议单位ID |
globally unique identifier |
None. |
XYDWBMID |
协议单位部门ID |
globally unique identifier |
None. |
Guide |
导游员 |
string |
None. |
RentName |
包车人 |
string |
None. |
RentCount |
包车人数 |
integer |
None. |
Mobile |
手机号码 |
string |
None. |
IdType |
证件类型 |
string |
None. |
IdNum |
证件号码 |
string |
None. |
TypeId |
车型ID |
string |
None. |
CarNo |
车牌号码 |
string |
None. |
CarNoType |
号码类型 |
string |
None. |
Driver |
司机 |
string |
None. |
Chargetype |
计费方式 |
string |
None. |
Amount |
租赁天数 |
integer |
None. |
Price |
价格 |
decimal number |
None. |
Discount |
折扣金额 |
decimal number |
None. |
RentPreDate |
预计租赁日期 |
string |
None. |
RentPreTime |
预计租赁时间 |
string |
None. |
RentConfirmDate |
实际租赁日期 |
string |
None. |
RentConfirmTime |
实际租赁时间 |
string |
None. |
RentConfirmStartArea |
实际出发地 |
string |
None. |
RentConfirmEndArea |
实际目的地 |
string |
None. |
Mileage |
里程数 |
decimal number |
None. |
OnPlace |
接车地点 |
string |
None. |
TripDesc |
行程描述 |
string |
None. |
Reserve1 |
保留一 |
string |
None. |
Reserve2 |
保留二 |
string |
None. |
Memory |
备注 |
string |
None. |
PayList |
付款方式的集合 |
Collection of CSellTicketTranTicketPayItem |
None. |
Request Formats
application/json, text/json
Sample:
{ "BillNum": "sample string 1", "LineId": 2, "YHDLM": "sample string 3", "RQSJ": "sample string 4", "SPZDDM": "sample string 5", "DJSID": "6f20e39a-fc75-4ffb-a3d0-bc197978be7b", "DJSBMID": "21bb3b36-7f34-4685-8963-a530fbe4b812", "ZTSID": "56ef1dca-1518-42d1-a78f-45f191346559", "ZTSBMID": "32059920-1648-4e1a-bde6-8b57104e1d56", "XYDWID": "763d4edb-54fb-4162-82f6-09da766fed47", "XYDWBMID": "c8e83d8e-2297-4950-86ad-cc51f7e4459b", "Guide": "sample string 12", "RentName": "sample string 13", "RentCount": 14, "Mobile": "sample string 15", "IdType": "sample string 16", "IdNum": "sample string 17", "TypeId": "sample string 18", "CarNo": "sample string 19", "CarNoType": "sample string 20", "Driver": "sample string 21", "Chargetype": "sample string 22", "Amount": 23, "Price": 24.0, "Discount": 25.0, "RentPreDate": "sample string 26", "RentPreTime": "sample string 27", "RentConfirmDate": "sample string 28", "RentConfirmTime": "sample string 29", "RentConfirmStartArea": "sample string 30", "RentConfirmEndArea": "sample string 31", "Mileage": 32.0, "OnPlace": "sample string 33", "TripDesc": "sample string 34", "Reserve1": "sample string 35", "Reserve2": "sample string 36", "Memory": "sample string 37", "PayList": [ { "FKFSID": "sample string 1", "FKFSMC": "sample string 2", "FKJE": 3.0 }, { "FKFSID": "sample string 1", "FKFSMC": "sample string 2", "FKJE": 3.0 } ] }
application/xml, text/xml
Sample:
<BusSellTranParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.Bus"> <Amount>23</Amount> <BillNum>sample string 1</BillNum> <CarNo>sample string 19</CarNo> <CarNoType>sample string 20</CarNoType> <Chargetype>sample string 22</Chargetype> <DJSBMID>21bb3b36-7f34-4685-8963-a530fbe4b812</DJSBMID> <DJSID>6f20e39a-fc75-4ffb-a3d0-bc197978be7b</DJSID> <Discount>25</Discount> <Driver>sample string 21</Driver> <Guide>sample string 12</Guide> <IdNum>sample string 17</IdNum> <IdType>sample string 16</IdType> <LineId>2</LineId> <Memory>sample string 37</Memory> <Mileage>32</Mileage> <Mobile>sample string 15</Mobile> <OnPlace>sample string 33</OnPlace> <PayList xmlns:d2p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm"> <d2p1:CSellTicketTranTicketPayItem> <d2p1:FKFSID>sample string 1</d2p1:FKFSID> <d2p1:FKFSMC>sample string 2</d2p1:FKFSMC> <d2p1:FKJE>3</d2p1:FKJE> </d2p1:CSellTicketTranTicketPayItem> <d2p1:CSellTicketTranTicketPayItem> <d2p1:FKFSID>sample string 1</d2p1:FKFSID> <d2p1:FKFSMC>sample string 2</d2p1:FKFSMC> <d2p1:FKJE>3</d2p1:FKJE> </d2p1:CSellTicketTranTicketPayItem> </PayList> <Price>24</Price> <RQSJ>sample string 4</RQSJ> <RentConfirmDate>sample string 28</RentConfirmDate> <RentConfirmEndArea>sample string 31</RentConfirmEndArea> <RentConfirmStartArea>sample string 30</RentConfirmStartArea> <RentConfirmTime>sample string 29</RentConfirmTime> <RentCount>14</RentCount> <RentName>sample string 13</RentName> <RentPreDate>sample string 26</RentPreDate> <RentPreTime>sample string 27</RentPreTime> <Reserve1>sample string 35</Reserve1> <Reserve2>sample string 36</Reserve2> <SPZDDM>sample string 5</SPZDDM> <TripDesc>sample string 34</TripDesc> <TypeId>sample string 18</TypeId> <XYDWBMID>c8e83d8e-2297-4950-86ad-cc51f7e4459b</XYDWBMID> <XYDWID>763d4edb-54fb-4162-82f6-09da766fed47</XYDWID> <YHDLM>sample string 3</YHDLM> <ZTSBMID>32059920-1648-4e1a-bde6-8b57104e1d56</ZTSBMID> <ZTSID>56ef1dca-1518-42d1-a78f-45f191346559</ZTSID> </BusSellTranParm>
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
包车订单业务的提交(该业务需整体提交,整体失败) 调用:Sp_Bus_SellBill_CreateNew 保存包车订单信息 调用:Sp_Bus_SellBill_Pay 保存包车订单支付信息
CBusSellTranResultName | Description | Type | Additional information |
---|---|---|---|
BillNum |
售票单号 |
string |
None. |
ErrorCode |
故障码 |
integer |
None. |
ErrorMessage |
错误信息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "BillNum": "sample string 1", "ErrorCode": 2, "ErrorMessage": "sample string 3" }
application/xml, text/xml
Sample:
<CBusSellTranResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result.Bus"> <BillNum>sample string 1</BillNum> <ErrorCode>2</ErrorCode> <ErrorMessage>sample string 3</ErrorMessage> </CBusSellTranResult>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.