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-09-02T01:32:52.1871348+08:00",
      "ID": "13a7c09a-ddf0-4f94-b538-b9a18e1ec868",
      "OrderId": "72d2ccf0-216b-415d-82c4-967b762351ed",
      "ContactUser": "sample string 4",
      "ContactPhone": "sample string 5"
    },
    {
      "Time": "2026-09-02T01:32:52.1871348+08:00",
      "ID": "13a7c09a-ddf0-4f94-b538-b9a18e1ec868",
      "OrderId": "72d2ccf0-216b-415d-82c4-967b762351ed",
      "ContactUser": "sample string 4",
      "ContactPhone": "sample string 5"
    }
  ],
  "PurchaseRoutes": [
    {
      "Creater": "sample string 1",
      "Time": "2026-09-02T01:32:52.1871348+08:00",
      "ID": "875d0c87-bc6b-4ba0-b632-83ce2ff2cb05",
      "OrderId": "b65bc676-cc62-4a4e-840b-80b32bb3ab46",
      "PurchaseTag": "sample string 5",
      "Remarks": "sample string 6"
    },
    {
      "Creater": "sample string 1",
      "Time": "2026-09-02T01:32:52.1871348+08:00",
      "ID": "875d0c87-bc6b-4ba0-b632-83ce2ff2cb05",
      "OrderId": "b65bc676-cc62-4a4e-840b-80b32bb3ab46",
      "PurchaseTag": "sample string 5",
      "Remarks": "sample string 6"
    }
  ],
  "OPassengers": [
    {
      "TicketNumbers": [
        {
          "RecordType": 0,
          "Creater": "sample string 1",
          "Time": "2026-09-02T01:32:52.1871348+08:00",
          "ID": "36a1391a-027d-4f78-a4a8-2c6a9379a423",
          "PassengerId": "0be47d72-3d91-4e91-acb6-d93a98da2e03",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        },
        {
          "RecordType": 0,
          "Creater": "sample string 1",
          "Time": "2026-09-02T01:32:52.1871348+08:00",
          "ID": "36a1391a-027d-4f78-a4a8-2c6a9379a423",
          "PassengerId": "0be47d72-3d91-4e91-acb6-d93a98da2e03",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        }
      ],
      "OTotalPrices": [
        {
          "Time": "2026-09-02T01:32:52.1871348+08:00",
          "ID": "a879e9cc-de46-42fd-93c3-3402d1feb004",
          "PassengerId": "32911fe6-52b5-478d-944e-fcf1773e5fa9",
          "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-09-02T01:32:52.1871348+08:00",
          "ID": "a879e9cc-de46-42fd-93c3-3402d1feb004",
          "PassengerId": "32911fe6-52b5-478d-944e-fcf1773e5fa9",
          "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-09-02T01:32:52.1871348+08:00",
      "ID": "e5b2c9de-2224-4932-8991-88e05e873e56",
      "OrderId": "8030522d-a985-4e4c-87a3-8edf7fd4b2a2",
      "Name": "sample string 4",
      "Birthday": "2026-09-02T01:32:52.1871348+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-09-02T01:32:52.1871348+08:00",
          "ID": "36a1391a-027d-4f78-a4a8-2c6a9379a423",
          "PassengerId": "0be47d72-3d91-4e91-acb6-d93a98da2e03",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        },
        {
          "RecordType": 0,
          "Creater": "sample string 1",
          "Time": "2026-09-02T01:32:52.1871348+08:00",
          "ID": "36a1391a-027d-4f78-a4a8-2c6a9379a423",
          "PassengerId": "0be47d72-3d91-4e91-acb6-d93a98da2e03",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        }
      ],
      "OTotalPrices": [
        {
          "Time": "2026-09-02T01:32:52.1871348+08:00",
          "ID": "a879e9cc-de46-42fd-93c3-3402d1feb004",
          "PassengerId": "32911fe6-52b5-478d-944e-fcf1773e5fa9",
          "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-09-02T01:32:52.1871348+08:00",
          "ID": "a879e9cc-de46-42fd-93c3-3402d1feb004",
          "PassengerId": "32911fe6-52b5-478d-944e-fcf1773e5fa9",
          "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-09-02T01:32:52.1871348+08:00",
      "ID": "e5b2c9de-2224-4932-8991-88e05e873e56",
      "OrderId": "8030522d-a985-4e4c-87a3-8edf7fd4b2a2",
      "Name": "sample string 4",
      "Birthday": "2026-09-02T01:32:52.1871348+08:00",
      "CardType": 0,
      "CardNo": "sample string 5",
      "SexType": 0,
      "PassengerType": 0,
      "ContactPhone": "sample string 6"
    }
  ],
  "OrderExpands": [
    {
      "ID": "3acaca47-9e31-4d83-a0e4-a243dc7d4f25",
      "OrderId": "1737d19c-bf56-47ec-816c-2912f7c1902b",
      "SettingKey": "sample string 3",
      "SettingValue": "sample string 4"
    },
    {
      "ID": "3acaca47-9e31-4d83-a0e4-a243dc7d4f25",
      "OrderId": "1737d19c-bf56-47ec-816c-2912f7c1902b",
      "SettingKey": "sample string 3",
      "SettingValue": "sample string 4"
    }
  ],
  "OrderPayments": [
    {
      "RecordType": 0,
      "Creater": "sample string 1",
      "Time": "2026-09-02T01:32:52.1871348+08:00",
      "ID": "17f9172e-e753-498e-a380-2521a10389b1",
      "OrderId": "a6e61e0c-3df4-449c-8082-aba9be3c813e",
      "PaymentType": 0,
      "TotalPrice": 5.1,
      "TransactionId": "sample string 6",
      "Reconciled": true,
      "Remarks": "sample string 8"
    },
    {
      "RecordType": 0,
      "Creater": "sample string 1",
      "Time": "2026-09-02T01:32:52.1871348+08:00",
      "ID": "17f9172e-e753-498e-a380-2521a10389b1",
      "OrderId": "a6e61e0c-3df4-449c-8082-aba9be3c813e",
      "PaymentType": 0,
      "TotalPrice": 5.1,
      "TransactionId": "sample string 6",
      "Reconciled": true,
      "Remarks": "sample string 8"
    }
  ],
  "OSegments": [
    {
      "Time": "2026-09-02T01:32:52.1871348+08:00",
      "ID": "19225aaf-b2ba-4e5f-97a2-170b4e7dc644",
      "OrderId": "99d5968e-6e4e-40b5-a0cd-1cf0d28c9dce",
      "Sequence": 4,
      "Carrier": "sample string 5",
      "DepartureAirport": "sample string 6",
      "ArrivalAirport": "sample string 7",
      "DepartureDate": "2026-09-02T01:32:52.1871348+08:00",
      "ArrivalDate": "2026-09-02T01:32:52.1871348+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-09-02T01:32:52.1871348+08:00",
      "ID": "19225aaf-b2ba-4e5f-97a2-170b4e7dc644",
      "OrderId": "99d5968e-6e4e-40b5-a0cd-1cf0d28c9dce",
      "Sequence": 4,
      "Carrier": "sample string 5",
      "DepartureAirport": "sample string 6",
      "ArrivalAirport": "sample string 7",
      "DepartureDate": "2026-09-02T01:32:52.1871348+08:00",
      "ArrivalDate": "2026-09-02T01:32:52.1871348+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": "60fc0194-e853-4494-80a6-2a595d535551",
    "ProviderCode": "sample string 2",
    "PriceChangeInterval": 3
  },
  "QuotationSources": {
    "Time": "2026-09-02T01:32:52.1871348+08:00",
    "ID": "fa9b96bc-a1b8-4e2f-95c2-f711a2948807",
    "Remarks": "sample string 3",
    "QuotationId": "sample string 4",
    "ProductMark": "sample string 5",
    "Creater": "sample string 6"
  },
  "OrderInternalNumber": "sample string 1",
  "OrderSource": 0,
  "InternalTime": "2026-09-02T01:32:52.1871348+08:00",
  "Creater": "sample string 3",
  "ID": "97a7622c-954e-4bb7-9422-f54c04009bac",
  "SiteId": "sample string 5",
  "OrderExternalNumber": "sample string 6",
  "LatestTime": "2026-09-02T01:32:52.1871348+08:00",
  "ExternalTime": "2026-09-02T01:32:52.1871348+08:00"
}