GET Api/Invoke/GetWebApiParentOrderById/{OrderId}

获取订单全结构信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
OrderId

订单ID

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

获取订单全结构信息

SpeedPower.Utility.Models.Project.Orders.Service.WebApiParentOrderModel
NameDescriptionTypeAdditional 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-05-11T10:42:34.4716874+08:00",
      "ID": "4c94e9a7-5206-4418-8b6b-bd27c91f673a",
      "OrderId": "dea01cd8-ab92-4265-a336-05f24bde11bb",
      "ContactUser": "sample string 4",
      "ContactPhone": "sample string 5"
    },
    {
      "Time": "2026-05-11T10:42:34.4716874+08:00",
      "ID": "4c94e9a7-5206-4418-8b6b-bd27c91f673a",
      "OrderId": "dea01cd8-ab92-4265-a336-05f24bde11bb",
      "ContactUser": "sample string 4",
      "ContactPhone": "sample string 5"
    }
  ],
  "PurchaseRoutes": [
    {
      "Creater": "sample string 1",
      "Time": "2026-05-11T10:42:34.4716874+08:00",
      "ID": "3e320ccd-e02d-4875-b283-5e81846e0d8b",
      "OrderId": "b8f63413-58cb-4914-8500-75ece7901dcf",
      "PurchaseTag": "sample string 5",
      "Remarks": "sample string 6"
    },
    {
      "Creater": "sample string 1",
      "Time": "2026-05-11T10:42:34.4716874+08:00",
      "ID": "3e320ccd-e02d-4875-b283-5e81846e0d8b",
      "OrderId": "b8f63413-58cb-4914-8500-75ece7901dcf",
      "PurchaseTag": "sample string 5",
      "Remarks": "sample string 6"
    }
  ],
  "OPassengers": [
    {
      "TicketNumbers": [
        {
          "RecordType": 0,
          "Creater": "sample string 1",
          "Time": "2026-05-11T10:42:34.4716874+08:00",
          "ID": "c8138e1b-c1ca-4536-9663-9594cbb7112b",
          "PassengerId": "4e941541-7cb5-40f3-9146-d295d59888ee",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        },
        {
          "RecordType": 0,
          "Creater": "sample string 1",
          "Time": "2026-05-11T10:42:34.4716874+08:00",
          "ID": "c8138e1b-c1ca-4536-9663-9594cbb7112b",
          "PassengerId": "4e941541-7cb5-40f3-9146-d295d59888ee",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        }
      ],
      "OTotalPrices": [
        {
          "Time": "2026-05-11T10:42:34.4716874+08:00",
          "ID": "765d7ca9-2f90-420c-8de3-e03954fea2bc",
          "PassengerId": "b8277344-577c-4db8-8de6-be154771742d",
          "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-05-11T10:42:34.4716874+08:00",
          "ID": "765d7ca9-2f90-420c-8de3-e03954fea2bc",
          "PassengerId": "b8277344-577c-4db8-8de6-be154771742d",
          "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-05-11T10:42:34.4716874+08:00",
      "ID": "7b25ae66-b242-46f1-af3b-b481f3a700ce",
      "OrderId": "570635fb-a65b-4343-af1d-9ace8789f5e6",
      "Name": "sample string 4",
      "Birthday": "2026-05-11T10:42:34.4716874+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-05-11T10:42:34.4716874+08:00",
          "ID": "c8138e1b-c1ca-4536-9663-9594cbb7112b",
          "PassengerId": "4e941541-7cb5-40f3-9146-d295d59888ee",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        },
        {
          "RecordType": 0,
          "Creater": "sample string 1",
          "Time": "2026-05-11T10:42:34.4716874+08:00",
          "ID": "c8138e1b-c1ca-4536-9663-9594cbb7112b",
          "PassengerId": "4e941541-7cb5-40f3-9146-d295d59888ee",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        }
      ],
      "OTotalPrices": [
        {
          "Time": "2026-05-11T10:42:34.4716874+08:00",
          "ID": "765d7ca9-2f90-420c-8de3-e03954fea2bc",
          "PassengerId": "b8277344-577c-4db8-8de6-be154771742d",
          "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-05-11T10:42:34.4716874+08:00",
          "ID": "765d7ca9-2f90-420c-8de3-e03954fea2bc",
          "PassengerId": "b8277344-577c-4db8-8de6-be154771742d",
          "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-05-11T10:42:34.4716874+08:00",
      "ID": "7b25ae66-b242-46f1-af3b-b481f3a700ce",
      "OrderId": "570635fb-a65b-4343-af1d-9ace8789f5e6",
      "Name": "sample string 4",
      "Birthday": "2026-05-11T10:42:34.4716874+08:00",
      "CardType": 0,
      "CardNo": "sample string 5",
      "SexType": 0,
      "PassengerType": 0,
      "ContactPhone": "sample string 6"
    }
  ],
  "OrderExpands": [
    {
      "ID": "5f8fecab-f1dd-4cf2-9c85-9b4a6f74f5d4",
      "OrderId": "c1d4f258-5e27-4a43-b072-8685161391a7",
      "SettingKey": "sample string 3",
      "SettingValue": "sample string 4"
    },
    {
      "ID": "5f8fecab-f1dd-4cf2-9c85-9b4a6f74f5d4",
      "OrderId": "c1d4f258-5e27-4a43-b072-8685161391a7",
      "SettingKey": "sample string 3",
      "SettingValue": "sample string 4"
    }
  ],
  "OrderPayments": [
    {
      "RecordType": 0,
      "Creater": "sample string 1",
      "Time": "2026-05-11T10:42:34.4716874+08:00",
      "ID": "18ef0d1b-3a6b-4fe1-b5e5-58a0e9cbc3f4",
      "OrderId": "666cbad2-c29f-492b-b5dd-3e9fe5e88d91",
      "PaymentType": 0,
      "TotalPrice": 5.1,
      "TransactionId": "sample string 6",
      "Reconciled": true,
      "Remarks": "sample string 8"
    },
    {
      "RecordType": 0,
      "Creater": "sample string 1",
      "Time": "2026-05-11T10:42:34.4716874+08:00",
      "ID": "18ef0d1b-3a6b-4fe1-b5e5-58a0e9cbc3f4",
      "OrderId": "666cbad2-c29f-492b-b5dd-3e9fe5e88d91",
      "PaymentType": 0,
      "TotalPrice": 5.1,
      "TransactionId": "sample string 6",
      "Reconciled": true,
      "Remarks": "sample string 8"
    }
  ],
  "OSegments": [
    {
      "Time": "2026-05-11T10:42:34.4716874+08:00",
      "ID": "147f8e97-e37f-4203-b50f-b0e516c2ab62",
      "OrderId": "b08f50de-140b-44d4-9b13-2687dd159a46",
      "Sequence": 4,
      "Carrier": "sample string 5",
      "DepartureAirport": "sample string 6",
      "ArrivalAirport": "sample string 7",
      "DepartureDate": "2026-05-11T10:42:34.4716874+08:00",
      "ArrivalDate": "2026-05-11T10:42:34.4716874+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-05-11T10:42:34.4716874+08:00",
      "ID": "147f8e97-e37f-4203-b50f-b0e516c2ab62",
      "OrderId": "b08f50de-140b-44d4-9b13-2687dd159a46",
      "Sequence": 4,
      "Carrier": "sample string 5",
      "DepartureAirport": "sample string 6",
      "ArrivalAirport": "sample string 7",
      "DepartureDate": "2026-05-11T10:42:34.4716874+08:00",
      "ArrivalDate": "2026-05-11T10:42:34.4716874+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": "6ede0e54-eeb5-4115-b6db-928c8af84e3d",
    "ProviderCode": "sample string 2",
    "PriceChangeInterval": 3
  },
  "QuotationSources": {
    "Time": "2026-05-11T10:42:34.4716874+08:00",
    "ID": "1094c46c-ab7c-4280-9711-c9aadb583196",
    "Remarks": "sample string 3",
    "QuotationId": "sample string 4",
    "ProductMark": "sample string 5",
    "Creater": "sample string 6"
  },
  "OrderInternalNumber": "sample string 1",
  "OrderSource": 0,
  "InternalTime": "2026-05-11T10:42:34.4716874+08:00",
  "Creater": "sample string 3",
  "ID": "afa9acd9-c602-4993-873d-75ffe5ef88f9",
  "SiteId": "sample string 5",
  "OrderExternalNumber": "sample string 6",
  "LatestTime": "2026-05-11T10:42:34.4716874+08:00",
  "ExternalTime": "2026-05-11T10:42:34.4716874+08:00"
}