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": "2024-12-24T02:45:19.3425862+08:00",
      "ID": "cc431ee0-5985-44c8-82a7-02c2310c4844",
      "OrderId": "03721315-5697-4daa-87e6-7f38324a2bd0",
      "ContactUser": "sample string 4",
      "ContactPhone": "sample string 5"
    },
    {
      "Time": "2024-12-24T02:45:19.3425862+08:00",
      "ID": "cc431ee0-5985-44c8-82a7-02c2310c4844",
      "OrderId": "03721315-5697-4daa-87e6-7f38324a2bd0",
      "ContactUser": "sample string 4",
      "ContactPhone": "sample string 5"
    }
  ],
  "PurchaseRoutes": [
    {
      "Creater": "sample string 1",
      "Time": "2024-12-24T02:45:19.3425862+08:00",
      "ID": "77ad2ef1-e27e-4057-b889-c808747d0866",
      "OrderId": "c4cc0912-8374-42b0-8ae1-2297de1b3f55",
      "PurchaseTag": "sample string 5",
      "Remarks": "sample string 6"
    },
    {
      "Creater": "sample string 1",
      "Time": "2024-12-24T02:45:19.3425862+08:00",
      "ID": "77ad2ef1-e27e-4057-b889-c808747d0866",
      "OrderId": "c4cc0912-8374-42b0-8ae1-2297de1b3f55",
      "PurchaseTag": "sample string 5",
      "Remarks": "sample string 6"
    }
  ],
  "OPassengers": [
    {
      "TicketNumbers": [
        {
          "RecordType": 0,
          "Creater": "sample string 1",
          "Time": "2024-12-24T02:45:19.3425862+08:00",
          "ID": "81221658-04f4-43e1-8b83-9d46031bb32b",
          "PassengerId": "b05a0593-2599-4f46-80c9-0a195221b436",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        },
        {
          "RecordType": 0,
          "Creater": "sample string 1",
          "Time": "2024-12-24T02:45:19.3425862+08:00",
          "ID": "81221658-04f4-43e1-8b83-9d46031bb32b",
          "PassengerId": "b05a0593-2599-4f46-80c9-0a195221b436",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        }
      ],
      "OTotalPrices": [
        {
          "Time": "2024-12-24T02:45:19.3425862+08:00",
          "ID": "48c3b47b-33e6-40cd-ac80-9d2d29ea6f56",
          "PassengerId": "a9812e3c-4594-4e2c-a8c4-289d1ace23f7",
          "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": "2024-12-24T02:45:19.3425862+08:00",
          "ID": "48c3b47b-33e6-40cd-ac80-9d2d29ea6f56",
          "PassengerId": "a9812e3c-4594-4e2c-a8c4-289d1ace23f7",
          "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": "2024-12-24T02:45:19.3425862+08:00",
      "ID": "28507bed-036a-476a-920b-39220ed0f524",
      "OrderId": "fe0f4d1e-109d-4a27-b238-8cbb17d20c43",
      "Name": "sample string 4",
      "Birthday": "2024-12-24T02:45:19.3425862+08:00",
      "CardType": 0,
      "CardNo": "sample string 5",
      "SexType": 0,
      "PassengerType": 0,
      "ContactPhone": "sample string 6"
    },
    {
      "TicketNumbers": [
        {
          "RecordType": 0,
          "Creater": "sample string 1",
          "Time": "2024-12-24T02:45:19.3425862+08:00",
          "ID": "81221658-04f4-43e1-8b83-9d46031bb32b",
          "PassengerId": "b05a0593-2599-4f46-80c9-0a195221b436",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        },
        {
          "RecordType": 0,
          "Creater": "sample string 1",
          "Time": "2024-12-24T02:45:19.3425862+08:00",
          "ID": "81221658-04f4-43e1-8b83-9d46031bb32b",
          "PassengerId": "b05a0593-2599-4f46-80c9-0a195221b436",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        }
      ],
      "OTotalPrices": [
        {
          "Time": "2024-12-24T02:45:19.3425862+08:00",
          "ID": "48c3b47b-33e6-40cd-ac80-9d2d29ea6f56",
          "PassengerId": "a9812e3c-4594-4e2c-a8c4-289d1ace23f7",
          "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": "2024-12-24T02:45:19.3425862+08:00",
          "ID": "48c3b47b-33e6-40cd-ac80-9d2d29ea6f56",
          "PassengerId": "a9812e3c-4594-4e2c-a8c4-289d1ace23f7",
          "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": "2024-12-24T02:45:19.3425862+08:00",
      "ID": "28507bed-036a-476a-920b-39220ed0f524",
      "OrderId": "fe0f4d1e-109d-4a27-b238-8cbb17d20c43",
      "Name": "sample string 4",
      "Birthday": "2024-12-24T02:45:19.3425862+08:00",
      "CardType": 0,
      "CardNo": "sample string 5",
      "SexType": 0,
      "PassengerType": 0,
      "ContactPhone": "sample string 6"
    }
  ],
  "OrderExpands": [
    {
      "ID": "252202b4-36fc-40f4-afab-99e65c789504",
      "OrderId": "f69b0c3d-8c4c-40c4-a092-c182b12d70d9",
      "SettingKey": "sample string 3",
      "SettingValue": "sample string 4"
    },
    {
      "ID": "252202b4-36fc-40f4-afab-99e65c789504",
      "OrderId": "f69b0c3d-8c4c-40c4-a092-c182b12d70d9",
      "SettingKey": "sample string 3",
      "SettingValue": "sample string 4"
    }
  ],
  "OrderPayments": [
    {
      "RecordType": 0,
      "Creater": "sample string 1",
      "Time": "2024-12-24T02:45:19.3425862+08:00",
      "ID": "b1112dab-e250-4715-b44a-97d9ca5f8262",
      "OrderId": "3ea09b14-b4df-4565-a0d6-2352382b01ce",
      "PaymentType": 0,
      "TotalPrice": 5.1,
      "TransactionId": "sample string 6",
      "Reconciled": true,
      "Remarks": "sample string 8"
    },
    {
      "RecordType": 0,
      "Creater": "sample string 1",
      "Time": "2024-12-24T02:45:19.3425862+08:00",
      "ID": "b1112dab-e250-4715-b44a-97d9ca5f8262",
      "OrderId": "3ea09b14-b4df-4565-a0d6-2352382b01ce",
      "PaymentType": 0,
      "TotalPrice": 5.1,
      "TransactionId": "sample string 6",
      "Reconciled": true,
      "Remarks": "sample string 8"
    }
  ],
  "OSegments": [
    {
      "Time": "2024-12-24T02:45:19.3425862+08:00",
      "ID": "eb9cafce-b058-4905-961d-07776242823a",
      "OrderId": "a3119faf-393a-4d00-be3b-8dacb12d0b4b",
      "Sequence": 4,
      "Carrier": "sample string 5",
      "DepartureAirport": "sample string 6",
      "ArrivalAirport": "sample string 7",
      "DepartureDate": "2024-12-24T02:45:19.3425862+08:00",
      "ArrivalDate": "2024-12-24T02:45:19.3425862+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": "2024-12-24T02:45:19.3425862+08:00",
      "ID": "eb9cafce-b058-4905-961d-07776242823a",
      "OrderId": "a3119faf-393a-4d00-be3b-8dacb12d0b4b",
      "Sequence": 4,
      "Carrier": "sample string 5",
      "DepartureAirport": "sample string 6",
      "ArrivalAirport": "sample string 7",
      "DepartureDate": "2024-12-24T02:45:19.3425862+08:00",
      "ArrivalDate": "2024-12-24T02:45:19.3425862+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": "81438551-1016-4a0e-b667-3d936f167d29",
    "ProviderCode": "sample string 2",
    "PriceChangeInterval": 3
  },
  "QuotationSources": {
    "Time": "2024-12-24T02:45:19.3425862+08:00",
    "ID": "c3dae358-5423-41d7-802c-0e5cdb8d0fc0",
    "Remarks": "sample string 3",
    "QuotationId": "sample string 4",
    "ProductMark": "sample string 5",
    "Creater": "sample string 6"
  },
  "OrderInternalNumber": "sample string 1",
  "OrderSource": 0,
  "InternalTime": "2024-12-24T02:45:19.3425862+08:00",
  "Creater": "sample string 3",
  "ID": "05939fc1-6055-4bbe-b0b7-ba1b8990c1c0",
  "SiteId": "sample string 5",
  "OrderExternalNumber": "sample string 6",
  "LatestTime": "2024-12-24T02:45:19.3425862+08:00",
  "ExternalTime": "2024-12-24T02:45:19.3425862+08:00"
}