POST Api/Invoke/GetOPassengers

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

Request Information

URI Parameters

None.

Body Parameters

乘机人ID

Collection of globally unique identifier

Request Formats

application/json, text/json

Sample:
[
  "9f0c21d0-d38b-4789-a020-37d02f7a0018",
  "c6dc9a7b-0d70-41ad-a988-3e2670d884b7"
]

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-06-24T05:32:12.0178344+08:00",
        "ID": "a9ca8638-eff4-4a95-a234-5d734b7e9b96",
        "PassengerId": "be56dacc-0d6a-4540-935e-970b07dc5b97",
        "TicketNumber": "sample string 5",
        "Posted": true,
        "Remarks": "sample string 7"
      },
      {
        "RecordType": 0,
        "Creater": "sample string 1",
        "Time": "2026-06-24T05:32:12.0178344+08:00",
        "ID": "a9ca8638-eff4-4a95-a234-5d734b7e9b96",
        "PassengerId": "be56dacc-0d6a-4540-935e-970b07dc5b97",
        "TicketNumber": "sample string 5",
        "Posted": true,
        "Remarks": "sample string 7"
      }
    ],
    "OTotalPrices": [
      {
        "Time": "2026-06-24T05:32:12.0178344+08:00",
        "ID": "963acb7d-31d5-4ced-83ad-d6acc54f3dfa",
        "PassengerId": "b800c22d-2b65-4ea6-8ec3-6f235648ae3c",
        "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-24T05:32:12.0178344+08:00",
        "ID": "963acb7d-31d5-4ced-83ad-d6acc54f3dfa",
        "PassengerId": "b800c22d-2b65-4ea6-8ec3-6f235648ae3c",
        "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-24T05:32:12.0178344+08:00",
    "ID": "113c0a79-f4fe-4504-b29f-3c73ebb0a848",
    "OrderId": "83347be8-e65c-4c23-aa57-fbf6fb8ae2c2",
    "Name": "sample string 4",
    "Birthday": "2026-06-24T05:32:12.0178344+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-24T05:32:12.0178344+08:00",
        "ID": "a9ca8638-eff4-4a95-a234-5d734b7e9b96",
        "PassengerId": "be56dacc-0d6a-4540-935e-970b07dc5b97",
        "TicketNumber": "sample string 5",
        "Posted": true,
        "Remarks": "sample string 7"
      },
      {
        "RecordType": 0,
        "Creater": "sample string 1",
        "Time": "2026-06-24T05:32:12.0178344+08:00",
        "ID": "a9ca8638-eff4-4a95-a234-5d734b7e9b96",
        "PassengerId": "be56dacc-0d6a-4540-935e-970b07dc5b97",
        "TicketNumber": "sample string 5",
        "Posted": true,
        "Remarks": "sample string 7"
      }
    ],
    "OTotalPrices": [
      {
        "Time": "2026-06-24T05:32:12.0178344+08:00",
        "ID": "963acb7d-31d5-4ced-83ad-d6acc54f3dfa",
        "PassengerId": "b800c22d-2b65-4ea6-8ec3-6f235648ae3c",
        "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-24T05:32:12.0178344+08:00",
        "ID": "963acb7d-31d5-4ced-83ad-d6acc54f3dfa",
        "PassengerId": "b800c22d-2b65-4ea6-8ec3-6f235648ae3c",
        "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-24T05:32:12.0178344+08:00",
    "ID": "113c0a79-f4fe-4504-b29f-3c73ebb0a848",
    "OrderId": "83347be8-e65c-4c23-aa57-fbf6fb8ae2c2",
    "Name": "sample string 4",
    "Birthday": "2026-06-24T05:32:12.0178344+08:00",
    "CardType": 0,
    "CardNo": "sample string 5",
    "SexType": 0,
    "PassengerType": 0,
    "ContactPhone": "sample string 6"
  }
]