POST Api/Invoke/AddWebApiRefund
接口添加新退票单
Request Information
URI Parameters
None.
Body Parameters
设置参数
SpeedPower.Utility.Models.Project.Orders.Service.WebApiIntactRefundModelName | Description | Type | Additional information |
---|---|---|---|
RefundExpands |
退票扩展参数列表 |
Collection of SpeedPower.Utility.Models.Project.Orders.Service.AddRefundExpandModel |
None. |
RefundPayments |
退票收付款项列表 |
Collection of SpeedPower.Utility.Models.Project.Orders.Service.AddRefundPaymentModel |
None. |
RefundIncludes |
退票包含乘机人项列表 |
Collection of SpeedPower.Utility.Models.Project.Orders.Service.AddRefundIncludeModel |
Required |
OrderId |
父级ID |
globally unique identifier |
None. |
RefundExternalNumber |
外部退票单号 |
string |
Required String length: inclusive between 0 and 128 |
RefundType |
退票单类型 |
SpeedPower.Utility.Models.Project.Orders.Enums.RefundType |
None. |
RefundStyle |
退票单操作方式 |
SpeedPower.Utility.Models.Project.Orders.Enums.RefundStyleType |
None. |
LatestTime |
最晚处理时间 |
date |
None. |
Remarks |
备注内容 |
string |
String length: inclusive between 0 and 500 |
ExternalTime |
退票单外部时间 |
date |
None. |
Request Formats
application/json, text/json
Sample:
{ "RefundExpands": [ { "RefundId": "4fe21112-8777-40be-8b51-1ed7388058bb", "SettingKey": "sample string 2", "SettingValue": "sample string 3" }, { "RefundId": "4fe21112-8777-40be-8b51-1ed7388058bb", "SettingKey": "sample string 2", "SettingValue": "sample string 3" } ], "RefundPayments": [ { "RefundId": "915a0823-7975-4245-bb5a-899412694af7", "Confirmed": true, "Reconciled": true, "RefundPrice": 4.1, "CostPrice": 5.1, "TransactionId": "sample string 6", "Remarks": "sample string 7" }, { "RefundId": "915a0823-7975-4245-bb5a-899412694af7", "Confirmed": true, "Reconciled": true, "RefundPrice": 4.1, "CostPrice": 5.1, "TransactionId": "sample string 6", "Remarks": "sample string 7" } ], "RefundIncludes": [ { "RefundId": "8e745291-3d2c-4bff-8864-688abfc810bd", "PassengerId": "ec980adc-9232-4234-8383-f990840725bb" }, { "RefundId": "8e745291-3d2c-4bff-8864-688abfc810bd", "PassengerId": "ec980adc-9232-4234-8383-f990840725bb" } ], "OrderId": "9c1ca151-b781-4e9f-9697-a5b273ee6ce5", "RefundExternalNumber": "sample string 2", "RefundType": 0, "RefundStyle": 0, "LatestTime": "2024-12-24T03:27:35.9370418+08:00", "Remarks": "sample string 3", "ExternalTime": "2024-12-24T03:27:35.9370418+08:00" }
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" }