GET Api/Invoke/GetWebApiParentOrderByInternalNumber/{InternalNumber}

获取订单全结构信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
InternalNumber

内部订单号

string

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-09T12:38:45.062163+08:00",
      "ID": "6f3db5b9-0528-4518-aef8-084e6f2a1195",
      "OrderId": "b7e9395b-e8ea-4b48-8f0c-38e5d3773da0",
      "ContactUser": "sample string 4",
      "ContactPhone": "sample string 5"
    },
    {
      "Time": "2026-08-09T12:38:45.062163+08:00",
      "ID": "6f3db5b9-0528-4518-aef8-084e6f2a1195",
      "OrderId": "b7e9395b-e8ea-4b48-8f0c-38e5d3773da0",
      "ContactUser": "sample string 4",
      "ContactPhone": "sample string 5"
    }
  ],
  "PurchaseRoutes": [
    {
      "Creater": "sample string 1",
      "Time": "2026-08-09T12:38:45.062163+08:00",
      "ID": "3c5b66ac-e099-459b-8bba-6c4f4416d06d",
      "OrderId": "2c4a1a3c-797b-4daf-a8b2-07cc8abf7c62",
      "PurchaseTag": "sample string 5",
      "Remarks": "sample string 6"
    },
    {
      "Creater": "sample string 1",
      "Time": "2026-08-09T12:38:45.062163+08:00",
      "ID": "3c5b66ac-e099-459b-8bba-6c4f4416d06d",
      "OrderId": "2c4a1a3c-797b-4daf-a8b2-07cc8abf7c62",
      "PurchaseTag": "sample string 5",
      "Remarks": "sample string 6"
    }
  ],
  "OPassengers": [
    {
      "TicketNumbers": [
        {
          "RecordType": 0,
          "Creater": "sample string 1",
          "Time": "2026-08-09T12:38:45.062163+08:00",
          "ID": "de683e50-68a0-403e-88de-928a8322270a",
          "PassengerId": "3dc21470-f1dc-44d2-84d2-5fb95787040f",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        },
        {
          "RecordType": 0,
          "Creater": "sample string 1",
          "Time": "2026-08-09T12:38:45.062163+08:00",
          "ID": "de683e50-68a0-403e-88de-928a8322270a",
          "PassengerId": "3dc21470-f1dc-44d2-84d2-5fb95787040f",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        }
      ],
      "OTotalPrices": [
        {
          "Time": "2026-08-09T12:38:45.062163+08:00",
          "ID": "a80a5344-8c4b-45ce-b5b6-020c9e07ef8a",
          "PassengerId": "f89437f7-97be-46c7-9db0-a37df672531f",
          "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-09T12:38:45.062163+08:00",
          "ID": "a80a5344-8c4b-45ce-b5b6-020c9e07ef8a",
          "PassengerId": "f89437f7-97be-46c7-9db0-a37df672531f",
          "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-09T12:38:45.062163+08:00",
      "ID": "f4b8f757-6ff2-4bd4-a514-66f75d946cbf",
      "OrderId": "aa03bc9a-ae7a-4464-a9f5-53a4ddef1da4",
      "Name": "sample string 4",
      "Birthday": "2026-08-09T12:38:45.062163+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-09T12:38:45.062163+08:00",
          "ID": "de683e50-68a0-403e-88de-928a8322270a",
          "PassengerId": "3dc21470-f1dc-44d2-84d2-5fb95787040f",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        },
        {
          "RecordType": 0,
          "Creater": "sample string 1",
          "Time": "2026-08-09T12:38:45.062163+08:00",
          "ID": "de683e50-68a0-403e-88de-928a8322270a",
          "PassengerId": "3dc21470-f1dc-44d2-84d2-5fb95787040f",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        }
      ],
      "OTotalPrices": [
        {
          "Time": "2026-08-09T12:38:45.062163+08:00",
          "ID": "a80a5344-8c4b-45ce-b5b6-020c9e07ef8a",
          "PassengerId": "f89437f7-97be-46c7-9db0-a37df672531f",
          "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-09T12:38:45.062163+08:00",
          "ID": "a80a5344-8c4b-45ce-b5b6-020c9e07ef8a",
          "PassengerId": "f89437f7-97be-46c7-9db0-a37df672531f",
          "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-09T12:38:45.062163+08:00",
      "ID": "f4b8f757-6ff2-4bd4-a514-66f75d946cbf",
      "OrderId": "aa03bc9a-ae7a-4464-a9f5-53a4ddef1da4",
      "Name": "sample string 4",
      "Birthday": "2026-08-09T12:38:45.062163+08:00",
      "CardType": 0,
      "CardNo": "sample string 5",
      "SexType": 0,
      "PassengerType": 0,
      "ContactPhone": "sample string 6"
    }
  ],
  "OrderExpands": [
    {
      "ID": "c700cf59-9855-4f86-89c6-6d47c9d55316",
      "OrderId": "06ec03d9-f74a-466d-ae7b-75c65c9c8b6e",
      "SettingKey": "sample string 3",
      "SettingValue": "sample string 4"
    },
    {
      "ID": "c700cf59-9855-4f86-89c6-6d47c9d55316",
      "OrderId": "06ec03d9-f74a-466d-ae7b-75c65c9c8b6e",
      "SettingKey": "sample string 3",
      "SettingValue": "sample string 4"
    }
  ],
  "OrderPayments": [
    {
      "RecordType": 0,
      "Creater": "sample string 1",
      "Time": "2026-08-09T12:38:45.062163+08:00",
      "ID": "12892534-61fc-479a-904f-c05187525b9b",
      "OrderId": "d15542a0-8583-49d3-ba16-7befdc52ab4a",
      "PaymentType": 0,
      "TotalPrice": 5.1,
      "TransactionId": "sample string 6",
      "Reconciled": true,
      "Remarks": "sample string 8"
    },
    {
      "RecordType": 0,
      "Creater": "sample string 1",
      "Time": "2026-08-09T12:38:45.062163+08:00",
      "ID": "12892534-61fc-479a-904f-c05187525b9b",
      "OrderId": "d15542a0-8583-49d3-ba16-7befdc52ab4a",
      "PaymentType": 0,
      "TotalPrice": 5.1,
      "TransactionId": "sample string 6",
      "Reconciled": true,
      "Remarks": "sample string 8"
    }
  ],
  "OSegments": [
    {
      "Time": "2026-08-09T12:38:45.062163+08:00",
      "ID": "8c088e94-4c01-4fe9-8fcd-2c9ef28796a1",
      "OrderId": "6354ef5c-d1a3-4141-bb11-b80093c193f1",
      "Sequence": 4,
      "Carrier": "sample string 5",
      "DepartureAirport": "sample string 6",
      "ArrivalAirport": "sample string 7",
      "DepartureDate": "2026-08-09T12:38:45.062163+08:00",
      "ArrivalDate": "2026-08-09T12:38:45.062163+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-09T12:38:45.062163+08:00",
      "ID": "8c088e94-4c01-4fe9-8fcd-2c9ef28796a1",
      "OrderId": "6354ef5c-d1a3-4141-bb11-b80093c193f1",
      "Sequence": 4,
      "Carrier": "sample string 5",
      "DepartureAirport": "sample string 6",
      "ArrivalAirport": "sample string 7",
      "DepartureDate": "2026-08-09T12:38:45.062163+08:00",
      "ArrivalDate": "2026-08-09T12:38:45.062163+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": "69a97975-6d5d-43d4-ac8f-ca4de8e340d3",
    "ProviderCode": "sample string 2",
    "PriceChangeInterval": 3
  },
  "QuotationSources": {
    "Time": "2026-08-09T12:38:45.062163+08:00",
    "ID": "751b5bbc-ae1e-4b34-845d-ea350340f6d9",
    "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-09T12:38:45.062163+08:00",
  "Creater": "sample string 3",
  "ID": "81dd9771-1130-4c3c-a06f-beda1906766e",
  "SiteId": "sample string 5",
  "OrderExternalNumber": "sample string 6",
  "LatestTime": "2026-08-09T12:38:45.062163+08:00",
  "ExternalTime": "2026-08-09T12:38:45.062163+08:00"
}