POST Api/Service/Changed/UpdateCSegment
更新改签单航段
Request Information
URI Parameters
None.
Body Parameters
设置参数
SpeedPower.Utility.Models.Project.Orders.Service.UpdateCSegmentModelName | Description | Type | Additional information |
---|---|---|---|
ID |
设置ID |
globally unique identifier |
None. |
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:
{ "ID": "3206e989-8808-4885-9d8e-f6de0d3b1565", "ChangedId": "b592fabc-f8f7-4a8a-ba2e-d699b6772117", "Carrier": "sample string 3", "DepartureAirport": "sample string 4", "ArrivalAirport": "sample string 5", "DepartureDate": "2024-12-24T03:13:20.8665296+08:00", "ArrivalDate": "2024-12-24T03:13:20.8665296+08:00", "FlightNo": "sample string 8", "CodeShare": true, "ShareToFlightNo": "sample string 10", "CabinCode": "sample string 11", "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" }