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-08-27T22:18:27.9729319+08:00",
      "ID": "c902b247-bba6-4d6d-9035-cf2ce5832291",
      "OrderId": "0cd72ad9-c56f-40c0-81e4-da9f1f8191fa",
      "ContactUser": "sample string 4",
      "ContactPhone": "sample string 5"
    },
    {
      "Time": "2026-08-27T22:18:27.9729319+08:00",
      "ID": "c902b247-bba6-4d6d-9035-cf2ce5832291",
      "OrderId": "0cd72ad9-c56f-40c0-81e4-da9f1f8191fa",
      "ContactUser": "sample string 4",
      "ContactPhone": "sample string 5"
    }
  ],
  "PurchaseRoutes": [
    {
      "Creater": "sample string 1",
      "Time": "2026-08-27T22:18:27.9729319+08:00",
      "ID": "81ca01a3-8f63-4a95-8688-64d021dc762e",
      "OrderId": "2e0fe472-93d0-49f9-bfef-3a0fe4dd4aa2",
      "PurchaseTag": "sample string 5",
      "Remarks": "sample string 6"
    },
    {
      "Creater": "sample string 1",
      "Time": "2026-08-27T22:18:27.9729319+08:00",
      "ID": "81ca01a3-8f63-4a95-8688-64d021dc762e",
      "OrderId": "2e0fe472-93d0-49f9-bfef-3a0fe4dd4aa2",
      "PurchaseTag": "sample string 5",
      "Remarks": "sample string 6"
    }
  ],
  "OPassengers": [
    {
      "TicketNumbers": [
        {
          "RecordType": 0,
          "Creater": "sample string 1",
          "Time": "2026-08-27T22:18:27.9729319+08:00",
          "ID": "8eafe175-333f-429f-bef0-c128c8cf4c3f",
          "PassengerId": "f3e8b5bd-f553-41fb-ae17-42cfcf2df77b",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        },
        {
          "RecordType": 0,
          "Creater": "sample string 1",
          "Time": "2026-08-27T22:18:27.9729319+08:00",
          "ID": "8eafe175-333f-429f-bef0-c128c8cf4c3f",
          "PassengerId": "f3e8b5bd-f553-41fb-ae17-42cfcf2df77b",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        }
      ],
      "OTotalPrices": [
        {
          "Time": "2026-08-27T22:18:27.9729319+08:00",
          "ID": "44ffef47-5189-4f5f-8414-e45372ccfc8e",
          "PassengerId": "c41a3cc0-d944-4db3-9333-acbd5bbb348b",
          "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-08-27T22:18:27.9729319+08:00",
          "ID": "44ffef47-5189-4f5f-8414-e45372ccfc8e",
          "PassengerId": "c41a3cc0-d944-4db3-9333-acbd5bbb348b",
          "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-08-27T22:18:27.9729319+08:00",
      "ID": "8ee2cba4-6dc5-4946-9e0c-4c0a50b7ee81",
      "OrderId": "efb1b875-3e5e-43ea-bfe0-41fe5ddffd7c",
      "Name": "sample string 4",
      "Birthday": "2026-08-27T22:18:27.9729319+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-08-27T22:18:27.9729319+08:00",
          "ID": "8eafe175-333f-429f-bef0-c128c8cf4c3f",
          "PassengerId": "f3e8b5bd-f553-41fb-ae17-42cfcf2df77b",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        },
        {
          "RecordType": 0,
          "Creater": "sample string 1",
          "Time": "2026-08-27T22:18:27.9729319+08:00",
          "ID": "8eafe175-333f-429f-bef0-c128c8cf4c3f",
          "PassengerId": "f3e8b5bd-f553-41fb-ae17-42cfcf2df77b",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        }
      ],
      "OTotalPrices": [
        {
          "Time": "2026-08-27T22:18:27.9729319+08:00",
          "ID": "44ffef47-5189-4f5f-8414-e45372ccfc8e",
          "PassengerId": "c41a3cc0-d944-4db3-9333-acbd5bbb348b",
          "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-08-27T22:18:27.9729319+08:00",
          "ID": "44ffef47-5189-4f5f-8414-e45372ccfc8e",
          "PassengerId": "c41a3cc0-d944-4db3-9333-acbd5bbb348b",
          "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-08-27T22:18:27.9729319+08:00",
      "ID": "8ee2cba4-6dc5-4946-9e0c-4c0a50b7ee81",
      "OrderId": "efb1b875-3e5e-43ea-bfe0-41fe5ddffd7c",
      "Name": "sample string 4",
      "Birthday": "2026-08-27T22:18:27.9729319+08:00",
      "CardType": 0,
      "CardNo": "sample string 5",
      "SexType": 0,
      "PassengerType": 0,
      "ContactPhone": "sample string 6"
    }
  ],
  "OrderExpands": [
    {
      "ID": "07f5586d-1820-473b-9950-6f8993c806e2",
      "OrderId": "834e954d-cdbc-4934-9a72-87c5d4d56a6b",
      "SettingKey": "sample string 3",
      "SettingValue": "sample string 4"
    },
    {
      "ID": "07f5586d-1820-473b-9950-6f8993c806e2",
      "OrderId": "834e954d-cdbc-4934-9a72-87c5d4d56a6b",
      "SettingKey": "sample string 3",
      "SettingValue": "sample string 4"
    }
  ],
  "OrderPayments": [
    {
      "RecordType": 0,
      "Creater": "sample string 1",
      "Time": "2026-08-27T22:18:27.9729319+08:00",
      "ID": "6ac1cbd6-310b-4096-a4d9-72d1b8918f73",
      "OrderId": "f5a4d19d-bc7f-46a9-8e07-e3a4e809c4e7",
      "PaymentType": 0,
      "TotalPrice": 5.1,
      "TransactionId": "sample string 6",
      "Reconciled": true,
      "Remarks": "sample string 8"
    },
    {
      "RecordType": 0,
      "Creater": "sample string 1",
      "Time": "2026-08-27T22:18:27.9729319+08:00",
      "ID": "6ac1cbd6-310b-4096-a4d9-72d1b8918f73",
      "OrderId": "f5a4d19d-bc7f-46a9-8e07-e3a4e809c4e7",
      "PaymentType": 0,
      "TotalPrice": 5.1,
      "TransactionId": "sample string 6",
      "Reconciled": true,
      "Remarks": "sample string 8"
    }
  ],
  "OSegments": [
    {
      "Time": "2026-08-27T22:18:27.9729319+08:00",
      "ID": "f32f2490-858f-4f47-b5ca-ccdc8fcec7a7",
      "OrderId": "bbc72275-3b7c-4116-88cc-80457f72a08c",
      "Sequence": 4,
      "Carrier": "sample string 5",
      "DepartureAirport": "sample string 6",
      "ArrivalAirport": "sample string 7",
      "DepartureDate": "2026-08-27T22:18:27.9729319+08:00",
      "ArrivalDate": "2026-08-27T22:18:27.9729319+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-08-27T22:18:27.9729319+08:00",
      "ID": "f32f2490-858f-4f47-b5ca-ccdc8fcec7a7",
      "OrderId": "bbc72275-3b7c-4116-88cc-80457f72a08c",
      "Sequence": 4,
      "Carrier": "sample string 5",
      "DepartureAirport": "sample string 6",
      "ArrivalAirport": "sample string 7",
      "DepartureDate": "2026-08-27T22:18:27.9729319+08:00",
      "ArrivalDate": "2026-08-27T22:18:27.9729319+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": "8cdf6778-4378-4fa1-a6dd-b95ae58b5b08",
    "ProviderCode": "sample string 2",
    "PriceChangeInterval": 3
  },
  "QuotationSources": {
    "Time": "2026-08-27T22:18:27.9729319+08:00",
    "ID": "20f9c998-a438-4ddf-a769-d05affbf2a97",
    "Remarks": "sample string 3",
    "QuotationId": "sample string 4",
    "ProductMark": "sample string 5",
    "Creater": "sample string 6"
  },
  "OrderInternalNumber": "sample string 1",
  "OrderSource": 0,
  "InternalTime": "2026-08-27T22:18:27.9729319+08:00",
  "Creater": "sample string 3",
  "ID": "fa0ac70e-08e2-4613-9421-ac8683c582e4",
  "SiteId": "sample string 5",
  "OrderExternalNumber": "sample string 6",
  "LatestTime": "2026-08-27T22:18:27.9729319+08:00",
  "ExternalTime": "2026-08-27T22:18:27.9729319+08:00"
}