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": "2025-09-18T17:17:37.3415924+08:00",
      "ID": "9aed3e87-98a4-4468-bd29-032f7448f5db",
      "OrderId": "fbc43ebb-370f-4d70-b71a-464f9a920024",
      "ContactUser": "sample string 4",
      "ContactPhone": "sample string 5"
    },
    {
      "Time": "2025-09-18T17:17:37.3415924+08:00",
      "ID": "9aed3e87-98a4-4468-bd29-032f7448f5db",
      "OrderId": "fbc43ebb-370f-4d70-b71a-464f9a920024",
      "ContactUser": "sample string 4",
      "ContactPhone": "sample string 5"
    }
  ],
  "PurchaseRoutes": [
    {
      "Creater": "sample string 1",
      "Time": "2025-09-18T17:17:37.3415924+08:00",
      "ID": "3eae5728-f447-4eb5-829a-e2ef1a75c2da",
      "OrderId": "c20ecd9b-8455-4234-b2be-3fe5b558a41b",
      "PurchaseTag": "sample string 5",
      "Remarks": "sample string 6"
    },
    {
      "Creater": "sample string 1",
      "Time": "2025-09-18T17:17:37.3415924+08:00",
      "ID": "3eae5728-f447-4eb5-829a-e2ef1a75c2da",
      "OrderId": "c20ecd9b-8455-4234-b2be-3fe5b558a41b",
      "PurchaseTag": "sample string 5",
      "Remarks": "sample string 6"
    }
  ],
  "OPassengers": [
    {
      "TicketNumbers": [
        {
          "RecordType": 0,
          "Creater": "sample string 1",
          "Time": "2025-09-18T17:17:37.3415924+08:00",
          "ID": "9e8044d7-d377-431e-9b32-c92236b6e0f1",
          "PassengerId": "7dfdf554-7304-40c4-958c-3c340655c534",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        },
        {
          "RecordType": 0,
          "Creater": "sample string 1",
          "Time": "2025-09-18T17:17:37.3415924+08:00",
          "ID": "9e8044d7-d377-431e-9b32-c92236b6e0f1",
          "PassengerId": "7dfdf554-7304-40c4-958c-3c340655c534",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        }
      ],
      "OTotalPrices": [
        {
          "Time": "2025-09-18T17:17:37.3415924+08:00",
          "ID": "1b82e24f-ffde-4e8c-b6b8-d5f2c35d912e",
          "PassengerId": "be262254-bed3-4db2-ad6c-f215c56f2302",
          "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": "2025-09-18T17:17:37.3415924+08:00",
          "ID": "1b82e24f-ffde-4e8c-b6b8-d5f2c35d912e",
          "PassengerId": "be262254-bed3-4db2-ad6c-f215c56f2302",
          "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": "2025-09-18T17:17:37.3415924+08:00",
      "ID": "7b5f1f2c-71d6-472d-8ada-c513a2e711f0",
      "OrderId": "7fdc844c-4c9d-434d-928e-5b583a4258e1",
      "Name": "sample string 4",
      "Birthday": "2025-09-18T17:17:37.3415924+08:00",
      "CardType": 0,
      "CardNo": "sample string 5",
      "SexType": 0,
      "PassengerType": 0,
      "ContactPhone": "sample string 6"
    },
    {
      "TicketNumbers": [
        {
          "RecordType": 0,
          "Creater": "sample string 1",
          "Time": "2025-09-18T17:17:37.3415924+08:00",
          "ID": "9e8044d7-d377-431e-9b32-c92236b6e0f1",
          "PassengerId": "7dfdf554-7304-40c4-958c-3c340655c534",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        },
        {
          "RecordType": 0,
          "Creater": "sample string 1",
          "Time": "2025-09-18T17:17:37.3415924+08:00",
          "ID": "9e8044d7-d377-431e-9b32-c92236b6e0f1",
          "PassengerId": "7dfdf554-7304-40c4-958c-3c340655c534",
          "TicketNumber": "sample string 5",
          "Posted": true,
          "Remarks": "sample string 7"
        }
      ],
      "OTotalPrices": [
        {
          "Time": "2025-09-18T17:17:37.3415924+08:00",
          "ID": "1b82e24f-ffde-4e8c-b6b8-d5f2c35d912e",
          "PassengerId": "be262254-bed3-4db2-ad6c-f215c56f2302",
          "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": "2025-09-18T17:17:37.3415924+08:00",
          "ID": "1b82e24f-ffde-4e8c-b6b8-d5f2c35d912e",
          "PassengerId": "be262254-bed3-4db2-ad6c-f215c56f2302",
          "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": "2025-09-18T17:17:37.3415924+08:00",
      "ID": "7b5f1f2c-71d6-472d-8ada-c513a2e711f0",
      "OrderId": "7fdc844c-4c9d-434d-928e-5b583a4258e1",
      "Name": "sample string 4",
      "Birthday": "2025-09-18T17:17:37.3415924+08:00",
      "CardType": 0,
      "CardNo": "sample string 5",
      "SexType": 0,
      "PassengerType": 0,
      "ContactPhone": "sample string 6"
    }
  ],
  "OrderExpands": [
    {
      "ID": "3782decc-1c4f-421b-9a8e-e92cb4f64981",
      "OrderId": "7b552179-3587-493c-9c26-a16fd6f337b9",
      "SettingKey": "sample string 3",
      "SettingValue": "sample string 4"
    },
    {
      "ID": "3782decc-1c4f-421b-9a8e-e92cb4f64981",
      "OrderId": "7b552179-3587-493c-9c26-a16fd6f337b9",
      "SettingKey": "sample string 3",
      "SettingValue": "sample string 4"
    }
  ],
  "OrderPayments": [
    {
      "RecordType": 0,
      "Creater": "sample string 1",
      "Time": "2025-09-18T17:17:37.3415924+08:00",
      "ID": "07e50ba1-f344-45ff-b291-47ef1be3007c",
      "OrderId": "5a1f1504-bfcd-433d-9d41-6e5620dee77a",
      "PaymentType": 0,
      "TotalPrice": 5.1,
      "TransactionId": "sample string 6",
      "Reconciled": true,
      "Remarks": "sample string 8"
    },
    {
      "RecordType": 0,
      "Creater": "sample string 1",
      "Time": "2025-09-18T17:17:37.3415924+08:00",
      "ID": "07e50ba1-f344-45ff-b291-47ef1be3007c",
      "OrderId": "5a1f1504-bfcd-433d-9d41-6e5620dee77a",
      "PaymentType": 0,
      "TotalPrice": 5.1,
      "TransactionId": "sample string 6",
      "Reconciled": true,
      "Remarks": "sample string 8"
    }
  ],
  "OSegments": [
    {
      "Time": "2025-09-18T17:17:37.3415924+08:00",
      "ID": "f405ac67-ef31-4ef9-9327-9a6d58f662af",
      "OrderId": "3ea85791-9be0-4753-8306-2ccb51b9b819",
      "Sequence": 4,
      "Carrier": "sample string 5",
      "DepartureAirport": "sample string 6",
      "ArrivalAirport": "sample string 7",
      "DepartureDate": "2025-09-18T17:17:37.3415924+08:00",
      "ArrivalDate": "2025-09-18T17:17:37.3415924+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": "2025-09-18T17:17:37.3415924+08:00",
      "ID": "f405ac67-ef31-4ef9-9327-9a6d58f662af",
      "OrderId": "3ea85791-9be0-4753-8306-2ccb51b9b819",
      "Sequence": 4,
      "Carrier": "sample string 5",
      "DepartureAirport": "sample string 6",
      "ArrivalAirport": "sample string 7",
      "DepartureDate": "2025-09-18T17:17:37.3415924+08:00",
      "ArrivalDate": "2025-09-18T17:17:37.3415924+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": "eb5f4272-91f8-4d55-820f-e00182d85b77",
    "ProviderCode": "sample string 2",
    "PriceChangeInterval": 3
  },
  "QuotationSources": {
    "Time": "2025-09-18T17:17:37.3415924+08:00",
    "ID": "72e4bfa0-4e15-482a-86b7-52cc39bd9ec5",
    "Remarks": "sample string 3",
    "QuotationId": "sample string 4",
    "ProductMark": "sample string 5",
    "Creater": "sample string 6"
  },
  "OrderInternalNumber": "sample string 1",
  "OrderSource": 0,
  "InternalTime": "2025-09-18T17:17:37.3415924+08:00",
  "Creater": "sample string 3",
  "ID": "ed66f3c2-f4c7-48cb-8fe5-c6530d718e4b",
  "SiteId": "sample string 5",
  "OrderExternalNumber": "sample string 6",
  "LatestTime": "2025-09-18T17:17:37.3415924+08:00",
  "ExternalTime": "2025-09-18T17:17:37.3415924+08:00"
}