POST Api/Invoke/AddWebApiChanged
接口添加新改签单
Request Information
URI Parameters
None.
Body Parameters
设置参数
SpeedPower.Utility.Models.Project.Orders.Service.WebApiIntactChangedModelName | Description | Type | Additional information |
---|---|---|---|
ChangedPayments |
改签收付款项列表 |
Collection of SpeedPower.Utility.Models.Project.Orders.Service.AddChangedPaymentModel |
None. |
ChangedExpands |
改签扩展参数列表 |
Collection of SpeedPower.Utility.Models.Project.Orders.Service.AddChangedExpandModel |
None. |
ChangedIncludes |
改签包含乘机人项列表 |
Collection of SpeedPower.Utility.Models.Project.Orders.Service.AddChangedIncludeModel |
Required |
CSegments |
改签行程列表 |
Collection of SpeedPower.Utility.Models.Project.Orders.Service.AddCSegmentModel |
None. |
OrderId |
父级ID |
globally unique identifier |
None. |
ChangedExternalNumber |
外部改签单号 |
string |
Required String length: inclusive between 0 and 128 |
ChangedType |
改签单申请类型 |
SpeedPower.Utility.Models.Project.Orders.Enums.ChangedType |
None. |
ChangedStyle |
改签单操作类型 |
SpeedPower.Utility.Models.Project.Orders.Enums.ChangedStyleType |
None. |
LatestTime |
改签单最后处理时限 |
date |
None. |
Remarks |
备注内容 |
string |
String length: inclusive between 0 and 500 |
ExternalTime |
外部改签单创建时间 |
date |
None. |
Request Formats
application/json, text/json
Sample:
{ "ChangedPayments": [ { "ChangedId": "7f7fc258-c7f0-4c18-85f0-99351dba5b47", "Confirmed": true, "Reconciled": true, "UpgradePrice": 4.1, "CostPrice": 5.1, "TransactionId": "sample string 6", "Remarks": "sample string 7" }, { "ChangedId": "7f7fc258-c7f0-4c18-85f0-99351dba5b47", "Confirmed": true, "Reconciled": true, "UpgradePrice": 4.1, "CostPrice": 5.1, "TransactionId": "sample string 6", "Remarks": "sample string 7" } ], "ChangedExpands": [ { "ChangedId": "37fe1c89-15c2-4aac-8aeb-5e9ba93fc8b7", "SettingKey": "sample string 2", "SettingValue": "sample string 3" }, { "ChangedId": "37fe1c89-15c2-4aac-8aeb-5e9ba93fc8b7", "SettingKey": "sample string 2", "SettingValue": "sample string 3" } ], "ChangedIncludes": [ { "ChangedId": "61082d60-bbb0-4152-9d68-3c4dd16b14d1", "PassengerId": "4f9c3a67-030e-4884-9883-6ee621d44152", "TicketNumber": "sample string 3" }, { "ChangedId": "61082d60-bbb0-4152-9d68-3c4dd16b14d1", "PassengerId": "4f9c3a67-030e-4884-9883-6ee621d44152", "TicketNumber": "sample string 3" } ], "CSegments": [ { "ChangedId": "457f63dc-a618-4eb5-a799-56f32184eba6", "Carrier": "sample string 2", "DepartureAirport": "sample string 3", "ArrivalAirport": "sample string 4", "DepartureDate": "2025-09-14T16:35:26.7199143+08:00", "ArrivalDate": "2025-09-14T16:35:26.7199143+08:00", "FlightNo": "sample string 7", "CodeShare": true, "ShareToFlightNo": "sample string 9", "CabinCode": "sample string 10", "CabinLevel": 0 }, { "ChangedId": "457f63dc-a618-4eb5-a799-56f32184eba6", "Carrier": "sample string 2", "DepartureAirport": "sample string 3", "ArrivalAirport": "sample string 4", "DepartureDate": "2025-09-14T16:35:26.7199143+08:00", "ArrivalDate": "2025-09-14T16:35:26.7199143+08:00", "FlightNo": "sample string 7", "CodeShare": true, "ShareToFlightNo": "sample string 9", "CabinCode": "sample string 10", "CabinLevel": 0 } ], "OrderId": "3d56ffbd-4f05-490e-8c17-724d5cf54777", "ChangedExternalNumber": "sample string 2", "ChangedType": 0, "ChangedStyle": 0, "LatestTime": "2025-09-14T16:35:26.7199143+08:00", "Remarks": "sample string 3", "ExternalTime": "2025-09-14T16:35:26.7199143+08:00" }
Response Information
Resource Description
接口添加新改签单
SpeedPower.Utility.Models.Helper.ResultMessageName | Description | Type | Additional information |
---|---|---|---|
Succeed |
操作是否成功 |
boolean |
None. |
Message |
操作消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Succeed": true, "Message": "sample string 2" }