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": "e63ad357-61e2-4e02-9048-9e9fd96bae88",
      "RefundId": "06160e66-4be9-41cf-9b10-cbefbb3b4a3d",
      "PassengerId": "278dd8de-9e11-49f6-bba2-76f7d053c599"
    },
    {
      "ID": "e63ad357-61e2-4e02-9048-9e9fd96bae88",
      "RefundId": "06160e66-4be9-41cf-9b10-cbefbb3b4a3d",
      "PassengerId": "278dd8de-9e11-49f6-bba2-76f7d053c599"
    }
  ],
  "RefundExpands": [
    {
      "ID": "009249bb-0340-47af-a642-1d38c03f1ac9",
      "RefundId": "ab11d25c-7b14-48f2-942a-6eb68adde560",
      "SettingKey": "sample string 3",
      "SettingValue": "sample string 4"
    },
    {
      "ID": "009249bb-0340-47af-a642-1d38c03f1ac9",
      "RefundId": "ab11d25c-7b14-48f2-942a-6eb68adde560",
      "SettingKey": "sample string 3",
      "SettingValue": "sample string 4"
    }
  ],
  "RefundPayments": [
    {
      "RecordType": 0,
      "Creater": "sample string 1",
      "Time": "2024-12-24T02:59:05.2695897+08:00",
      "ID": "047ce986-8835-400c-b57e-bf01736ab531",
      "RefundId": "32a4fcfe-afdb-4fed-915d-45199a26e46a",
      "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": "2024-12-24T02:59:05.2695897+08:00",
      "ID": "047ce986-8835-400c-b57e-bf01736ab531",
      "RefundId": "32a4fcfe-afdb-4fed-915d-45199a26e46a",
      "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": "2024-12-24T02:59:05.2695897+08:00",
  "ID": "e5e1266e-89c9-4aa4-872a-99912c30f63e",
  "OrderId": "6b05b537-6169-4ec4-ba31-85d12afbd02b",
  "RefundExternalNumber": "sample string 6",
  "RefundType": 0,
  "RefundStyle": 0,
  "LatestTime": "2024-12-24T02:59:05.2695897+08:00",
  "Remarks": "sample string 7",
  "ExternalTime": "2024-12-24T02:59:05.2695897+08:00"
}