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.WebApiParentOrderModelName | 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": "2025-09-14T16:40:53.1762826+08:00", "ID": "8f2d3303-17ff-4775-9d9a-bfea573f75a2", "OrderId": "58844011-8fdc-4ed0-85f2-4d5af178f655", "ContactUser": "sample string 4", "ContactPhone": "sample string 5" }, { "Time": "2025-09-14T16:40:53.1762826+08:00", "ID": "8f2d3303-17ff-4775-9d9a-bfea573f75a2", "OrderId": "58844011-8fdc-4ed0-85f2-4d5af178f655", "ContactUser": "sample string 4", "ContactPhone": "sample string 5" } ], "PurchaseRoutes": [ { "Creater": "sample string 1", "Time": "2025-09-14T16:40:53.1762826+08:00", "ID": "83acea13-12d6-4aa1-a81d-27b994a24d4e", "OrderId": "a6021bc2-133a-442d-9c01-85afc541490c", "PurchaseTag": "sample string 5", "Remarks": "sample string 6" }, { "Creater": "sample string 1", "Time": "2025-09-14T16:40:53.1762826+08:00", "ID": "83acea13-12d6-4aa1-a81d-27b994a24d4e", "OrderId": "a6021bc2-133a-442d-9c01-85afc541490c", "PurchaseTag": "sample string 5", "Remarks": "sample string 6" } ], "OPassengers": [ { "TicketNumbers": [ { "RecordType": 0, "Creater": "sample string 1", "Time": "2025-09-14T16:40:53.1762826+08:00", "ID": "320c4c78-bfc1-4c2f-9767-6572585c1d64", "PassengerId": "f8a1cf44-ca81-4d64-8757-68b0b99ce361", "TicketNumber": "sample string 5", "Posted": true, "Remarks": "sample string 7" }, { "RecordType": 0, "Creater": "sample string 1", "Time": "2025-09-14T16:40:53.1762826+08:00", "ID": "320c4c78-bfc1-4c2f-9767-6572585c1d64", "PassengerId": "f8a1cf44-ca81-4d64-8757-68b0b99ce361", "TicketNumber": "sample string 5", "Posted": true, "Remarks": "sample string 7" } ], "OTotalPrices": [ { "Time": "2025-09-14T16:40:53.1762826+08:00", "ID": "f602e5da-8587-4d94-9fa6-b98e70d62a98", "PassengerId": "8bba490e-b306-444a-b088-f410f5dcdac7", "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": "2025-09-14T16:40:53.1762826+08:00", "ID": "f602e5da-8587-4d94-9fa6-b98e70d62a98", "PassengerId": "8bba490e-b306-444a-b088-f410f5dcdac7", "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": "2025-09-14T16:40:53.1762826+08:00", "ID": "a3cedb44-e3ee-4a94-a7b9-8fdbe94020c5", "OrderId": "5c55e3f2-e09a-4f4f-a276-032b4b3c10d9", "Name": "sample string 4", "Birthday": "2025-09-14T16:40:53.1762826+08:00", "CardType": 0, "CardNo": "sample string 5", "SexType": 0, "PassengerType": 0, "ContactPhone": "sample string 6" }, { "TicketNumbers": [ { "RecordType": 0, "Creater": "sample string 1", "Time": "2025-09-14T16:40:53.1762826+08:00", "ID": "320c4c78-bfc1-4c2f-9767-6572585c1d64", "PassengerId": "f8a1cf44-ca81-4d64-8757-68b0b99ce361", "TicketNumber": "sample string 5", "Posted": true, "Remarks": "sample string 7" }, { "RecordType": 0, "Creater": "sample string 1", "Time": "2025-09-14T16:40:53.1762826+08:00", "ID": "320c4c78-bfc1-4c2f-9767-6572585c1d64", "PassengerId": "f8a1cf44-ca81-4d64-8757-68b0b99ce361", "TicketNumber": "sample string 5", "Posted": true, "Remarks": "sample string 7" } ], "OTotalPrices": [ { "Time": "2025-09-14T16:40:53.1762826+08:00", "ID": "f602e5da-8587-4d94-9fa6-b98e70d62a98", "PassengerId": "8bba490e-b306-444a-b088-f410f5dcdac7", "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": "2025-09-14T16:40:53.1762826+08:00", "ID": "f602e5da-8587-4d94-9fa6-b98e70d62a98", "PassengerId": "8bba490e-b306-444a-b088-f410f5dcdac7", "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": "2025-09-14T16:40:53.1762826+08:00", "ID": "a3cedb44-e3ee-4a94-a7b9-8fdbe94020c5", "OrderId": "5c55e3f2-e09a-4f4f-a276-032b4b3c10d9", "Name": "sample string 4", "Birthday": "2025-09-14T16:40:53.1762826+08:00", "CardType": 0, "CardNo": "sample string 5", "SexType": 0, "PassengerType": 0, "ContactPhone": "sample string 6" } ], "OrderExpands": [ { "ID": "7de25f67-ebd3-4f7e-ab7d-6f073588f697", "OrderId": "d21e3483-8d44-4c28-8dc8-84badcfee0f5", "SettingKey": "sample string 3", "SettingValue": "sample string 4" }, { "ID": "7de25f67-ebd3-4f7e-ab7d-6f073588f697", "OrderId": "d21e3483-8d44-4c28-8dc8-84badcfee0f5", "SettingKey": "sample string 3", "SettingValue": "sample string 4" } ], "OrderPayments": [ { "RecordType": 0, "Creater": "sample string 1", "Time": "2025-09-14T16:40:53.1762826+08:00", "ID": "29019164-501a-4471-b757-f2d7f8725ead", "OrderId": "4fb2e659-5ebe-481d-8f15-522be6cc5853", "PaymentType": 0, "TotalPrice": 5.1, "TransactionId": "sample string 6", "Reconciled": true, "Remarks": "sample string 8" }, { "RecordType": 0, "Creater": "sample string 1", "Time": "2025-09-14T16:40:53.1762826+08:00", "ID": "29019164-501a-4471-b757-f2d7f8725ead", "OrderId": "4fb2e659-5ebe-481d-8f15-522be6cc5853", "PaymentType": 0, "TotalPrice": 5.1, "TransactionId": "sample string 6", "Reconciled": true, "Remarks": "sample string 8" } ], "OSegments": [ { "Time": "2025-09-14T16:40:53.1762826+08:00", "ID": "2667c93e-72dd-49bc-b02f-0c04f5219ab0", "OrderId": "1a7e52b2-3367-4ca9-8db8-04cf95a427d8", "Sequence": 4, "Carrier": "sample string 5", "DepartureAirport": "sample string 6", "ArrivalAirport": "sample string 7", "DepartureDate": "2025-09-14T16:40:53.1762826+08:00", "ArrivalDate": "2025-09-14T16:40:53.1762826+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": "2025-09-14T16:40:53.1762826+08:00", "ID": "2667c93e-72dd-49bc-b02f-0c04f5219ab0", "OrderId": "1a7e52b2-3367-4ca9-8db8-04cf95a427d8", "Sequence": 4, "Carrier": "sample string 5", "DepartureAirport": "sample string 6", "ArrivalAirport": "sample string 7", "DepartureDate": "2025-09-14T16:40:53.1762826+08:00", "ArrivalDate": "2025-09-14T16:40:53.1762826+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": "d5900c1d-ca17-4241-8602-9d6744ad02c9", "ProviderCode": "sample string 2", "PriceChangeInterval": 3 }, "QuotationSources": { "Time": "2025-09-14T16:40:53.1762826+08:00", "ID": "e283531d-5067-4f64-aaf6-c4f3b4201785", "Remarks": "sample string 3", "QuotationId": "sample string 4", "ProductMark": "sample string 5", "Creater": "sample string 6" }, "OrderInternalNumber": "sample string 1", "OrderSource": 0, "InternalTime": "2025-09-14T16:40:53.1762826+08:00", "Creater": "sample string 3", "ID": "c36b3b6d-3137-43d5-9585-c067f60483e4", "SiteId": "sample string 5", "OrderExternalNumber": "sample string 6", "LatestTime": "2025-09-14T16:40:53.1762826+08:00", "ExternalTime": "2025-09-14T16:40:53.1762826+08:00" }