POST Api/Service/Refund/AddManualRefund

添加退票单

Request Information

URI Parameters

None.

Body Parameters

设置参数

SpeedPower.Utility.Models.Project.Orders.Service.ManualIntactRefundModel
NameDescriptionTypeAdditional information
RefundIncludes

退票包含乘机人项列表

Collection of SpeedPower.Utility.Models.Project.Orders.Service.AddRefundIncludeModel

Required

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.

Request Formats

application/json, text/json

Sample:
{
  "RefundIncludes": [
    {
      "RefundId": "c04d90cb-2581-4f5b-9b3f-e93e028f73ea",
      "PassengerId": "bb977896-480c-45b3-b93a-db2c280dd680"
    },
    {
      "RefundId": "c04d90cb-2581-4f5b-9b3f-e93e028f73ea",
      "PassengerId": "bb977896-480c-45b3-b93a-db2c280dd680"
    }
  ],
  "OrderId": "8052ddcc-20ad-4659-952d-0d157d7f1fd3",
  "RefundExternalNumber": "sample string 2",
  "RefundType": 0,
  "RefundStyle": 0,
  "LatestTime": "2025-07-01T12:53:42.158353+08:00",
  "Remarks": "sample string 3",
  "ExternalTime": "2025-07-01T12:53:42.158353+08:00"
}

Response Information

Resource Description

添加退票单

SpeedPower.Utility.Models.Helper.ResultMessage
NameDescriptionTypeAdditional information
Succeed

操作是否成功

boolean

None.

Message

操作消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Succeed": true,
  "Message": "sample string 2"
}