POST Api/Service/Changed/UpdateCSegment
更新改签单航段
Request Information
URI Parameters
None.
Body Parameters
设置参数
SpeedPower.Utility.Models.Project.Orders.Service.UpdateCSegmentModel| Name | 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": "12d35f43-704f-4b42-8265-fe29ce473f91",
"ChangedId": "1118bfe8-9056-4cad-87ac-75f729adbf56",
"Carrier": "sample string 3",
"DepartureAirport": "sample string 4",
"ArrivalAirport": "sample string 5",
"DepartureDate": "2025-11-01T21:46:49.9411384+08:00",
"ArrivalDate": "2025-11-01T21:46:49.9411384+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.ResultMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Succeed |
操作是否成功 |
boolean |
None. |
| Message |
操作消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Succeed": true,
"Message": "sample string 2"
}