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": "e4cc12c8-61eb-4610-9c8f-f5c6e7983b3c", "Confirmed": true, "Reconciled": true, "UpgradePrice": 4.1, "CostPrice": 5.1, "TransactionId": "sample string 6", "Remarks": "sample string 7" }, { "ChangedId": "e4cc12c8-61eb-4610-9c8f-f5c6e7983b3c", "Confirmed": true, "Reconciled": true, "UpgradePrice": 4.1, "CostPrice": 5.1, "TransactionId": "sample string 6", "Remarks": "sample string 7" } ], "ChangedExpands": [ { "ChangedId": "45b9d6ae-4d85-4f72-9716-eec2491b98f5", "SettingKey": "sample string 2", "SettingValue": "sample string 3" }, { "ChangedId": "45b9d6ae-4d85-4f72-9716-eec2491b98f5", "SettingKey": "sample string 2", "SettingValue": "sample string 3" } ], "ChangedIncludes": [ { "ChangedId": "b5e74a4b-9821-445d-a50a-419186c90e58", "PassengerId": "41c59845-fd13-4c22-adcb-7006d56af371", "TicketNumber": "sample string 3" }, { "ChangedId": "b5e74a4b-9821-445d-a50a-419186c90e58", "PassengerId": "41c59845-fd13-4c22-adcb-7006d56af371", "TicketNumber": "sample string 3" } ], "CSegments": [ { "ChangedId": "d79b69d3-8284-47c5-8f9b-2fd01253d6d0", "Carrier": "sample string 2", "DepartureAirport": "sample string 3", "ArrivalAirport": "sample string 4", "DepartureDate": "2024-12-24T03:31:45.8686221+08:00", "ArrivalDate": "2024-12-24T03:31:45.8686221+08:00", "FlightNo": "sample string 7", "CodeShare": true, "ShareToFlightNo": "sample string 9", "CabinCode": "sample string 10", "CabinLevel": 0 }, { "ChangedId": "d79b69d3-8284-47c5-8f9b-2fd01253d6d0", "Carrier": "sample string 2", "DepartureAirport": "sample string 3", "ArrivalAirport": "sample string 4", "DepartureDate": "2024-12-24T03:31:45.8686221+08:00", "ArrivalDate": "2024-12-24T03:31:45.8686221+08:00", "FlightNo": "sample string 7", "CodeShare": true, "ShareToFlightNo": "sample string 9", "CabinCode": "sample string 10", "CabinLevel": 0 } ], "OrderId": "5c94afd1-5c1b-498f-8c6e-713fef051373", "ChangedExternalNumber": "sample string 2", "ChangedType": 0, "ChangedStyle": 0, "LatestTime": "2024-12-24T03:31:45.8686221+08:00", "Remarks": "sample string 3", "ExternalTime": "2024-12-24T03:31:45.8686221+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" }