POST Api/Service/Order/ManualPurchaseChanged
手动采购单改签询价/确认
Request Information
URI Parameters
None.
Body Parameters
请求模型
SpeedPower.Utility.Models.Project.Orders.Service.Automatic.ManualPurchaseChangedRequestModelName | Description | Type | Additional information |
---|---|---|---|
PurchaseId |
采购单ID |
globally unique identifier |
None. |
Confirmed |
是否为确认改签操作 |
boolean |
None. |
LinkedId |
改签单关联ID |
globally unique identifier |
None. |
SettingKey |
数据源扩展Key |
string |
Required String length: inclusive between 0 and 500 |
SettingValue |
数据源扩展Value |
string |
Required |
PassengerIds |
乘机人选择项(为空列表则默认为所有当前采购单乘客) |
Collection of globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "PurchaseId": "27031fb0-ca6f-4e04-87cd-233efa70df1f", "Confirmed": true, "LinkedId": "cbdc1e01-1f55-4e3f-8a1c-148f24c1c40f", "SettingKey": "sample string 3", "SettingValue": "sample string 4", "PassengerIds": [ "01ed03a3-1e98-4ebe-999f-099f00fb04ae", "0b9b2e8a-4979-495b-9aa2-edfcb4dcb471" ] }
Response Information
Resource Description
手动采购单改签询价/确认
SpeedPower.Utility.Models.Project.Orders.Service.Automatic.AutoPurchaseChangedResponseModelName | Description | Type | Additional information |
---|---|---|---|
ErrorType |
错误类型(可为NULL) |
SpeedPower.Utility.Models.Project.Orders.Service.Automatic.AutoPurchaseChangedErrorType |
None. |
Request |
请求模型返回 |
SpeedPower.Utility.Models.Project.Orders.Service.Automatic.AutoPurchaseChangedRequestModel |
None. |
PurchaseChangedPayment |
财务信息 |
SpeedPower.Utility.Models.Project.Orders.Service.Automatic.AutoPurchaseChangedPaymentResponseModel |
None. |
Succeed |
操作是否成功 |
boolean |
None. |
Message |
操作消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "ErrorType": 0, "Request": { "Confirmed": true, "FollowupId": "e3e98838-97c5-428e-8218-de959e3084f6", "LinkedId": "5680713c-5072-4187-a71d-8a871e5adf2e", "SettingKey": "sample string 3", "SettingValue": "sample string 4", "OPassengers": [ { "TicketNumbers": [ { "RecordType": 0, "Creater": "sample string 1", "Time": "2025-09-14T16:46:03.8310045+08:00", "ID": "5814fc10-be6a-4718-a019-dc75ba5f5846", "PassengerId": "aa2d7002-e3f9-4530-9f76-e44236bfd748", "TicketNumber": "sample string 5", "Posted": true, "Remarks": "sample string 7" }, { "RecordType": 0, "Creater": "sample string 1", "Time": "2025-09-14T16:46:03.8310045+08:00", "ID": "5814fc10-be6a-4718-a019-dc75ba5f5846", "PassengerId": "aa2d7002-e3f9-4530-9f76-e44236bfd748", "TicketNumber": "sample string 5", "Posted": true, "Remarks": "sample string 7" } ], "OTotalPrices": [ { "Time": "2025-09-14T16:46:03.8310045+08:00", "ID": "51a92075-b1d7-4b96-8020-79d89ecd443a", "PassengerId": "626b0c57-c613-4032-9c0b-6692fbee2818", "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-09-14T16:46:03.8310045+08:00", "ID": "51a92075-b1d7-4b96-8020-79d89ecd443a", "PassengerId": "626b0c57-c613-4032-9c0b-6692fbee2818", "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-09-14T16:46:03.8310045+08:00", "ID": "9bb1a54c-c210-4c38-9b58-e70a03f70a85", "OrderId": "f1be8a4b-dc20-4def-bcd1-00f1ee6201e3", "Name": "sample string 4", "Birthday": "2025-09-14T16:46:03.8310045+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-09-14T16:46:03.8310045+08:00", "ID": "5814fc10-be6a-4718-a019-dc75ba5f5846", "PassengerId": "aa2d7002-e3f9-4530-9f76-e44236bfd748", "TicketNumber": "sample string 5", "Posted": true, "Remarks": "sample string 7" }, { "RecordType": 0, "Creater": "sample string 1", "Time": "2025-09-14T16:46:03.8310045+08:00", "ID": "5814fc10-be6a-4718-a019-dc75ba5f5846", "PassengerId": "aa2d7002-e3f9-4530-9f76-e44236bfd748", "TicketNumber": "sample string 5", "Posted": true, "Remarks": "sample string 7" } ], "OTotalPrices": [ { "Time": "2025-09-14T16:46:03.8310045+08:00", "ID": "51a92075-b1d7-4b96-8020-79d89ecd443a", "PassengerId": "626b0c57-c613-4032-9c0b-6692fbee2818", "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-09-14T16:46:03.8310045+08:00", "ID": "51a92075-b1d7-4b96-8020-79d89ecd443a", "PassengerId": "626b0c57-c613-4032-9c0b-6692fbee2818", "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-09-14T16:46:03.8310045+08:00", "ID": "9bb1a54c-c210-4c38-9b58-e70a03f70a85", "OrderId": "f1be8a4b-dc20-4def-bcd1-00f1ee6201e3", "Name": "sample string 4", "Birthday": "2025-09-14T16:46:03.8310045+08:00", "CardType": 0, "CardNo": "sample string 5", "SexType": 0, "PassengerType": 0, "ContactPhone": "sample string 6" } ], "OSegments": [ { "Time": "2025-09-14T16:46:03.8310045+08:00", "ID": "9b967e0e-4beb-4f13-8628-b193ddefa7e4", "OrderId": "7b722a6a-21b6-4245-82d7-37206082b184", "Sequence": 4, "Carrier": "sample string 5", "DepartureAirport": "sample string 6", "ArrivalAirport": "sample string 7", "DepartureDate": "2025-09-14T16:46:03.8310045+08:00", "ArrivalDate": "2025-09-14T16:46:03.8310045+08:00", "FlightNo": "sample string 10", "CodeShare": true, "ShareToFlightNo": "sample string 12", "StopTimes": 13, "Meal": "sample string 14", "PlaneType": "sample string 15", "DepartureTerminal": "sample string 16", "ArrivalTerminal": "sample string 17" }, { "Time": "2025-09-14T16:46:03.8310045+08:00", "ID": "9b967e0e-4beb-4f13-8628-b193ddefa7e4", "OrderId": "7b722a6a-21b6-4245-82d7-37206082b184", "Sequence": 4, "Carrier": "sample string 5", "DepartureAirport": "sample string 6", "ArrivalAirport": "sample string 7", "DepartureDate": "2025-09-14T16:46:03.8310045+08:00", "ArrivalDate": "2025-09-14T16:46:03.8310045+08:00", "FlightNo": "sample string 10", "CodeShare": true, "ShareToFlightNo": "sample string 12", "StopTimes": 13, "Meal": "sample string 14", "PlaneType": "sample string 15", "DepartureTerminal": "sample string 16", "ArrivalTerminal": "sample string 17" } ], "PreviousChanged": { "ChangedPayments": [ { "RecordType": 0, "Creater": "sample string 1", "Time": "2025-09-14T16:46:03.8310045+08:00", "ID": "1adeeae7-3756-4715-b5f0-ac3f90af8ad7", "ChangedId": "b68e99d3-5468-42ac-9d35-c5a9ce1cd10b", "Confirmed": true, "Reconciled": true, "UpgradePrice": 7.1, "CostPrice": 8.1, "TransactionId": "sample string 9", "Remarks": "sample string 10" }, { "RecordType": 0, "Creater": "sample string 1", "Time": "2025-09-14T16:46:03.8310045+08:00", "ID": "1adeeae7-3756-4715-b5f0-ac3f90af8ad7", "ChangedId": "b68e99d3-5468-42ac-9d35-c5a9ce1cd10b", "Confirmed": true, "Reconciled": true, "UpgradePrice": 7.1, "CostPrice": 8.1, "TransactionId": "sample string 9", "Remarks": "sample string 10" } ], "ChangedExpands": [ { "ID": "6d7523cc-0364-4e96-9550-91347404cbf3", "ChangedId": "0b16c201-8f0c-40ae-9f2d-0e5277a7e7c1", "SettingKey": "sample string 3", "SettingValue": "sample string 4" }, { "ID": "6d7523cc-0364-4e96-9550-91347404cbf3", "ChangedId": "0b16c201-8f0c-40ae-9f2d-0e5277a7e7c1", "SettingKey": "sample string 3", "SettingValue": "sample string 4" } ], "ChangedIncludes": [ { "ID": "99ee240d-ca90-4ff6-8197-a4ee445ee55c", "ChangedId": "b513ec16-e325-46ab-b942-91ec459db697", "PassengerId": "9a1015dc-ff3f-4be8-9ba3-660b3eb60d24", "TicketNumber": "sample string 4" }, { "ID": "99ee240d-ca90-4ff6-8197-a4ee445ee55c", "ChangedId": "b513ec16-e325-46ab-b942-91ec459db697", "PassengerId": "9a1015dc-ff3f-4be8-9ba3-660b3eb60d24", "TicketNumber": "sample string 4" } ], "CSegments": [ { "Time": "2025-09-14T16:46:03.8310045+08:00", "ID": "ab06ad6f-42c3-4980-883f-8e187b741e37", "ChangedId": "aa77aca5-4ede-4115-90a6-8ce6fb528506", "Carrier": "sample string 4", "DepartureAirport": "sample string 5", "ArrivalAirport": "sample string 6", "DepartureDate": "2025-09-14T16:46:03.8310045+08:00", "ArrivalDate": "2025-09-14T16:46:03.8310045+08:00", "FlightNo": "sample string 9", "CodeShare": true, "ShareToFlightNo": "sample string 11", "CabinCode": "sample string 12", "CabinLevel": 0 }, { "Time": "2025-09-14T16:46:03.8310045+08:00", "ID": "ab06ad6f-42c3-4980-883f-8e187b741e37", "ChangedId": "aa77aca5-4ede-4115-90a6-8ce6fb528506", "Carrier": "sample string 4", "DepartureAirport": "sample string 5", "ArrivalAirport": "sample string 6", "DepartureDate": "2025-09-14T16:46:03.8310045+08:00", "ArrivalDate": "2025-09-14T16:46:03.8310045+08:00", "FlightNo": "sample string 9", "CodeShare": true, "ShareToFlightNo": "sample string 11", "CabinCode": "sample string 12", "CabinLevel": 0 } ], "ChangedInternalNumber": "sample string 1", "ChangedSource": 0, "Creater": "sample string 2", "InternalTime": "2025-09-14T16:46:03.8310045+08:00", "ID": "bce57e66-7d84-4ef0-83d9-e68bf52d14bf", "OrderId": "5910e564-8dcb-4f63-a9b4-dc3c531cb1d5", "ChangedExternalNumber": "sample string 6", "ChangedType": 0, "ChangedStyle": 0, "LatestTime": "2025-09-14T16:46:03.8310045+08:00", "Remarks": "sample string 7", "ExternalTime": "2025-09-14T16:46:03.8310045+08:00" }, "CurrentChanged": { "ChangedPayments": [ { "RecordType": 0, "Creater": "sample string 1", "Time": "2025-09-14T16:46:03.8310045+08:00", "ID": "1adeeae7-3756-4715-b5f0-ac3f90af8ad7", "ChangedId": "b68e99d3-5468-42ac-9d35-c5a9ce1cd10b", "Confirmed": true, "Reconciled": true, "UpgradePrice": 7.1, "CostPrice": 8.1, "TransactionId": "sample string 9", "Remarks": "sample string 10" }, { "RecordType": 0, "Creater": "sample string 1", "Time": "2025-09-14T16:46:03.8310045+08:00", "ID": "1adeeae7-3756-4715-b5f0-ac3f90af8ad7", "ChangedId": "b68e99d3-5468-42ac-9d35-c5a9ce1cd10b", "Confirmed": true, "Reconciled": true, "UpgradePrice": 7.1, "CostPrice": 8.1, "TransactionId": "sample string 9", "Remarks": "sample string 10" } ], "ChangedExpands": [ { "ID": "6d7523cc-0364-4e96-9550-91347404cbf3", "ChangedId": "0b16c201-8f0c-40ae-9f2d-0e5277a7e7c1", "SettingKey": "sample string 3", "SettingValue": "sample string 4" }, { "ID": "6d7523cc-0364-4e96-9550-91347404cbf3", "ChangedId": "0b16c201-8f0c-40ae-9f2d-0e5277a7e7c1", "SettingKey": "sample string 3", "SettingValue": "sample string 4" } ], "ChangedIncludes": [ { "ID": "99ee240d-ca90-4ff6-8197-a4ee445ee55c", "ChangedId": "b513ec16-e325-46ab-b942-91ec459db697", "PassengerId": "9a1015dc-ff3f-4be8-9ba3-660b3eb60d24", "TicketNumber": "sample string 4" }, { "ID": "99ee240d-ca90-4ff6-8197-a4ee445ee55c", "ChangedId": "b513ec16-e325-46ab-b942-91ec459db697", "PassengerId": "9a1015dc-ff3f-4be8-9ba3-660b3eb60d24", "TicketNumber": "sample string 4" } ], "CSegments": [ { "Time": "2025-09-14T16:46:03.8310045+08:00", "ID": "ab06ad6f-42c3-4980-883f-8e187b741e37", "ChangedId": "aa77aca5-4ede-4115-90a6-8ce6fb528506", "Carrier": "sample string 4", "DepartureAirport": "sample string 5", "ArrivalAirport": "sample string 6", "DepartureDate": "2025-09-14T16:46:03.8310045+08:00", "ArrivalDate": "2025-09-14T16:46:03.8310045+08:00", "FlightNo": "sample string 9", "CodeShare": true, "ShareToFlightNo": "sample string 11", "CabinCode": "sample string 12", "CabinLevel": 0 }, { "Time": "2025-09-14T16:46:03.8310045+08:00", "ID": "ab06ad6f-42c3-4980-883f-8e187b741e37", "ChangedId": "aa77aca5-4ede-4115-90a6-8ce6fb528506", "Carrier": "sample string 4", "DepartureAirport": "sample string 5", "ArrivalAirport": "sample string 6", "DepartureDate": "2025-09-14T16:46:03.8310045+08:00", "ArrivalDate": "2025-09-14T16:46:03.8310045+08:00", "FlightNo": "sample string 9", "CodeShare": true, "ShareToFlightNo": "sample string 11", "CabinCode": "sample string 12", "CabinLevel": 0 } ], "ChangedInternalNumber": "sample string 1", "ChangedSource": 0, "Creater": "sample string 2", "InternalTime": "2025-09-14T16:46:03.8310045+08:00", "ID": "bce57e66-7d84-4ef0-83d9-e68bf52d14bf", "OrderId": "5910e564-8dcb-4f63-a9b4-dc3c531cb1d5", "ChangedExternalNumber": "sample string 6", "ChangedType": 0, "ChangedStyle": 0, "LatestTime": "2025-09-14T16:46:03.8310045+08:00", "Remarks": "sample string 7", "ExternalTime": "2025-09-14T16:46:03.8310045+08:00" }, "PaymentAccountSetting": { "AutoPaymentAccountConfigs": [ { "ID": "556ed245-b8a1-4c76-a368-afc2b0c006e1", "AutoPaymentAccountSettingId": "b39feebd-4719-4f46-baf2-80b82f2e6a79", "SettingKey": "sample string 3", "SettingValue": "sample string 4" }, { "ID": "556ed245-b8a1-4c76-a368-afc2b0c006e1", "AutoPaymentAccountSettingId": "b39feebd-4719-4f46-baf2-80b82f2e6a79", "SettingKey": "sample string 3", "SettingValue": "sample string 4" } ], "CompanyId": "sample string 1", "LastUsedTime": "2025-09-14T16:46:03.8310045+08:00", "Time": "2025-09-14T16:46:03.8310045+08:00", "ID": "ca55ce8d-085e-41e3-87db-78dbb9c40664", "Sequence": 4, "PaymentTag": "sample string 5", "PaymentCode": "sample string 6", "Status": true, "Remarks": "sample string 8" }, "MemberSetting": { "PurchaseMemberConfigs": { "ValidBalance": 1.1, "UsedBalance": 2.1, "CurrentBalance": 3.1, "Time": "2025-09-14T16:46:03.8310045+08:00", "ID": "e4bffa05-5cd2-4d83-bf77-62a640cf2337", "Password": "sample string 6", "MinBalance": 7.1, "MaxBalance": 8.1, "Remarks": "sample string 9" }, "PurchaseMemberExpandSettings": [ { "ID": "33374113-abf1-4471-9fc9-152f69b9ec65", "PurchaseMemberSettingId": "376142f1-a549-4830-a494-978c8708acb3", "SettingKey": "sample string 3", "SettingValue": "sample string 4" }, { "ID": "33374113-abf1-4471-9fc9-152f69b9ec65", "PurchaseMemberSettingId": "376142f1-a549-4830-a494-978c8708acb3", "SettingKey": "sample string 3", "SettingValue": "sample string 4" } ], "CompanyId": "sample string 1", "LastUsedTime": "2025-09-14T16:46:03.8310045+08:00", "Time": "2025-09-14T16:46:03.8310045+08:00", "ID": "bca01cd8-6618-4f5f-a925-373d62bc4168", "UsedStatus": 0, "ProviderCode": "sample string 4", "UserName": "sample string 5", "Password": "sample string 6", "ContactUser": "sample string 7", "ContactPhone": "sample string 8", "ContactEmail": "sample string 9", "KeepTime": 10, "Remarks": "sample string 11" }, "OperationTag": { "OrderId": "44ac3f42-e302-4fa2-be46-c91372a4932f", "Creater": "sample string 2" }, "PurchaseIncludes": [ { "ID": "7fc6be8f-8d5e-4daf-b528-558d19557f15", "PurchaseOrderId": "c49c9ba0-6260-4267-bb86-e81520192bd8", "PassengerId": "c89e3634-70e2-4900-bb5d-8a868b18d66d", "TicketNumber": "sample string 4" }, { "ID": "7fc6be8f-8d5e-4daf-b528-558d19557f15", "PurchaseOrderId": "c49c9ba0-6260-4267-bb86-e81520192bd8", "PassengerId": "c89e3634-70e2-4900-bb5d-8a868b18d66d", "TicketNumber": "sample string 4" } ], "PurchaseMembers": [ { "Time": "2025-09-14T16:46:03.8310045+08:00", "ID": "5211ebca-fe57-413c-a312-8f08afc22e40", "PurchaseOrderId": "cba6f304-28a0-413a-891f-eb4741bc01da", "UserName": "sample string 4", "Password": "sample string 5", "ContactPhone": "sample string 6", "Remarks": "sample string 7", "MembersId": "sample string 8" }, { "Time": "2025-09-14T16:46:03.8310045+08:00", "ID": "5211ebca-fe57-413c-a312-8f08afc22e40", "PurchaseOrderId": "cba6f304-28a0-413a-891f-eb4741bc01da", "UserName": "sample string 4", "Password": "sample string 5", "ContactPhone": "sample string 6", "Remarks": "sample string 7", "MembersId": "sample string 8" } ], "PurchasePayables": [ { "RecordType": 0, "Creater": "sample string 1", "Time": "2025-09-14T16:46:03.8310045+08:00", "ID": "1105d54b-c3f9-4c8a-b300-7fe83410c4f2", "PurchaseOrderId": "c4aeaab2-98cf-436b-90eb-ddce25073490", "PayPrice": 5.1, "PaymentTag": "sample string 6", "PaymentCode": "sample string 7", "PaymentAccount": "sample string 8", "TransactionId": "sample string 9", "Reconciled": true, "Remarks": "sample string 11" }, { "RecordType": 0, "Creater": "sample string 1", "Time": "2025-09-14T16:46:03.8310045+08:00", "ID": "1105d54b-c3f9-4c8a-b300-7fe83410c4f2", "PurchaseOrderId": "c4aeaab2-98cf-436b-90eb-ddce25073490", "PayPrice": 5.1, "PaymentTag": "sample string 6", "PaymentCode": "sample string 7", "PaymentAccount": "sample string 8", "TransactionId": "sample string 9", "Reconciled": true, "Remarks": "sample string 11" } ], "PurchaseFollowups": [ { "PurchasePayments": { "RecordType": 0, "Creater": "sample string 1", "Time": "2025-09-14T16:46:03.8310045+08:00", "ID": "e8d0c401-221b-4e0b-b01a-72f9081cee0a", "ClaimlPrice": 4.1, "ServicePrice": 5.1, "Confirmed": true, "Reconciled": true, "TransactionId": "sample string 8", "Remarks": "sample string 9" }, "RecordType": 0, "ApplyStatus": 0, "Creater": "sample string 1", "Time": "2025-09-14T16:46:03.8310045+08:00", "ID": "759c096d-ddda-447f-8734-e0105aaebd66", "PurchaseOrderId": "467ac8da-b964-453b-a5a9-7746bccfe066", "ApplyType": 0, "Remarks": "sample string 5", "CSegmentId": "a4b1b7a5-38c7-4b24-b934-a5995d688873", "LinkedId": "fe38f9c4-cf36-44e7-9c56-cb7841d17cd9", "PassengerIds": "sample string 6" }, { "PurchasePayments": { "RecordType": 0, "Creater": "sample string 1", "Time": "2025-09-14T16:46:03.8310045+08:00", "ID": "e8d0c401-221b-4e0b-b01a-72f9081cee0a", "ClaimlPrice": 4.1, "ServicePrice": 5.1, "Confirmed": true, "Reconciled": true, "TransactionId": "sample string 8", "Remarks": "sample string 9" }, "RecordType": 0, "ApplyStatus": 0, "Creater": "sample string 1", "Time": "2025-09-14T16:46:03.8310045+08:00", "ID": "759c096d-ddda-447f-8734-e0105aaebd66", "PurchaseOrderId": "467ac8da-b964-453b-a5a9-7746bccfe066", "ApplyType": 0, "Remarks": "sample string 5", "CSegmentId": "a4b1b7a5-38c7-4b24-b934-a5995d688873", "LinkedId": "fe38f9c4-cf36-44e7-9c56-cb7841d17cd9", "PassengerIds": "sample string 6" } ], "RecordType": 0, "PaymentUri": "sample string 5", "Manual": true, "Creater": "sample string 6", "Time": "2025-09-14T16:46:03.8310045+08:00", "ID": "fc179704-7031-4293-9995-a37f2a808839", "OrderId": "a37ee219-34e4-4e58-bcda-5febcd85370a", "PurchaseOrderNumber": "sample string 10", "PurchaseOrderType": 0, "TotalPrice": 11.1, "PlatName": "sample string 12", "PurchaseTag": "sample string 13", "ProviderCode": "sample string 14", "CabinLevel": 0, "CabinCode": "sample string 15", "ProductRules": "sample string 16", "Remarks": "sample string 17" }, "PurchaseChangedPayment": { "ClaimlPrice": 1.1, "ServicePrice": 2.1, "TransactionId": "sample string 3", "PlatChangedOrderNumber": "sample string 4", "Remarks": "sample string 5" }, "Succeed": true, "Message": "sample string 2" }