POST Api/Invoke/GetOPassengers
获取乘客列表(含票号,含报价)
Request Information
URI Parameters
None.
Body Parameters
乘机人ID
Collection of globally unique identifierRequest Formats
application/json, text/json
Sample:
[ "c94ad9c4-2816-46b7-bd59-a23e08a944bf", "a097bfc5-b69c-4b96-914c-f63255dd1096" ]
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-10-22T16:46:05.3801954+08:00", "ID": "22b43a27-b1df-4394-b6ee-2903ef318bba", "PassengerId": "601c5b0e-c305-4ad5-8566-a20fb76db168", "TicketNumber": "sample string 5", "Posted": true, "Remarks": "sample string 7" }, { "RecordType": 0, "Creater": "sample string 1", "Time": "2024-10-22T16:46:05.3801954+08:00", "ID": "22b43a27-b1df-4394-b6ee-2903ef318bba", "PassengerId": "601c5b0e-c305-4ad5-8566-a20fb76db168", "TicketNumber": "sample string 5", "Posted": true, "Remarks": "sample string 7" } ], "OTotalPrices": [ { "Time": "2024-10-22T16:46:05.3801954+08:00", "ID": "03180a9f-1572-44cb-ae84-9b1f645e07f9", "PassengerId": "1f258475-1a87-4dce-a119-135d8ba918d9", "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-10-22T16:46:05.3801954+08:00", "ID": "03180a9f-1572-44cb-ae84-9b1f645e07f9", "PassengerId": "1f258475-1a87-4dce-a119-135d8ba918d9", "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-10-22T16:46:05.3801954+08:00", "ID": "3f14c281-9ed4-495e-a32c-4dcd5c8c5197", "OrderId": "e15941ce-8f3e-4698-8ac5-52daf2e99b81", "Name": "sample string 4", "Birthday": "2024-10-22T16:46:05.3801954+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-10-22T16:46:05.3801954+08:00", "ID": "22b43a27-b1df-4394-b6ee-2903ef318bba", "PassengerId": "601c5b0e-c305-4ad5-8566-a20fb76db168", "TicketNumber": "sample string 5", "Posted": true, "Remarks": "sample string 7" }, { "RecordType": 0, "Creater": "sample string 1", "Time": "2024-10-22T16:46:05.3801954+08:00", "ID": "22b43a27-b1df-4394-b6ee-2903ef318bba", "PassengerId": "601c5b0e-c305-4ad5-8566-a20fb76db168", "TicketNumber": "sample string 5", "Posted": true, "Remarks": "sample string 7" } ], "OTotalPrices": [ { "Time": "2024-10-22T16:46:05.3801954+08:00", "ID": "03180a9f-1572-44cb-ae84-9b1f645e07f9", "PassengerId": "1f258475-1a87-4dce-a119-135d8ba918d9", "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-10-22T16:46:05.3801954+08:00", "ID": "03180a9f-1572-44cb-ae84-9b1f645e07f9", "PassengerId": "1f258475-1a87-4dce-a119-135d8ba918d9", "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-10-22T16:46:05.3801954+08:00", "ID": "3f14c281-9ed4-495e-a32c-4dcd5c8c5197", "OrderId": "e15941ce-8f3e-4698-8ac5-52daf2e99b81", "Name": "sample string 4", "Birthday": "2024-10-22T16:46:05.3801954+08:00", "CardType": 0, "CardNo": "sample string 5", "SexType": 0, "PassengerType": 0, "ContactPhone": "sample string 6" } ]