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.WebApiParentRefundModel| Name | 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": "7ef708df-d996-49c0-8f81-d7577a559dbc",
"RefundId": "c6741ca5-0543-46ea-9c18-72dbcfde3314",
"PassengerId": "bec8535a-b428-4371-97b2-0da92a250cba"
},
{
"ID": "7ef708df-d996-49c0-8f81-d7577a559dbc",
"RefundId": "c6741ca5-0543-46ea-9c18-72dbcfde3314",
"PassengerId": "bec8535a-b428-4371-97b2-0da92a250cba"
}
],
"RefundExpands": [
{
"ID": "de0c8f8c-5693-4fe5-8f94-960e822ecec4",
"RefundId": "c825f942-e620-43d2-98ac-d829e19c8319",
"SettingKey": "sample string 3",
"SettingValue": "sample string 4"
},
{
"ID": "de0c8f8c-5693-4fe5-8f94-960e822ecec4",
"RefundId": "c825f942-e620-43d2-98ac-d829e19c8319",
"SettingKey": "sample string 3",
"SettingValue": "sample string 4"
}
],
"RefundPayments": [
{
"RecordType": 0,
"Creater": "sample string 1",
"Time": "2025-11-01T21:44:46.2648791+08:00",
"ID": "067ac563-5238-4e4c-9219-05f18fcfd346",
"RefundId": "f68d5600-90b2-464b-98ef-5ab1f5422d82",
"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-11-01T21:44:46.2648791+08:00",
"ID": "067ac563-5238-4e4c-9219-05f18fcfd346",
"RefundId": "f68d5600-90b2-464b-98ef-5ab1f5422d82",
"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-11-01T21:44:46.2648791+08:00",
"ID": "0f40ab30-4251-4478-a5ff-8d975aded02f",
"OrderId": "24b403ce-6788-488d-8678-f5da4181bc80",
"RefundExternalNumber": "sample string 6",
"RefundType": 0,
"RefundStyle": 0,
"LatestTime": "2025-11-01T21:44:46.2648791+08:00",
"Remarks": "sample string 7",
"ExternalTime": "2025-11-01T21:44:46.2648791+08:00"
}