POST Api/Invoke/GetOPassengers
获取乘客列表(含票号,含报价)
Request Information
URI Parameters
None.
Body Parameters
乘机人ID
Collection of globally unique identifierRequest Formats
application/json, text/json
Sample:
[ "5bf7b3e7-c188-43ad-9305-60a993494370", "a0a44ccd-9303-4313-84f1-c9aba5bb721a" ]
Response Information
Resource Description
获取乘客列表(含票号,含报价)
Collection of SpeedPower.Utility.Models.Project.Orders.Service.ParentOPassengerModel| Name | Description | Type | Additional 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": "2025-12-18T09:51:00.6037207+08:00",
"ID": "f17a1e64-a108-4f99-a351-22ba4ab983ab",
"PassengerId": "dc1dfb56-b9e7-42e6-814b-d2bcf2a612e4",
"TicketNumber": "sample string 5",
"Posted": true,
"Remarks": "sample string 7"
},
{
"RecordType": 0,
"Creater": "sample string 1",
"Time": "2025-12-18T09:51:00.6037207+08:00",
"ID": "f17a1e64-a108-4f99-a351-22ba4ab983ab",
"PassengerId": "dc1dfb56-b9e7-42e6-814b-d2bcf2a612e4",
"TicketNumber": "sample string 5",
"Posted": true,
"Remarks": "sample string 7"
}
],
"OTotalPrices": [
{
"Time": "2025-12-18T09:51:00.6037207+08:00",
"ID": "5c96d097-d950-451a-a4ad-27d42fa60366",
"PassengerId": "39fbf5cd-fd88-4e07-baec-66d9213a16c3",
"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-12-18T09:51:00.6037207+08:00",
"ID": "5c96d097-d950-451a-a4ad-27d42fa60366",
"PassengerId": "39fbf5cd-fd88-4e07-baec-66d9213a16c3",
"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-12-18T09:51:00.6037207+08:00",
"ID": "c53561a2-f251-4ef0-8f6c-f4af88c449a6",
"OrderId": "fa240d2f-419d-449c-a68a-cb9347af7806",
"Name": "sample string 4",
"Birthday": "2025-12-18T09:51:00.6037207+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-12-18T09:51:00.6037207+08:00",
"ID": "f17a1e64-a108-4f99-a351-22ba4ab983ab",
"PassengerId": "dc1dfb56-b9e7-42e6-814b-d2bcf2a612e4",
"TicketNumber": "sample string 5",
"Posted": true,
"Remarks": "sample string 7"
},
{
"RecordType": 0,
"Creater": "sample string 1",
"Time": "2025-12-18T09:51:00.6037207+08:00",
"ID": "f17a1e64-a108-4f99-a351-22ba4ab983ab",
"PassengerId": "dc1dfb56-b9e7-42e6-814b-d2bcf2a612e4",
"TicketNumber": "sample string 5",
"Posted": true,
"Remarks": "sample string 7"
}
],
"OTotalPrices": [
{
"Time": "2025-12-18T09:51:00.6037207+08:00",
"ID": "5c96d097-d950-451a-a4ad-27d42fa60366",
"PassengerId": "39fbf5cd-fd88-4e07-baec-66d9213a16c3",
"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-12-18T09:51:00.6037207+08:00",
"ID": "5c96d097-d950-451a-a4ad-27d42fa60366",
"PassengerId": "39fbf5cd-fd88-4e07-baec-66d9213a16c3",
"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-12-18T09:51:00.6037207+08:00",
"ID": "c53561a2-f251-4ef0-8f6c-f4af88c449a6",
"OrderId": "fa240d2f-419d-449c-a68a-cb9347af7806",
"Name": "sample string 4",
"Birthday": "2025-12-18T09:51:00.6037207+08:00",
"CardType": 0,
"CardNo": "sample string 5",
"SexType": 0,
"PassengerType": 0,
"ContactPhone": "sample string 6"
}
]