POST Api/Invoke/GetOPassengers

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

Request Information

URI Parameters

None.

Body Parameters

乘机人ID

Collection of globally unique identifier

Request Formats

application/json, text/json

Sample:
[
  "5412b066-b3c9-4b14-96a3-3e0c9c1c0edb",
  "be5f004d-790b-47e2-bdaf-a0d20965275d"
]

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-03-25T04:05:58.3569196+08:00",
        "ID": "3df8c4f4-285d-4051-acd3-e21122ac8dc6",
        "PassengerId": "8e3aafc8-0c34-40b7-8321-ab80c7948fd3",
        "TicketNumber": "sample string 5",
        "Posted": true,
        "Remarks": "sample string 7"
      },
      {
        "RecordType": 0,
        "Creater": "sample string 1",
        "Time": "2026-03-25T04:05:58.3569196+08:00",
        "ID": "3df8c4f4-285d-4051-acd3-e21122ac8dc6",
        "PassengerId": "8e3aafc8-0c34-40b7-8321-ab80c7948fd3",
        "TicketNumber": "sample string 5",
        "Posted": true,
        "Remarks": "sample string 7"
      }
    ],
    "OTotalPrices": [
      {
        "Time": "2026-03-25T04:05:58.3569196+08:00",
        "ID": "60957ae6-640c-4b59-9367-f84db3477bd5",
        "PassengerId": "a090506a-935d-4553-b809-ef871a7331ef",
        "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-03-25T04:05:58.3569196+08:00",
        "ID": "60957ae6-640c-4b59-9367-f84db3477bd5",
        "PassengerId": "a090506a-935d-4553-b809-ef871a7331ef",
        "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-03-25T04:05:58.3569196+08:00",
    "ID": "65b4967f-9292-4830-859c-8a056b5e4c47",
    "OrderId": "5b308e5b-89f6-4fbb-a09b-86f6f7b94481",
    "Name": "sample string 4",
    "Birthday": "2026-03-25T04:05:58.3569196+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-03-25T04:05:58.3569196+08:00",
        "ID": "3df8c4f4-285d-4051-acd3-e21122ac8dc6",
        "PassengerId": "8e3aafc8-0c34-40b7-8321-ab80c7948fd3",
        "TicketNumber": "sample string 5",
        "Posted": true,
        "Remarks": "sample string 7"
      },
      {
        "RecordType": 0,
        "Creater": "sample string 1",
        "Time": "2026-03-25T04:05:58.3569196+08:00",
        "ID": "3df8c4f4-285d-4051-acd3-e21122ac8dc6",
        "PassengerId": "8e3aafc8-0c34-40b7-8321-ab80c7948fd3",
        "TicketNumber": "sample string 5",
        "Posted": true,
        "Remarks": "sample string 7"
      }
    ],
    "OTotalPrices": [
      {
        "Time": "2026-03-25T04:05:58.3569196+08:00",
        "ID": "60957ae6-640c-4b59-9367-f84db3477bd5",
        "PassengerId": "a090506a-935d-4553-b809-ef871a7331ef",
        "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-03-25T04:05:58.3569196+08:00",
        "ID": "60957ae6-640c-4b59-9367-f84db3477bd5",
        "PassengerId": "a090506a-935d-4553-b809-ef871a7331ef",
        "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-03-25T04:05:58.3569196+08:00",
    "ID": "65b4967f-9292-4830-859c-8a056b5e4c47",
    "OrderId": "5b308e5b-89f6-4fbb-a09b-86f6f7b94481",
    "Name": "sample string 4",
    "Birthday": "2026-03-25T04:05:58.3569196+08:00",
    "CardType": 0,
    "CardNo": "sample string 5",
    "SexType": 0,
    "PassengerType": 0,
    "ContactPhone": "sample string 6"
  }
]