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": "2024-12-24T03:18:48.1328859+08:00",
      "ID": "38f0f27d-8307-4760-ad58-e424b917575d",
      "OrderId": "9262897b-c723-407c-a302-5e621859f525",
      "ContactUser": "sample string 4",
      "ContactPhone": "sample string 5"
    },
    {
      "Time": "2024-12-24T03:18:48.1328859+08:00",
      "ID": "38f0f27d-8307-4760-ad58-e424b917575d",
      "OrderId": "9262897b-c723-407c-a302-5e621859f525",
      "ContactUser": "sample string 4",
      "ContactPhone": "sample string 5"
    }
  ],
  "PurchaseRoutes": [
    {
      "Creater": "sample string 1",
      "Time": "2024-12-24T03:18:48.1328859+08:00",
      "ID": "adbc1a8c-b1b4-4606-99ac-87d1a3c7c33c",
      "OrderId": "35e166ea-3702-4c10-9a81-d7eb552f00df",
      "PurchaseTag": "sample string 5",
      "Remarks": "sample string 6"
    },
    {
      "Creater": "sample string 1",
      "Time": "2024-12-24T03:18:48.1328859+08:00",
      "ID": "adbc1a8c-b1b4-4606-99ac-87d1a3c7c33c",
      "OrderId": "35e166ea-3702-4c10-9a81-d7eb552f00df",
      "PurchaseTag": "sample string 5",
      "Remarks": "sample string 6"
    }
  ],
  "OPassengers": [
    {
      "TicketNumbers": [
        {
          "RecordType": 0,
          "Creater": "sample string 1",
          "Time": "2024-12-24T03:18:48.1328859+08:00",
          "ID": "7ab955c0-e7e6-4e14-9aed-e5729875972b",
          "PassengerId": "747ededb-62ba-470b-b62b-12bb5493063c",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        },
        {
          "RecordType": 0,
          "Creater": "sample string 1",
          "Time": "2024-12-24T03:18:48.1328859+08:00",
          "ID": "7ab955c0-e7e6-4e14-9aed-e5729875972b",
          "PassengerId": "747ededb-62ba-470b-b62b-12bb5493063c",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        }
      ],
      "OTotalPrices": [
        {
          "Time": "2024-12-24T03:18:48.1328859+08:00",
          "ID": "d0b019d7-aee7-43f1-8632-61e89b225ad5",
          "PassengerId": "7b66471d-20e7-4eeb-9d98-9365a06ddda2",
          "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-24T03:18:48.1328859+08:00",
          "ID": "d0b019d7-aee7-43f1-8632-61e89b225ad5",
          "PassengerId": "7b66471d-20e7-4eeb-9d98-9365a06ddda2",
          "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-24T03:18:48.1484842+08:00",
      "ID": "94b026ef-fe97-425c-9276-bc2e2b3f8e67",
      "OrderId": "55aeeed9-0870-4b68-a999-3be207dbc49d",
      "Name": "sample string 4",
      "Birthday": "2024-12-24T03:18:48.1484842+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-24T03:18:48.1328859+08:00",
          "ID": "7ab955c0-e7e6-4e14-9aed-e5729875972b",
          "PassengerId": "747ededb-62ba-470b-b62b-12bb5493063c",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        },
        {
          "RecordType": 0,
          "Creater": "sample string 1",
          "Time": "2024-12-24T03:18:48.1328859+08:00",
          "ID": "7ab955c0-e7e6-4e14-9aed-e5729875972b",
          "PassengerId": "747ededb-62ba-470b-b62b-12bb5493063c",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        }
      ],
      "OTotalPrices": [
        {
          "Time": "2024-12-24T03:18:48.1328859+08:00",
          "ID": "d0b019d7-aee7-43f1-8632-61e89b225ad5",
          "PassengerId": "7b66471d-20e7-4eeb-9d98-9365a06ddda2",
          "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-24T03:18:48.1328859+08:00",
          "ID": "d0b019d7-aee7-43f1-8632-61e89b225ad5",
          "PassengerId": "7b66471d-20e7-4eeb-9d98-9365a06ddda2",
          "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-24T03:18:48.1484842+08:00",
      "ID": "94b026ef-fe97-425c-9276-bc2e2b3f8e67",
      "OrderId": "55aeeed9-0870-4b68-a999-3be207dbc49d",
      "Name": "sample string 4",
      "Birthday": "2024-12-24T03:18:48.1484842+08:00",
      "CardType": 0,
      "CardNo": "sample string 5",
      "SexType": 0,
      "PassengerType": 0,
      "ContactPhone": "sample string 6"
    }
  ],
  "OrderExpands": [
    {
      "ID": "6ae8a6a5-3d30-4340-a383-1c561c4e991e",
      "OrderId": "bf424e46-ae3e-4531-8dcb-17eefd64adb3",
      "SettingKey": "sample string 3",
      "SettingValue": "sample string 4"
    },
    {
      "ID": "6ae8a6a5-3d30-4340-a383-1c561c4e991e",
      "OrderId": "bf424e46-ae3e-4531-8dcb-17eefd64adb3",
      "SettingKey": "sample string 3",
      "SettingValue": "sample string 4"
    }
  ],
  "OrderPayments": [
    {
      "RecordType": 0,
      "Creater": "sample string 1",
      "Time": "2024-12-24T03:18:48.1484842+08:00",
      "ID": "40e3fcc3-50a9-40e1-a994-6bb870699410",
      "OrderId": "41a7b60e-b1b0-4bdc-b933-e5904db83951",
      "PaymentType": 0,
      "TotalPrice": 5.1,
      "TransactionId": "sample string 6",
      "Reconciled": true,
      "Remarks": "sample string 8"
    },
    {
      "RecordType": 0,
      "Creater": "sample string 1",
      "Time": "2024-12-24T03:18:48.1484842+08:00",
      "ID": "40e3fcc3-50a9-40e1-a994-6bb870699410",
      "OrderId": "41a7b60e-b1b0-4bdc-b933-e5904db83951",
      "PaymentType": 0,
      "TotalPrice": 5.1,
      "TransactionId": "sample string 6",
      "Reconciled": true,
      "Remarks": "sample string 8"
    }
  ],
  "OSegments": [
    {
      "Time": "2024-12-24T03:18:48.1484842+08:00",
      "ID": "14690a9f-e6a6-4240-99be-122e87c13750",
      "OrderId": "bb5c976d-8eba-4795-961d-c8be5daf90dd",
      "Sequence": 4,
      "Carrier": "sample string 5",
      "DepartureAirport": "sample string 6",
      "ArrivalAirport": "sample string 7",
      "DepartureDate": "2024-12-24T03:18:48.1484842+08:00",
      "ArrivalDate": "2024-12-24T03:18:48.1484842+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-24T03:18:48.1484842+08:00",
      "ID": "14690a9f-e6a6-4240-99be-122e87c13750",
      "OrderId": "bb5c976d-8eba-4795-961d-c8be5daf90dd",
      "Sequence": 4,
      "Carrier": "sample string 5",
      "DepartureAirport": "sample string 6",
      "ArrivalAirport": "sample string 7",
      "DepartureDate": "2024-12-24T03:18:48.1484842+08:00",
      "ArrivalDate": "2024-12-24T03:18:48.1484842+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": "dbedd716-fda2-43b3-858b-d12b7a0de203",
    "ProviderCode": "sample string 2",
    "PriceChangeInterval": 3
  },
  "QuotationSources": {
    "Time": "2024-12-24T03:18:48.1484842+08:00",
    "ID": "e4580b94-24ab-4bfe-be99-363b32bf06f1",
    "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-24T03:18:48.1484842+08:00",
  "Creater": "sample string 3",
  "ID": "6156ce0b-e3cf-49f2-af59-6f35ba42952a",
  "SiteId": "sample string 5",
  "OrderExternalNumber": "sample string 6",
  "LatestTime": "2024-12-24T03:18:48.1484842+08:00",
  "ExternalTime": "2024-12-24T03:18:48.1484842+08:00"
}