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": "972be09c-d3a8-4700-af06-49bfabfea22d",
      "PassengerId": "206e7c3f-3068-4d49-bb50-25b4e1e59af4"
    },
    {
      "RefundId": "972be09c-d3a8-4700-af06-49bfabfea22d",
      "PassengerId": "206e7c3f-3068-4d49-bb50-25b4e1e59af4"
    }
  ],
  "OrderId": "fe7c435a-f239-400f-802d-aa7a8f0e2dab",
  "RefundExternalNumber": "sample string 2",
  "RefundType": 0,
  "RefundStyle": 0,
  "LatestTime": "2024-12-24T03:27:35.9370418+08:00",
  "Remarks": "sample string 3",
  "ExternalTime": "2024-12-24T03:27:35.9370418+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"
}