GET Api/Invoke/GetWebApiParentOrderByExternalNumber/{ExternalNumber}
获取订单全结构信息(基于外部订单号)
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ExternalNumber |
外部订单号 |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取订单全结构信息(基于外部订单号)
SpeedPower.Utility.Models.Project.Orders.Service.WebApiParentOrderModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OContacts |
联系人列表 |
Collection of SpeedPower.Utility.Models.Project.Orders.Service.GetOContactModel |
None. |
| PurchaseRoutes |
采购路由列表 |
Collection of SpeedPower.Utility.Models.Project.Orders.Service.GetPurchaseRouteModel |
None. |
| OPassengers |
乘机人列表 |
Collection of SpeedPower.Utility.Models.Project.Orders.Service.ParentOPassengerModel |
None. |
| OrderExpands |
订单扩展参数列表 |
Collection of SpeedPower.Utility.Models.Project.Orders.Service.GetOrderExpandModel |
None. |
| OrderPayments |
订单收付款项列表 |
Collection of SpeedPower.Utility.Models.Project.Orders.Service.GetOrderPaymentModel |
None. |
| OSegments |
订单行程列表 |
Collection of SpeedPower.Utility.Models.Project.Orders.Service.GetOSegmentModel |
None. |
| DataSources |
订单数据来源项 |
SpeedPower.Utility.Models.Project.Orders.Service.GetDataSourceModel |
None. |
| QuotationSources |
订单政策来源项 |
SpeedPower.Utility.Models.Project.Orders.Service.GetQuotationSourceModel |
None. |
| OrderInternalNumber |
内部订单号 |
string |
Required String length: inclusive between 0 and 128 |
| OrderSource |
订单来源 |
SpeedPower.Utility.Models.Project.Orders.Enums.OrderSourceType |
None. |
| InternalTime |
订单创建时间 |
date |
None. |
| Creater |
创建人 |
string |
Required String length: inclusive between 0 and 128 |
| ID |
订单ID |
globally unique identifier |
None. |
| SiteId |
站点ID |
string |
Required String length: inclusive between 0 and 128 |
| OrderExternalNumber |
外部订单号 |
string |
Required String length: inclusive between 0 and 128 |
| LatestTime |
最后处理时间 |
date |
None. |
| ExternalTime |
外部订单创建时间 |
date |
None. |
Response Formats
application/json, text/json
Sample:
{
"OContacts": [
{
"Time": "2026-02-04T08:49:34.2735757+08:00",
"ID": "8f899fa9-50f5-430a-a9bc-536d652d0d71",
"OrderId": "3a242b04-9c9c-44f4-b173-fd37398e0d9f",
"ContactUser": "sample string 4",
"ContactPhone": "sample string 5"
},
{
"Time": "2026-02-04T08:49:34.2735757+08:00",
"ID": "8f899fa9-50f5-430a-a9bc-536d652d0d71",
"OrderId": "3a242b04-9c9c-44f4-b173-fd37398e0d9f",
"ContactUser": "sample string 4",
"ContactPhone": "sample string 5"
}
],
"PurchaseRoutes": [
{
"Creater": "sample string 1",
"Time": "2026-02-04T08:49:34.2735757+08:00",
"ID": "fa356cf9-16ce-4b1e-91da-239141f513d3",
"OrderId": "229bec21-e321-4359-bbc3-f14a34ec0973",
"PurchaseTag": "sample string 5",
"Remarks": "sample string 6"
},
{
"Creater": "sample string 1",
"Time": "2026-02-04T08:49:34.2735757+08:00",
"ID": "fa356cf9-16ce-4b1e-91da-239141f513d3",
"OrderId": "229bec21-e321-4359-bbc3-f14a34ec0973",
"PurchaseTag": "sample string 5",
"Remarks": "sample string 6"
}
],
"OPassengers": [
{
"TicketNumbers": [
{
"RecordType": 0,
"Creater": "sample string 1",
"Time": "2026-02-04T08:49:34.2891968+08:00",
"ID": "2a87e609-0404-4c7f-bbb0-6d40906701ea",
"PassengerId": "7d131d3c-6859-4190-9de2-ad842dbfc392",
"TicketNumber": "sample string 5",
"Posted": true,
"Remarks": "sample string 7"
},
{
"RecordType": 0,
"Creater": "sample string 1",
"Time": "2026-02-04T08:49:34.2891968+08:00",
"ID": "2a87e609-0404-4c7f-bbb0-6d40906701ea",
"PassengerId": "7d131d3c-6859-4190-9de2-ad842dbfc392",
"TicketNumber": "sample string 5",
"Posted": true,
"Remarks": "sample string 7"
}
],
"OTotalPrices": [
{
"Time": "2026-02-04T08:49:34.2892823+08:00",
"ID": "cb75983a-b680-46e8-8ef1-0a441a175803",
"PassengerId": "f22af9da-80f3-4ff2-b555-914d65da2d59",
"Sequence": 1,
"SalePrice": 4.1,
"PrintPrice": 5,
"FareTax": 6,
"FuelTax": 7,
"CabinLevel": 0,
"CabinCode": "sample string 8",
"ChannelCabinCode": "sample string 9",
"FixedCabinCode": "sample string 10"
},
{
"Time": "2026-02-04T08:49:34.2892823+08:00",
"ID": "cb75983a-b680-46e8-8ef1-0a441a175803",
"PassengerId": "f22af9da-80f3-4ff2-b555-914d65da2d59",
"Sequence": 1,
"SalePrice": 4.1,
"PrintPrice": 5,
"FareTax": 6,
"FuelTax": 7,
"CabinLevel": 0,
"CabinCode": "sample string 8",
"ChannelCabinCode": "sample string 9",
"FixedCabinCode": "sample string 10"
}
],
"Time": "2026-02-04T08:49:34.2892823+08:00",
"ID": "0bcc569c-3129-41d7-9097-1d60692b8c17",
"OrderId": "b3067c68-30a5-4d55-8fb2-ffc6368cd9bc",
"Name": "sample string 4",
"Birthday": "2026-02-04T08:49:34.2892823+08:00",
"CardType": 0,
"CardNo": "sample string 5",
"SexType": 0,
"PassengerType": 0,
"ContactPhone": "sample string 6"
},
{
"TicketNumbers": [
{
"RecordType": 0,
"Creater": "sample string 1",
"Time": "2026-02-04T08:49:34.2891968+08:00",
"ID": "2a87e609-0404-4c7f-bbb0-6d40906701ea",
"PassengerId": "7d131d3c-6859-4190-9de2-ad842dbfc392",
"TicketNumber": "sample string 5",
"Posted": true,
"Remarks": "sample string 7"
},
{
"RecordType": 0,
"Creater": "sample string 1",
"Time": "2026-02-04T08:49:34.2891968+08:00",
"ID": "2a87e609-0404-4c7f-bbb0-6d40906701ea",
"PassengerId": "7d131d3c-6859-4190-9de2-ad842dbfc392",
"TicketNumber": "sample string 5",
"Posted": true,
"Remarks": "sample string 7"
}
],
"OTotalPrices": [
{
"Time": "2026-02-04T08:49:34.2892823+08:00",
"ID": "cb75983a-b680-46e8-8ef1-0a441a175803",
"PassengerId": "f22af9da-80f3-4ff2-b555-914d65da2d59",
"Sequence": 1,
"SalePrice": 4.1,
"PrintPrice": 5,
"FareTax": 6,
"FuelTax": 7,
"CabinLevel": 0,
"CabinCode": "sample string 8",
"ChannelCabinCode": "sample string 9",
"FixedCabinCode": "sample string 10"
},
{
"Time": "2026-02-04T08:49:34.2892823+08:00",
"ID": "cb75983a-b680-46e8-8ef1-0a441a175803",
"PassengerId": "f22af9da-80f3-4ff2-b555-914d65da2d59",
"Sequence": 1,
"SalePrice": 4.1,
"PrintPrice": 5,
"FareTax": 6,
"FuelTax": 7,
"CabinLevel": 0,
"CabinCode": "sample string 8",
"ChannelCabinCode": "sample string 9",
"FixedCabinCode": "sample string 10"
}
],
"Time": "2026-02-04T08:49:34.2892823+08:00",
"ID": "0bcc569c-3129-41d7-9097-1d60692b8c17",
"OrderId": "b3067c68-30a5-4d55-8fb2-ffc6368cd9bc",
"Name": "sample string 4",
"Birthday": "2026-02-04T08:49:34.2892823+08:00",
"CardType": 0,
"CardNo": "sample string 5",
"SexType": 0,
"PassengerType": 0,
"ContactPhone": "sample string 6"
}
],
"OrderExpands": [
{
"ID": "f1fe9f85-180e-4440-9fb1-08c8a2ca81db",
"OrderId": "2f68de0b-ed98-447f-a3c7-b01766ec5ba3",
"SettingKey": "sample string 3",
"SettingValue": "sample string 4"
},
{
"ID": "f1fe9f85-180e-4440-9fb1-08c8a2ca81db",
"OrderId": "2f68de0b-ed98-447f-a3c7-b01766ec5ba3",
"SettingKey": "sample string 3",
"SettingValue": "sample string 4"
}
],
"OrderPayments": [
{
"RecordType": 0,
"Creater": "sample string 1",
"Time": "2026-02-04T08:49:34.2892823+08:00",
"ID": "a458ef9a-708c-4c0e-b5bb-223baf96b7da",
"OrderId": "08e1085a-0d3e-44d5-bcea-9492398f3641",
"PaymentType": 0,
"TotalPrice": 5.1,
"TransactionId": "sample string 6",
"Reconciled": true,
"Remarks": "sample string 8"
},
{
"RecordType": 0,
"Creater": "sample string 1",
"Time": "2026-02-04T08:49:34.2892823+08:00",
"ID": "a458ef9a-708c-4c0e-b5bb-223baf96b7da",
"OrderId": "08e1085a-0d3e-44d5-bcea-9492398f3641",
"PaymentType": 0,
"TotalPrice": 5.1,
"TransactionId": "sample string 6",
"Reconciled": true,
"Remarks": "sample string 8"
}
],
"OSegments": [
{
"Time": "2026-02-04T08:49:34.2892823+08:00",
"ID": "955cf0b8-1593-475c-96ca-a39dad4a9867",
"OrderId": "43d55cf4-5f42-4495-9af5-83b671f257ac",
"Sequence": 4,
"Carrier": "sample string 5",
"DepartureAirport": "sample string 6",
"ArrivalAirport": "sample string 7",
"DepartureDate": "2026-02-04T08:49:34.2892823+08:00",
"ArrivalDate": "2026-02-04T08:49:34.2892823+08:00",
"FlightNo": "sample string 10",
"CodeShare": true,
"ShareToFlightNo": "sample string 12",
"StopTimes": 13,
"Meal": "sample string 14",
"PlaneType": "sample string 15",
"DepartureTerminal": "sample string 16",
"ArrivalTerminal": "sample string 17"
},
{
"Time": "2026-02-04T08:49:34.2892823+08:00",
"ID": "955cf0b8-1593-475c-96ca-a39dad4a9867",
"OrderId": "43d55cf4-5f42-4495-9af5-83b671f257ac",
"Sequence": 4,
"Carrier": "sample string 5",
"DepartureAirport": "sample string 6",
"ArrivalAirport": "sample string 7",
"DepartureDate": "2026-02-04T08:49:34.2892823+08:00",
"ArrivalDate": "2026-02-04T08:49:34.2892823+08:00",
"FlightNo": "sample string 10",
"CodeShare": true,
"ShareToFlightNo": "sample string 12",
"StopTimes": 13,
"Meal": "sample string 14",
"PlaneType": "sample string 15",
"DepartureTerminal": "sample string 16",
"ArrivalTerminal": "sample string 17"
}
],
"DataSources": {
"ID": "ba7de8b9-8d74-41fe-9858-bd24b94a2a83",
"ProviderCode": "sample string 2",
"PriceChangeInterval": 3
},
"QuotationSources": {
"Time": "2026-02-04T08:49:34.2892823+08:00",
"ID": "60030442-bc4a-454c-8c68-e4d557358d89",
"Remarks": "sample string 3",
"QuotationId": "sample string 4",
"ProductMark": "sample string 5",
"Creater": "sample string 6"
},
"OrderInternalNumber": "sample string 1",
"OrderSource": 0,
"InternalTime": "2026-02-04T08:49:34.2892823+08:00",
"Creater": "sample string 3",
"ID": "a26752e6-b77c-42ee-9b91-39e46911d896",
"SiteId": "sample string 5",
"OrderExternalNumber": "sample string 6",
"LatestTime": "2026-02-04T08:49:34.2892823+08:00",
"ExternalTime": "2026-02-04T08:49:34.2892823+08:00"
}