POST Api/Invoke/GetOPassengers

获取乘客列表(含票号,含报价)

Request Information

URI Parameters

None.

Body Parameters

乘机人ID

Collection of globally unique identifier

Request Formats

application/json, text/json

Sample:
[
  "1e6eb310-e758-4302-8700-a7d46a225813",
  "e7ff9660-8d5c-46cc-983e-3b6165c63cbb"
]

Response Information

Resource Description

获取乘客列表(含票号,含报价)

Collection of SpeedPower.Utility.Models.Project.Orders.Service.ParentOPassengerModel
NameDescriptionTypeAdditional information
TicketNumbers

乘客票号列表

Collection of SpeedPower.Utility.Models.Project.Orders.Service.GetTicketNumberModel

None.

OTotalPrices

乘客价格列表

Collection of SpeedPower.Utility.Models.Project.Orders.Service.GetOTotalPriceModel

None.

Time

添加时间

date

None.

ID

设置ID

globally unique identifier

None.

OrderId

父级ID

globally unique identifier

None.

Name

乘客姓名

string

Required

String length: inclusive between 0 and 128

Birthday

出生日期(可为空)

date

None.

CardType

证件类型

SpeedPower.Utility.Models.Service.Eterms.Enums.PassengerCardType

None.

CardNo

证件号

string

Required

String length: inclusive between 0 and 50

SexType

乘客性别

SpeedPower.Utility.Models.Service.Eterms.Enums.PassengerSexType

None.

PassengerType

乘客类型

SpeedPower.Utility.Models.Service.Eterms.Enums.PassengerType

None.

ContactPhone

联系电话

string

String length: inclusive between 0 and 20

Response Formats

application/json, text/json

Sample:
[
  {
    "TicketNumbers": [
      {
        "RecordType": 0,
        "Creater": "sample string 1",
        "Time": "2026-05-09T19:34:33.3868228+08:00",
        "ID": "ab984161-a511-4ba8-8c09-d91297d968ab",
        "PassengerId": "57ac3512-15cd-4a58-b176-9bbf1ba815bb",
        "TicketNumber": "sample string 5",
        "Posted": true,
        "Remarks": "sample string 7"
      },
      {
        "RecordType": 0,
        "Creater": "sample string 1",
        "Time": "2026-05-09T19:34:33.3868228+08:00",
        "ID": "ab984161-a511-4ba8-8c09-d91297d968ab",
        "PassengerId": "57ac3512-15cd-4a58-b176-9bbf1ba815bb",
        "TicketNumber": "sample string 5",
        "Posted": true,
        "Remarks": "sample string 7"
      }
    ],
    "OTotalPrices": [
      {
        "Time": "2026-05-09T19:34:33.3868228+08:00",
        "ID": "4bb2a88d-0805-451e-86f8-f5cd4dfa055d",
        "PassengerId": "cf1f4152-890e-499d-b763-eccf5162d858",
        "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-05-09T19:34:33.3868228+08:00",
        "ID": "4bb2a88d-0805-451e-86f8-f5cd4dfa055d",
        "PassengerId": "cf1f4152-890e-499d-b763-eccf5162d858",
        "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-05-09T19:34:33.3868228+08:00",
    "ID": "27afc61c-1716-48e2-b856-20d9b0cbeba2",
    "OrderId": "88d509a6-621d-44ba-8f6d-57723ed98d41",
    "Name": "sample string 4",
    "Birthday": "2026-05-09T19:34:33.3868228+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-05-09T19:34:33.3868228+08:00",
        "ID": "ab984161-a511-4ba8-8c09-d91297d968ab",
        "PassengerId": "57ac3512-15cd-4a58-b176-9bbf1ba815bb",
        "TicketNumber": "sample string 5",
        "Posted": true,
        "Remarks": "sample string 7"
      },
      {
        "RecordType": 0,
        "Creater": "sample string 1",
        "Time": "2026-05-09T19:34:33.3868228+08:00",
        "ID": "ab984161-a511-4ba8-8c09-d91297d968ab",
        "PassengerId": "57ac3512-15cd-4a58-b176-9bbf1ba815bb",
        "TicketNumber": "sample string 5",
        "Posted": true,
        "Remarks": "sample string 7"
      }
    ],
    "OTotalPrices": [
      {
        "Time": "2026-05-09T19:34:33.3868228+08:00",
        "ID": "4bb2a88d-0805-451e-86f8-f5cd4dfa055d",
        "PassengerId": "cf1f4152-890e-499d-b763-eccf5162d858",
        "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-05-09T19:34:33.3868228+08:00",
        "ID": "4bb2a88d-0805-451e-86f8-f5cd4dfa055d",
        "PassengerId": "cf1f4152-890e-499d-b763-eccf5162d858",
        "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-05-09T19:34:33.3868228+08:00",
    "ID": "27afc61c-1716-48e2-b856-20d9b0cbeba2",
    "OrderId": "88d509a6-621d-44ba-8f6d-57723ed98d41",
    "Name": "sample string 4",
    "Birthday": "2026-05-09T19:34:33.3868228+08:00",
    "CardType": 0,
    "CardNo": "sample string 5",
    "SexType": 0,
    "PassengerType": 0,
    "ContactPhone": "sample string 6"
  }
]