GET Api/Invoke/GetWebApiParentRefundByExternalNumber/{ExternalNumber}
获取退票单全结构信息
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ExternalNumber |
外部退票单号 |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取退票单全结构信息
SpeedPower.Utility.Models.Project.Orders.Service.WebApiParentRefundModelName | Description | Type | Additional information |
---|---|---|---|
RefundIncludes |
退票包含乘机人项列表 |
Collection of SpeedPower.Utility.Models.Project.Orders.Service.GetRefundIncludeModel |
None. |
RefundExpands |
退票扩展参数列表 |
Collection of SpeedPower.Utility.Models.Project.Orders.Service.GetRefundExpandModel |
None. |
RefundPayments |
退票收付款项列表 |
Collection of SpeedPower.Utility.Models.Project.Orders.Service.GetRefundPaymentModel |
None. |
RefundInternalNumber |
内部退票单号 |
string |
Required String length: inclusive between 0 and 128 |
RefundSource |
退票单来源类型 |
SpeedPower.Utility.Models.Project.Orders.Enums.RefundSourceType |
None. |
Creater |
创建人 |
string |
Required String length: inclusive between 0 and 128 |
InternalTime |
创建时间 |
date |
None. |
ID |
退票单ID |
globally unique identifier |
None. |
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. |
Response Formats
application/json, text/json
Sample:
{ "RefundIncludes": [ { "ID": "3b4b2ab1-c303-4364-8452-bbb1f57fa521", "RefundId": "63009d85-e701-45e0-b035-a28b28f44774", "PassengerId": "7f735e56-ab5c-42a6-b3c0-fb3406e37e14" }, { "ID": "3b4b2ab1-c303-4364-8452-bbb1f57fa521", "RefundId": "63009d85-e701-45e0-b035-a28b28f44774", "PassengerId": "7f735e56-ab5c-42a6-b3c0-fb3406e37e14" } ], "RefundExpands": [ { "ID": "68c26c38-333e-4872-ac9b-ce2568109f8e", "RefundId": "ab701c87-e153-44b8-916a-2998020ffdeb", "SettingKey": "sample string 3", "SettingValue": "sample string 4" }, { "ID": "68c26c38-333e-4872-ac9b-ce2568109f8e", "RefundId": "ab701c87-e153-44b8-916a-2998020ffdeb", "SettingKey": "sample string 3", "SettingValue": "sample string 4" } ], "RefundPayments": [ { "RecordType": 0, "Creater": "sample string 1", "Time": "2025-07-01T12:45:20.7105073+08:00", "ID": "1f59752d-c30c-4e2f-abd6-3b6f853aa713", "RefundId": "35368750-9dae-461b-8d82-416881fbe8b5", "Confirmed": true, "Reconciled": true, "RefundPrice": 7.1, "CostPrice": 8.1, "TransactionId": "sample string 9", "Remarks": "sample string 10" }, { "RecordType": 0, "Creater": "sample string 1", "Time": "2025-07-01T12:45:20.7105073+08:00", "ID": "1f59752d-c30c-4e2f-abd6-3b6f853aa713", "RefundId": "35368750-9dae-461b-8d82-416881fbe8b5", "Confirmed": true, "Reconciled": true, "RefundPrice": 7.1, "CostPrice": 8.1, "TransactionId": "sample string 9", "Remarks": "sample string 10" } ], "RefundInternalNumber": "sample string 1", "RefundSource": 0, "Creater": "sample string 2", "InternalTime": "2025-07-01T12:45:20.7105073+08:00", "ID": "b34ffd02-95ed-4413-81f1-000a83447338", "OrderId": "032ea338-c0eb-439c-8884-24064f08a7a4", "RefundExternalNumber": "sample string 6", "RefundType": 0, "RefundStyle": 0, "LatestTime": "2025-07-01T12:45:20.7105073+08:00", "Remarks": "sample string 7", "ExternalTime": "2025-07-01T12:45:20.7105073+08:00" }