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": "08b6c0b0-3fa3-4869-b284-62db84fb214d",
      "RefundId": "77a7f4be-32fa-4f07-9885-b4808e01fd33",
      "PassengerId": "2840cf56-731c-4f88-a8d2-c80e1709e609"
    },
    {
      "ID": "08b6c0b0-3fa3-4869-b284-62db84fb214d",
      "RefundId": "77a7f4be-32fa-4f07-9885-b4808e01fd33",
      "PassengerId": "2840cf56-731c-4f88-a8d2-c80e1709e609"
    }
  ],
  "RefundExpands": [
    {
      "ID": "404b9c8e-615f-4c66-aa2c-9a00f4acae46",
      "RefundId": "156d281b-dc5b-4ecc-923d-16886938b97f",
      "SettingKey": "sample string 3",
      "SettingValue": "sample string 4"
    },
    {
      "ID": "404b9c8e-615f-4c66-aa2c-9a00f4acae46",
      "RefundId": "156d281b-dc5b-4ecc-923d-16886938b97f",
      "SettingKey": "sample string 3",
      "SettingValue": "sample string 4"
    }
  ],
  "RefundPayments": [
    {
      "RecordType": 0,
      "Creater": "sample string 1",
      "Time": "2026-03-25T04:08:35.5198541+08:00",
      "ID": "3d69e4b8-fd26-4cfe-9777-d0b4db27a080",
      "RefundId": "8314a2e6-7f90-4a8b-94e3-01cadfe38fdc",
      "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-03-25T04:08:35.5198541+08:00",
      "ID": "3d69e4b8-fd26-4cfe-9777-d0b4db27a080",
      "RefundId": "8314a2e6-7f90-4a8b-94e3-01cadfe38fdc",
      "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-03-25T04:08:35.5198541+08:00",
  "ID": "50216f55-ae80-47b7-a817-4cfb0b166f87",
  "OrderId": "ef2b6513-be03-4fc7-8282-00d2f6b81ffe",
  "RefundExternalNumber": "sample string 6",
  "RefundType": 0,
  "RefundStyle": 0,
  "LatestTime": "2026-03-25T04:08:35.5198541+08:00",
  "Remarks": "sample string 7",
  "ExternalTime": "2026-03-25T04:08:35.5198541+08:00"
}