POST Api/Service/Changed/AddCSegment
增加改签单航段
Request Information
URI Parameters
None.
Body Parameters
设置参数
SpeedPower.Utility.Models.Project.Orders.Service.AddCSegmentModelName | Description | Type | Additional information |
---|---|---|---|
ChangedId |
父级ID |
globally unique identifier |
None. |
Carrier |
航空公司2字码 |
string |
Required String length: inclusive between 0 and 10 |
DepartureAirport |
出发机场三字码 |
string |
Required String length: inclusive between 0 and 3 |
ArrivalAirport |
到达机场三字码 |
string |
Required String length: inclusive between 0 and 3 |
DepartureDate |
出发日期时间 |
date |
None. |
ArrivalDate |
到达日期时间 |
date |
None. |
FlightNo |
航班号 |
string |
Required String length: inclusive between 0 and 7 |
CodeShare |
是否为共享航班 |
boolean |
None. |
ShareToFlightNo |
主飞航班号 |
string |
String length: inclusive between 0 and 50 |
CabinCode |
舱位代码 |
string |
Required String length: inclusive between 0 and 3 |
CabinLevel |
舱位级别 |
SpeedPower.Utility.Models.Service.Eterms.Enums.CabinLevelType |
None. |
Request Formats
application/json, text/json
Sample:
{ "ChangedId": "8f78c6e6-b4c2-422e-966b-ae3b17e60728", "Carrier": "sample string 2", "DepartureAirport": "sample string 3", "ArrivalAirport": "sample string 4", "DepartureDate": "2024-12-24T03:25:26.6961328+08:00", "ArrivalDate": "2024-12-24T03:25:26.6961328+08:00", "FlightNo": "sample string 7", "CodeShare": true, "ShareToFlightNo": "sample string 9", "CabinCode": "sample string 10", "CabinLevel": 0 }
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" }