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-10-22T16:32:41.8037737+08:00",
      "ID": "e694c1cc-492d-4bfa-ab22-49ffbe0296c7",
      "OrderId": "b1eeb043-0e96-47ec-bd47-821cb03961c2",
      "ContactUser": "sample string 4",
      "ContactPhone": "sample string 5"
    },
    {
      "Time": "2024-10-22T16:32:41.8037737+08:00",
      "ID": "e694c1cc-492d-4bfa-ab22-49ffbe0296c7",
      "OrderId": "b1eeb043-0e96-47ec-bd47-821cb03961c2",
      "ContactUser": "sample string 4",
      "ContactPhone": "sample string 5"
    }
  ],
  "PurchaseRoutes": [
    {
      "Creater": "sample string 1",
      "Time": "2024-10-22T16:32:41.8037737+08:00",
      "ID": "a722ab80-26f9-4e89-8fcc-19afa73e3496",
      "OrderId": "d6365908-c35a-446c-bee8-ddcc1dc1a2e6",
      "PurchaseTag": "sample string 5",
      "Remarks": "sample string 6"
    },
    {
      "Creater": "sample string 1",
      "Time": "2024-10-22T16:32:41.8037737+08:00",
      "ID": "a722ab80-26f9-4e89-8fcc-19afa73e3496",
      "OrderId": "d6365908-c35a-446c-bee8-ddcc1dc1a2e6",
      "PurchaseTag": "sample string 5",
      "Remarks": "sample string 6"
    }
  ],
  "OPassengers": [
    {
      "TicketNumbers": [
        {
          "RecordType": 0,
          "Creater": "sample string 1",
          "Time": "2024-10-22T16:32:41.8037737+08:00",
          "ID": "8754fba5-1b67-4a40-b2d3-311d279b1efc",
          "PassengerId": "06e77425-30df-4c87-8fce-de94cffb1708",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        },
        {
          "RecordType": 0,
          "Creater": "sample string 1",
          "Time": "2024-10-22T16:32:41.8037737+08:00",
          "ID": "8754fba5-1b67-4a40-b2d3-311d279b1efc",
          "PassengerId": "06e77425-30df-4c87-8fce-de94cffb1708",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        }
      ],
      "OTotalPrices": [
        {
          "Time": "2024-10-22T16:32:41.8037737+08:00",
          "ID": "40bce72d-e895-47b3-a88f-b35483433841",
          "PassengerId": "af3f816f-26c4-4279-af4e-9664815f8451",
          "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-10-22T16:32:41.8037737+08:00",
          "ID": "40bce72d-e895-47b3-a88f-b35483433841",
          "PassengerId": "af3f816f-26c4-4279-af4e-9664815f8451",
          "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-10-22T16:32:41.8037737+08:00",
      "ID": "27928cf4-b82a-4c68-82d7-76fed58bdca7",
      "OrderId": "a7b64c96-ddb1-4770-9528-0da0f2661ba3",
      "Name": "sample string 4",
      "Birthday": "2024-10-22T16:32:41.8037737+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-10-22T16:32:41.8037737+08:00",
          "ID": "8754fba5-1b67-4a40-b2d3-311d279b1efc",
          "PassengerId": "06e77425-30df-4c87-8fce-de94cffb1708",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        },
        {
          "RecordType": 0,
          "Creater": "sample string 1",
          "Time": "2024-10-22T16:32:41.8037737+08:00",
          "ID": "8754fba5-1b67-4a40-b2d3-311d279b1efc",
          "PassengerId": "06e77425-30df-4c87-8fce-de94cffb1708",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        }
      ],
      "OTotalPrices": [
        {
          "Time": "2024-10-22T16:32:41.8037737+08:00",
          "ID": "40bce72d-e895-47b3-a88f-b35483433841",
          "PassengerId": "af3f816f-26c4-4279-af4e-9664815f8451",
          "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-10-22T16:32:41.8037737+08:00",
          "ID": "40bce72d-e895-47b3-a88f-b35483433841",
          "PassengerId": "af3f816f-26c4-4279-af4e-9664815f8451",
          "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-10-22T16:32:41.8037737+08:00",
      "ID": "27928cf4-b82a-4c68-82d7-76fed58bdca7",
      "OrderId": "a7b64c96-ddb1-4770-9528-0da0f2661ba3",
      "Name": "sample string 4",
      "Birthday": "2024-10-22T16:32:41.8037737+08:00",
      "CardType": 0,
      "CardNo": "sample string 5",
      "SexType": 0,
      "PassengerType": 0,
      "ContactPhone": "sample string 6"
    }
  ],
  "OrderExpands": [
    {
      "ID": "3737c792-fa79-40ab-ac08-109552f8738f",
      "OrderId": "eb101aa7-7a43-40c9-8405-67ca420514a4",
      "SettingKey": "sample string 3",
      "SettingValue": "sample string 4"
    },
    {
      "ID": "3737c792-fa79-40ab-ac08-109552f8738f",
      "OrderId": "eb101aa7-7a43-40c9-8405-67ca420514a4",
      "SettingKey": "sample string 3",
      "SettingValue": "sample string 4"
    }
  ],
  "OrderPayments": [
    {
      "RecordType": 0,
      "Creater": "sample string 1",
      "Time": "2024-10-22T16:32:41.8037737+08:00",
      "ID": "22dfbbcc-4545-40d5-82fe-6d1a0728a8b2",
      "OrderId": "4b242a56-0180-41ef-8e4f-e98efe27e03b",
      "PaymentType": 0,
      "TotalPrice": 5.1,
      "TransactionId": "sample string 6",
      "Reconciled": true,
      "Remarks": "sample string 8"
    },
    {
      "RecordType": 0,
      "Creater": "sample string 1",
      "Time": "2024-10-22T16:32:41.8037737+08:00",
      "ID": "22dfbbcc-4545-40d5-82fe-6d1a0728a8b2",
      "OrderId": "4b242a56-0180-41ef-8e4f-e98efe27e03b",
      "PaymentType": 0,
      "TotalPrice": 5.1,
      "TransactionId": "sample string 6",
      "Reconciled": true,
      "Remarks": "sample string 8"
    }
  ],
  "OSegments": [
    {
      "Time": "2024-10-22T16:32:41.8037737+08:00",
      "ID": "3e40d065-6617-4268-b498-b026f05fdbd7",
      "OrderId": "57c85697-23f5-4c6a-946c-a5d42d393b6e",
      "Sequence": 4,
      "Carrier": "sample string 5",
      "DepartureAirport": "sample string 6",
      "ArrivalAirport": "sample string 7",
      "DepartureDate": "2024-10-22T16:32:41.8037737+08:00",
      "ArrivalDate": "2024-10-22T16:32:41.8037737+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-10-22T16:32:41.8037737+08:00",
      "ID": "3e40d065-6617-4268-b498-b026f05fdbd7",
      "OrderId": "57c85697-23f5-4c6a-946c-a5d42d393b6e",
      "Sequence": 4,
      "Carrier": "sample string 5",
      "DepartureAirport": "sample string 6",
      "ArrivalAirport": "sample string 7",
      "DepartureDate": "2024-10-22T16:32:41.8037737+08:00",
      "ArrivalDate": "2024-10-22T16:32:41.8037737+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": "13fb65ff-6141-4fb9-b5eb-61bb6b0faaab",
    "ProviderCode": "sample string 2",
    "PriceChangeInterval": 3
  },
  "QuotationSources": {
    "Time": "2024-10-22T16:32:41.8037737+08:00",
    "ID": "02bf71b8-e246-4542-80db-bdff9909f522",
    "Remarks": "sample string 3",
    "QuotationId": "sample string 4",
    "ProductMark": "sample string 5",
    "Creater": "sample string 6"
  },
  "OrderInternalNumber": "sample string 1",
  "OrderSource": 0,
  "InternalTime": "2024-10-22T16:32:41.8037737+08:00",
  "Creater": "sample string 3",
  "ID": "e3e15e83-f89f-49e6-ab69-60fdb7103b93",
  "SiteId": "sample string 5",
  "OrderExternalNumber": "sample string 6",
  "LatestTime": "2024-10-22T16:32:41.8037737+08:00",
  "ExternalTime": "2024-10-22T16:32:41.8037737+08:00"
}