POST api/invoice/updateorder
更新订单 使用 DocNo唯一序列号(优先) 或者 OrderNO,CompanyId 组合
Request Information
URI Parameters
None.
Body Parameters
UpdateOrderReqeustName | Description | Type | Additional information |
---|---|---|---|
docno |
唯一序列号 |
string |
None. |
orderno |
订单编号-客户 |
string |
None. |
companyid |
公司ID |
string |
None. |
status |
订单状态 |
OrderStatus |
None. |
fareinfo |
机票信息 |
UpdateFareInfo |
None. |
hotelinfo |
酒店信息 |
UpdateHotelInfo |
None. |
paymentinfo |
付款资料 |
PaymentInfo |
None. |
tourgroupinfo |
旅行團信息 |
UpdateTourGroupInfo |
None. |
localtravelinfo |
當地享樂信息 |
Collection of UpdateLocalTravelInfo |
None. |
wifibbinfo |
WifiBB更新信息 |
UpdateWifiBbInfo |
None. |
sugarInfo |
Sugar信息 |
Collection of UpdateSugarReserveInfo |
None. |
insuranceInfo |
保险信息 |
UpdateInsuranceInfo |
None. |
logTrackGuid |
日志標識 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "docno": "sample string 1", "orderno": "sample string 2", "companyid": "sample string 3", "status": 0, "fareinfo": { "farestatus": 0, "flightur": "sample string 1", "flightpnr": "sample string 2", "lasttkdate": "2024-12-23T20:19:47.0023894+08:00" }, "hotelinfo": { "bookingcode": "sample string 1", "supplierbookingcode": "sample string 2", "confirmcode": "sample string 3", "status": "sample string 4" }, "paymentinfo": { "createagent": "sample string 1", "createip": "sample string 2", "createdate": "2024-12-23T20:19:47.0023894+08:00", "paytype": "sample string 4", "paydate": "2024-12-23T20:19:47.0023894+08:00", "payamt": 6.0, "paycurrency": "sample string 7", "paytranid": "sample string 8", "paytrantype": 0, "payerid": "sample string 9", "ispaid": true, "creditcardnum": "sample string 11" }, "tourgroupinfo": { "DStatus": 0, "SyncStatus": 0, "SyncDate": "2024-12-23T20:19:47.0023894+08:00", "ModifyDate": "2024-12-23T20:19:47.0023894+08:00", "HoldCode": "sample string 2" }, "localtravelinfo": [ { "Seq": 1, "Dstatus": 0, "RefBookOrderId": "sample string 2", "RefBookStatus": "sample string 3" }, { "Seq": 1, "Dstatus": 0, "RefBookOrderId": "sample string 2", "RefBookStatus": "sample string 3" } ], "wifibbinfo": { "WifibbOrderId": 1, "WifibbOrderCode": "sample string 1", "status": 0 }, "sugarInfo": [ { "quoteNumber": "sample string 1", "reserveNumber": "sample string 2", "expireAt": "2024-12-23T20:19:47.0023894+08:00", "status": 0 }, { "quoteNumber": "sample string 1", "reserveNumber": "sample string 2", "expireAt": "2024-12-23T20:19:47.0023894+08:00", "status": 0 } ], "insuranceInfo": { "status": "sample string 1", "statusDesc": "sample string 2", "planAmount": 1.0, "planCurrency": "sample string 3", "policyNumber": "sample string 4", "policyStatus": "sample string 5", "originalSubmittedPolicyDate": "2024-12-23T20:19:47.0023894+08:00", "policySchedule": "sample string 6", "transactionResponseDt": "2024-12-23T20:19:47.0023894+08:00" }, "logTrackGuid": "sample string 4" }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
更新订单 使用 DocNo唯一序列号(优先) 或者 OrderNO,CompanyId 组合
ReturnResultOfUpdateOrderResponseName | Description | Type | Additional information |
---|---|---|---|
data | UpdateOrderResponse |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "docno": "sample string 1" }, "code": 1, "message": "sample string 2" }