POST Api/Invoke/AddPaymentRecord
添加支付记录
Request Information
URI Parameters
None.
Body Parameters
请求模型
SpeedPower.Utility.Models.Service.MILogs.AddPaymentRecordModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyId |
公司ID |
string |
Required String length: inclusive between 0 and 128 |
| SiteId |
站点ID |
string |
Required String length: inclusive between 0 and 128 |
| OrderExternalNumber |
外部订单号 |
string |
Required String length: inclusive between 0 and 128 |
| PurchaseOrderNumber |
采购单号 |
string |
Required String length: inclusive between 0 and 128 |
| PaymentTag |
支付路由(账户) |
string |
Required String length: inclusive between 0 and 20 |
| PaymentCode |
支付源代码 |
string |
Required String length: inclusive between 0 and 20 |
| PaymentAccount |
支付账户 |
string |
Required String length: inclusive between 0 and 128 |
| PayPrice |
已支付订单金额 |
decimal number |
None. |
| TransactionId |
交易流水号 |
string |
String length: inclusive between 0 and 200 |
| Remarks |
交易备注 |
string |
String length: inclusive between 0 and 500 |
| Creater |
创建者 |
string |
Required String length: inclusive between 0 and 128 |
Request Formats
application/json, text/json
Sample:
{
"CompanyId": "sample string 1",
"SiteId": "sample string 2",
"OrderExternalNumber": "sample string 3",
"PurchaseOrderNumber": "sample string 4",
"PaymentTag": "sample string 5",
"PaymentCode": "sample string 6",
"PaymentAccount": "sample string 7",
"PayPrice": 8.1,
"TransactionId": "sample string 9",
"Remarks": "sample string 10",
"Creater": "sample string 11"
}
Response Information
Resource Description
添加支付记录
SpeedPower.Utility.Models.Helper.ResultMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Succeed |
操作是否成功 |
boolean |
None. |
| Message |
操作消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Succeed": true,
"Message": "sample string 2"
}