POST Api/Invoke/GetOPassengers
获取乘客列表(含票号,含报价)
Request Information
URI Parameters
None.
Body Parameters
乘机人ID
Collection of globally unique identifierRequest Formats
application/json, text/json
Sample:
[ "c8227870-b695-446e-a667-e83a276dc23c", "2daad156-de34-4b84-8651-d32c8605d2e9" ]
Response Information
Resource Description
获取乘客列表(含票号,含报价)
Collection of SpeedPower.Utility.Models.Project.Orders.Service.ParentOPassengerModelName | 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": "2024-12-24T03:33:09.5118043+08:00", "ID": "aa230848-b456-4010-8ae6-e45dad2624fd", "PassengerId": "3d72d54d-4cf1-462c-97cb-b10df13ac040", "TicketNumber": "sample string 5", "Posted": true, "Remarks": "sample string 7" }, { "RecordType": 0, "Creater": "sample string 1", "Time": "2024-12-24T03:33:09.5118043+08:00", "ID": "aa230848-b456-4010-8ae6-e45dad2624fd", "PassengerId": "3d72d54d-4cf1-462c-97cb-b10df13ac040", "TicketNumber": "sample string 5", "Posted": true, "Remarks": "sample string 7" } ], "OTotalPrices": [ { "Time": "2024-12-24T03:33:09.5118043+08:00", "ID": "d7848827-9432-4abd-a1f1-da9de0a56f4f", "PassengerId": "4daa24eb-6381-45d3-b03d-d01a687bb720", "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": "2024-12-24T03:33:09.5118043+08:00", "ID": "d7848827-9432-4abd-a1f1-da9de0a56f4f", "PassengerId": "4daa24eb-6381-45d3-b03d-d01a687bb720", "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": "2024-12-24T03:33:09.5118043+08:00", "ID": "1061c083-fb35-432b-8552-a1b3059a7ec0", "OrderId": "d611bbf6-80ab-411c-a4ac-09f7a28114a3", "Name": "sample string 4", "Birthday": "2024-12-24T03:33:09.5118043+08:00", "CardType": 0, "CardNo": "sample string 5", "SexType": 0, "PassengerType": 0, "ContactPhone": "sample string 6" }, { "TicketNumbers": [ { "RecordType": 0, "Creater": "sample string 1", "Time": "2024-12-24T03:33:09.5118043+08:00", "ID": "aa230848-b456-4010-8ae6-e45dad2624fd", "PassengerId": "3d72d54d-4cf1-462c-97cb-b10df13ac040", "TicketNumber": "sample string 5", "Posted": true, "Remarks": "sample string 7" }, { "RecordType": 0, "Creater": "sample string 1", "Time": "2024-12-24T03:33:09.5118043+08:00", "ID": "aa230848-b456-4010-8ae6-e45dad2624fd", "PassengerId": "3d72d54d-4cf1-462c-97cb-b10df13ac040", "TicketNumber": "sample string 5", "Posted": true, "Remarks": "sample string 7" } ], "OTotalPrices": [ { "Time": "2024-12-24T03:33:09.5118043+08:00", "ID": "d7848827-9432-4abd-a1f1-da9de0a56f4f", "PassengerId": "4daa24eb-6381-45d3-b03d-d01a687bb720", "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": "2024-12-24T03:33:09.5118043+08:00", "ID": "d7848827-9432-4abd-a1f1-da9de0a56f4f", "PassengerId": "4daa24eb-6381-45d3-b03d-d01a687bb720", "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": "2024-12-24T03:33:09.5118043+08:00", "ID": "1061c083-fb35-432b-8552-a1b3059a7ec0", "OrderId": "d611bbf6-80ab-411c-a4ac-09f7a28114a3", "Name": "sample string 4", "Birthday": "2024-12-24T03:33:09.5118043+08:00", "CardType": 0, "CardNo": "sample string 5", "SexType": 0, "PassengerType": 0, "ContactPhone": "sample string 6" } ]