GET Api/Invoke/GetWebApiParentOrderByTicketNumber/{TicketNumber}

获取订单全结构信息(基于票号)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
TicketNumber

机票号码

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-06-07T20:07:22.7016333+08:00",
      "ID": "9253f4ab-c368-44b6-8e9b-13b285572919",
      "OrderId": "b8b214eb-0df3-46cb-a6d4-183393397af4",
      "ContactUser": "sample string 4",
      "ContactPhone": "sample string 5"
    },
    {
      "Time": "2026-06-07T20:07:22.7016333+08:00",
      "ID": "9253f4ab-c368-44b6-8e9b-13b285572919",
      "OrderId": "b8b214eb-0df3-46cb-a6d4-183393397af4",
      "ContactUser": "sample string 4",
      "ContactPhone": "sample string 5"
    }
  ],
  "PurchaseRoutes": [
    {
      "Creater": "sample string 1",
      "Time": "2026-06-07T20:07:22.7016333+08:00",
      "ID": "30cdfd14-a234-4429-a3b9-d8ce2e2f7faa",
      "OrderId": "f2489db8-2900-46ed-9f85-c26917a6c8b4",
      "PurchaseTag": "sample string 5",
      "Remarks": "sample string 6"
    },
    {
      "Creater": "sample string 1",
      "Time": "2026-06-07T20:07:22.7016333+08:00",
      "ID": "30cdfd14-a234-4429-a3b9-d8ce2e2f7faa",
      "OrderId": "f2489db8-2900-46ed-9f85-c26917a6c8b4",
      "PurchaseTag": "sample string 5",
      "Remarks": "sample string 6"
    }
  ],
  "OPassengers": [
    {
      "TicketNumbers": [
        {
          "RecordType": 0,
          "Creater": "sample string 1",
          "Time": "2026-06-07T20:07:22.7016333+08:00",
          "ID": "e19a40af-49f0-4d4e-addd-63f43ec820d6",
          "PassengerId": "24da5633-e94a-45c5-be1b-2ff1e6df85f4",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        },
        {
          "RecordType": 0,
          "Creater": "sample string 1",
          "Time": "2026-06-07T20:07:22.7016333+08:00",
          "ID": "e19a40af-49f0-4d4e-addd-63f43ec820d6",
          "PassengerId": "24da5633-e94a-45c5-be1b-2ff1e6df85f4",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        }
      ],
      "OTotalPrices": [
        {
          "Time": "2026-06-07T20:07:22.7016333+08:00",
          "ID": "154baf26-d9f7-45b2-9572-5df6661f87a4",
          "PassengerId": "e01b3a49-e299-4540-8025-ab42fdd9636f",
          "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-06-07T20:07:22.7016333+08:00",
          "ID": "154baf26-d9f7-45b2-9572-5df6661f87a4",
          "PassengerId": "e01b3a49-e299-4540-8025-ab42fdd9636f",
          "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-06-07T20:07:22.7016333+08:00",
      "ID": "08e1c02a-41c5-476e-a622-19ec3675fb26",
      "OrderId": "55da3c05-fe34-41d4-9883-c828420f5d8e",
      "Name": "sample string 4",
      "Birthday": "2026-06-07T20:07:22.7016333+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-06-07T20:07:22.7016333+08:00",
          "ID": "e19a40af-49f0-4d4e-addd-63f43ec820d6",
          "PassengerId": "24da5633-e94a-45c5-be1b-2ff1e6df85f4",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        },
        {
          "RecordType": 0,
          "Creater": "sample string 1",
          "Time": "2026-06-07T20:07:22.7016333+08:00",
          "ID": "e19a40af-49f0-4d4e-addd-63f43ec820d6",
          "PassengerId": "24da5633-e94a-45c5-be1b-2ff1e6df85f4",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        }
      ],
      "OTotalPrices": [
        {
          "Time": "2026-06-07T20:07:22.7016333+08:00",
          "ID": "154baf26-d9f7-45b2-9572-5df6661f87a4",
          "PassengerId": "e01b3a49-e299-4540-8025-ab42fdd9636f",
          "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-06-07T20:07:22.7016333+08:00",
          "ID": "154baf26-d9f7-45b2-9572-5df6661f87a4",
          "PassengerId": "e01b3a49-e299-4540-8025-ab42fdd9636f",
          "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-06-07T20:07:22.7016333+08:00",
      "ID": "08e1c02a-41c5-476e-a622-19ec3675fb26",
      "OrderId": "55da3c05-fe34-41d4-9883-c828420f5d8e",
      "Name": "sample string 4",
      "Birthday": "2026-06-07T20:07:22.7016333+08:00",
      "CardType": 0,
      "CardNo": "sample string 5",
      "SexType": 0,
      "PassengerType": 0,
      "ContactPhone": "sample string 6"
    }
  ],
  "OrderExpands": [
    {
      "ID": "aa0ffe0d-0733-44e8-8e1a-358ec588a179",
      "OrderId": "6541237b-bb60-4808-abf8-45d6ce5c552c",
      "SettingKey": "sample string 3",
      "SettingValue": "sample string 4"
    },
    {
      "ID": "aa0ffe0d-0733-44e8-8e1a-358ec588a179",
      "OrderId": "6541237b-bb60-4808-abf8-45d6ce5c552c",
      "SettingKey": "sample string 3",
      "SettingValue": "sample string 4"
    }
  ],
  "OrderPayments": [
    {
      "RecordType": 0,
      "Creater": "sample string 1",
      "Time": "2026-06-07T20:07:22.7016333+08:00",
      "ID": "729e9dad-85d6-45fa-834f-77677cf009be",
      "OrderId": "27a24431-7bda-43b3-b5a1-459d595caf72",
      "PaymentType": 0,
      "TotalPrice": 5.1,
      "TransactionId": "sample string 6",
      "Reconciled": true,
      "Remarks": "sample string 8"
    },
    {
      "RecordType": 0,
      "Creater": "sample string 1",
      "Time": "2026-06-07T20:07:22.7016333+08:00",
      "ID": "729e9dad-85d6-45fa-834f-77677cf009be",
      "OrderId": "27a24431-7bda-43b3-b5a1-459d595caf72",
      "PaymentType": 0,
      "TotalPrice": 5.1,
      "TransactionId": "sample string 6",
      "Reconciled": true,
      "Remarks": "sample string 8"
    }
  ],
  "OSegments": [
    {
      "Time": "2026-06-07T20:07:22.7016333+08:00",
      "ID": "265bf708-fcc3-4765-95d8-7056ca2a7547",
      "OrderId": "e4666e8b-6b7a-4769-9d6f-c76332c04219",
      "Sequence": 4,
      "Carrier": "sample string 5",
      "DepartureAirport": "sample string 6",
      "ArrivalAirport": "sample string 7",
      "DepartureDate": "2026-06-07T20:07:22.7016333+08:00",
      "ArrivalDate": "2026-06-07T20:07:22.7016333+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-06-07T20:07:22.7016333+08:00",
      "ID": "265bf708-fcc3-4765-95d8-7056ca2a7547",
      "OrderId": "e4666e8b-6b7a-4769-9d6f-c76332c04219",
      "Sequence": 4,
      "Carrier": "sample string 5",
      "DepartureAirport": "sample string 6",
      "ArrivalAirport": "sample string 7",
      "DepartureDate": "2026-06-07T20:07:22.7016333+08:00",
      "ArrivalDate": "2026-06-07T20:07:22.7016333+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": "bc1246f6-5d79-4677-9a8b-e74abd39cef4",
    "ProviderCode": "sample string 2",
    "PriceChangeInterval": 3
  },
  "QuotationSources": {
    "Time": "2026-06-07T20:07:22.7016333+08:00",
    "ID": "c6340484-2bcb-493d-b7bf-1c6d946b1be6",
    "Remarks": "sample string 3",
    "QuotationId": "sample string 4",
    "ProductMark": "sample string 5",
    "Creater": "sample string 6"
  },
  "OrderInternalNumber": "sample string 1",
  "OrderSource": 0,
  "InternalTime": "2026-06-07T20:07:22.7016333+08:00",
  "Creater": "sample string 3",
  "ID": "41211156-e012-4613-98e7-98f17e6c24c9",
  "SiteId": "sample string 5",
  "OrderExternalNumber": "sample string 6",
  "LatestTime": "2026-06-07T20:07:22.7016333+08:00",
  "ExternalTime": "2026-06-07T20:07:22.7016333+08:00"
}