POST api/buy/commit
确认订单
Request Information
URI Parameters
None.
Body Parameters
订单编号
InputIdName | Description | Type | Additional information |
---|---|---|---|
OrderId |
订单编号 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "OrderId": 1 }
application/xml, text/xml
Sample:
<BuyController.InputId xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ecloud.WebUI.Api.Client"> <OrderId>1</OrderId> </BuyController.InputId>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
订单信息
OrderBriefName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Number |
订单流水号 |
string |
None. |
Name |
订单名称 |
string |
None. |
TotalPrice |
总价 |
decimal number |
None. |
OrigPrice |
原总价 |
decimal number |
None. |
Status |
订单状态 |
OrderStatus |
None. |
CreateAt |
创建时间 |
date |
None. |
UpdateAt |
更新时间 |
date |
None. |
Remark |
提交订单时的备注信息 |
string |
None. |
CreatorId |
创建者Id |
integer |
None. |
CreateBy | UserBrief |
None. |
|
IsTrial |
是否是试用订单 |
boolean |
None. |
OrderCatalog |
订单操作类型,如续费、新增、升级、降级等订单 |
OrderCatalog |
None. |
TrialRejectReason |
试用审核拒绝原因 |
string |
None. |
Details |
订单项集合 |
Collection of DetailBrief |
None. |
Transactions |
交易记录 |
Collection of TransactionLogBrief |
None. |
DiscountViewList |
优惠详情 |
DiscountViewList |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.