POST Api/Service/Order/AddOrderPayment
增加订单收入/支付金额项
Request Information
URI Parameters
None.
Body Parameters
设置参数
SpeedPower.Utility.Models.Project.Orders.Service.AddOrderPaymentModelName | Description | Type | Additional information |
---|---|---|---|
OrderId |
父级ID |
globally unique identifier |
None. |
PaymentType |
收付款类型 |
SpeedPower.Utility.Models.Project.Orders.Enums.PaymentType |
None. |
TotalPrice |
支付/收款金额 |
decimal number |
None. |
TransactionId |
交易流水号 |
string |
String length: inclusive between 0 and 200 |
Reconciled |
是否已对账 |
boolean |
None. |
Remarks |
备注内容 |
string |
String length: inclusive between 0 and 500 |
Request Formats
application/json, text/json
Sample:
{ "OrderId": "c374e388-c83c-46f0-a817-fa4bba38cab5", "PaymentType": 0, "TotalPrice": 2.1, "TransactionId": "sample string 3", "Reconciled": true, "Remarks": "sample string 5" }
Response Information
Resource Description
增加订单收入/支付金额项
SpeedPower.Utility.Models.Helper.ResultMessageName | Description | Type | Additional information |
---|---|---|---|
Succeed |
操作是否成功 |
boolean |
None. |
Message |
操作消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Succeed": true, "Message": "sample string 2" }