GET Api/Invoke/GetWebApiParentRefundByExternalNumber/{ExternalNumber}

获取退票单全结构信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ExternalNumber

外部退票单号

string

Required

Body Parameters

None.

Response Information

Resource Description

获取退票单全结构信息

SpeedPower.Utility.Models.Project.Orders.Service.WebApiParentRefundModel
NameDescriptionTypeAdditional 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": "bc98fcd3-30b3-4ddc-9d33-0854f6c97a65",
      "RefundId": "3fc94ed6-b09f-4298-8a30-6f8d2c5532b3",
      "PassengerId": "dc66b39d-ebc9-4221-86f6-75434ad5c5e4"
    },
    {
      "ID": "bc98fcd3-30b3-4ddc-9d33-0854f6c97a65",
      "RefundId": "3fc94ed6-b09f-4298-8a30-6f8d2c5532b3",
      "PassengerId": "dc66b39d-ebc9-4221-86f6-75434ad5c5e4"
    }
  ],
  "RefundExpands": [
    {
      "ID": "9ea78da4-7eda-491e-877f-95c30455069b",
      "RefundId": "6518a917-c30b-49fa-b8b3-38b9e7c2906a",
      "SettingKey": "sample string 3",
      "SettingValue": "sample string 4"
    },
    {
      "ID": "9ea78da4-7eda-491e-877f-95c30455069b",
      "RefundId": "6518a917-c30b-49fa-b8b3-38b9e7c2906a",
      "SettingKey": "sample string 3",
      "SettingValue": "sample string 4"
    }
  ],
  "RefundPayments": [
    {
      "RecordType": 0,
      "Creater": "sample string 1",
      "Time": "2026-02-04T08:50:14.407816+08:00",
      "ID": "8da97c23-7002-45aa-94dc-bffc191d8908",
      "RefundId": "82b04420-f68b-4e2c-9668-68430cd2b7d4",
      "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": "2026-02-04T08:50:14.407816+08:00",
      "ID": "8da97c23-7002-45aa-94dc-bffc191d8908",
      "RefundId": "82b04420-f68b-4e2c-9668-68430cd2b7d4",
      "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": "2026-02-04T08:50:14.407816+08:00",
  "ID": "4f06005b-f0a1-4a60-806c-bdc31e068a2d",
  "OrderId": "519ebcc7-54eb-4b5e-abb7-d67e2f7513e1",
  "RefundExternalNumber": "sample string 6",
  "RefundType": 0,
  "RefundStyle": 0,
  "LatestTime": "2026-02-04T08:50:14.407816+08:00",
  "Remarks": "sample string 7",
  "ExternalTime": "2026-02-04T08:50:14.407816+08:00"
}