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": "604e4b06-3478-4487-a9bc-9bd761f8399f", "Confirmed": true, "Reconciled": true, "UpgradePrice": 4.1, "CostPrice": 5.1, "TransactionId": "sample string 6", "Remarks": "sample string 7" }, { "ChangedId": "604e4b06-3478-4487-a9bc-9bd761f8399f", "Confirmed": true, "Reconciled": true, "UpgradePrice": 4.1, "CostPrice": 5.1, "TransactionId": "sample string 6", "Remarks": "sample string 7" } ], "ChangedExpands": [ { "ChangedId": "38c7344e-1d41-4a34-8404-aa0ee5f56d1e", "SettingKey": "sample string 2", "SettingValue": "sample string 3" }, { "ChangedId": "38c7344e-1d41-4a34-8404-aa0ee5f56d1e", "SettingKey": "sample string 2", "SettingValue": "sample string 3" } ], "ChangedIncludes": [ { "ChangedId": "ac789225-deac-4d99-9f77-eb54d4bfcd0e", "PassengerId": "8d53c6b9-d427-4c25-b241-c0aea67df867", "TicketNumber": "sample string 3" }, { "ChangedId": "ac789225-deac-4d99-9f77-eb54d4bfcd0e", "PassengerId": "8d53c6b9-d427-4c25-b241-c0aea67df867", "TicketNumber": "sample string 3" } ], "CSegments": [ { "ChangedId": "683b2466-8344-491d-b71f-52006e52de0c", "Carrier": "sample string 2", "DepartureAirport": "sample string 3", "ArrivalAirport": "sample string 4", "DepartureDate": "2025-04-03T19:25:17.0689541+08:00", "ArrivalDate": "2025-04-03T19:25:17.0689541+08:00", "FlightNo": "sample string 7", "CodeShare": true, "ShareToFlightNo": "sample string 9", "CabinCode": "sample string 10", "CabinLevel": 0 }, { "ChangedId": "683b2466-8344-491d-b71f-52006e52de0c", "Carrier": "sample string 2", "DepartureAirport": "sample string 3", "ArrivalAirport": "sample string 4", "DepartureDate": "2025-04-03T19:25:17.0689541+08:00", "ArrivalDate": "2025-04-03T19:25:17.0689541+08:00", "FlightNo": "sample string 7", "CodeShare": true, "ShareToFlightNo": "sample string 9", "CabinCode": "sample string 10", "CabinLevel": 0 } ], "OrderId": "c384d91e-2d77-4bf2-b783-de38e3a0e315", "ChangedExternalNumber": "sample string 2", "ChangedType": 0, "ChangedStyle": 0, "LatestTime": "2025-04-03T19:25:17.0689541+08:00", "Remarks": "sample string 3", "ExternalTime": "2025-04-03T19:25:17.0689541+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" }