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": "1c3bb9d2-b2c3-4c4f-9f44-f29a3a87c2b7", "Confirmed": true, "LinkedId": "4f9ddb7c-6379-43f5-bd33-2896d0aaf5a0", "SettingKey": "sample string 3", "SettingValue": "sample string 4", "PassengerIds": [ "d78e97a5-44a9-45ff-bb21-3dd9a14f3577", "637f9070-0ed1-49a0-b639-72c7f337f453" ] }
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": "3bb5ae95-659b-4597-87e8-bff2daf9fc41", "LinkedId": "e274385a-9d41-45cd-8783-74b56d57e15d", "SettingKey": "sample string 3", "SettingValue": "sample string 4", "OPassengers": [ { "TicketNumbers": [ { "RecordType": 0, "Creater": "sample string 1", "Time": "2025-07-01T13:12:48.5290789+08:00", "ID": "4e72a2c6-83ec-44c6-a9c2-e2d5f6ee035c", "PassengerId": "7d5514c4-a2b9-46c2-a7ff-df2c99e6ee78", "TicketNumber": "sample string 5", "Posted": true, "Remarks": "sample string 7" }, { "RecordType": 0, "Creater": "sample string 1", "Time": "2025-07-01T13:12:48.5290789+08:00", "ID": "4e72a2c6-83ec-44c6-a9c2-e2d5f6ee035c", "PassengerId": "7d5514c4-a2b9-46c2-a7ff-df2c99e6ee78", "TicketNumber": "sample string 5", "Posted": true, "Remarks": "sample string 7" } ], "OTotalPrices": [ { "Time": "2025-07-01T13:12:48.5290789+08:00", "ID": "0de1f36e-a240-466f-a14d-bb4514430aa3", "PassengerId": "b55ad56f-2e04-445f-8d48-290cb0277f19", "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-07-01T13:12:48.5290789+08:00", "ID": "0de1f36e-a240-466f-a14d-bb4514430aa3", "PassengerId": "b55ad56f-2e04-445f-8d48-290cb0277f19", "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-07-01T13:12:48.5290789+08:00", "ID": "c61cacab-9b86-45b2-a300-9bb14642b678", "OrderId": "0c9bda11-09f2-442f-a73e-399837a93958", "Name": "sample string 4", "Birthday": "2025-07-01T13:12:48.5290789+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-07-01T13:12:48.5290789+08:00", "ID": "4e72a2c6-83ec-44c6-a9c2-e2d5f6ee035c", "PassengerId": "7d5514c4-a2b9-46c2-a7ff-df2c99e6ee78", "TicketNumber": "sample string 5", "Posted": true, "Remarks": "sample string 7" }, { "RecordType": 0, "Creater": "sample string 1", "Time": "2025-07-01T13:12:48.5290789+08:00", "ID": "4e72a2c6-83ec-44c6-a9c2-e2d5f6ee035c", "PassengerId": "7d5514c4-a2b9-46c2-a7ff-df2c99e6ee78", "TicketNumber": "sample string 5", "Posted": true, "Remarks": "sample string 7" } ], "OTotalPrices": [ { "Time": "2025-07-01T13:12:48.5290789+08:00", "ID": "0de1f36e-a240-466f-a14d-bb4514430aa3", "PassengerId": "b55ad56f-2e04-445f-8d48-290cb0277f19", "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-07-01T13:12:48.5290789+08:00", "ID": "0de1f36e-a240-466f-a14d-bb4514430aa3", "PassengerId": "b55ad56f-2e04-445f-8d48-290cb0277f19", "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-07-01T13:12:48.5290789+08:00", "ID": "c61cacab-9b86-45b2-a300-9bb14642b678", "OrderId": "0c9bda11-09f2-442f-a73e-399837a93958", "Name": "sample string 4", "Birthday": "2025-07-01T13:12:48.5290789+08:00", "CardType": 0, "CardNo": "sample string 5", "SexType": 0, "PassengerType": 0, "ContactPhone": "sample string 6" } ], "OSegments": [ { "Time": "2025-07-01T13:12:48.5290789+08:00", "ID": "25fe4d32-5fa2-4f4b-995c-d71cd87cc2f1", "OrderId": "3813110b-c544-493b-8e79-9b914551f161", "Sequence": 4, "Carrier": "sample string 5", "DepartureAirport": "sample string 6", "ArrivalAirport": "sample string 7", "DepartureDate": "2025-07-01T13:12:48.5290789+08:00", "ArrivalDate": "2025-07-01T13:12:48.5290789+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-07-01T13:12:48.5290789+08:00", "ID": "25fe4d32-5fa2-4f4b-995c-d71cd87cc2f1", "OrderId": "3813110b-c544-493b-8e79-9b914551f161", "Sequence": 4, "Carrier": "sample string 5", "DepartureAirport": "sample string 6", "ArrivalAirport": "sample string 7", "DepartureDate": "2025-07-01T13:12:48.5290789+08:00", "ArrivalDate": "2025-07-01T13:12:48.5290789+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-07-01T13:12:48.5290789+08:00", "ID": "9dc6a0fc-81fa-4dce-9710-bfdb315603a7", "ChangedId": "ce7a506b-6175-441f-9639-1b8e1fbfb023", "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-07-01T13:12:48.5290789+08:00", "ID": "9dc6a0fc-81fa-4dce-9710-bfdb315603a7", "ChangedId": "ce7a506b-6175-441f-9639-1b8e1fbfb023", "Confirmed": true, "Reconciled": true, "UpgradePrice": 7.1, "CostPrice": 8.1, "TransactionId": "sample string 9", "Remarks": "sample string 10" } ], "ChangedExpands": [ { "ID": "32709579-ec4b-4b0f-aa20-66addf06e035", "ChangedId": "59a6ecc2-a14a-452d-b938-6453d2f8932c", "SettingKey": "sample string 3", "SettingValue": "sample string 4" }, { "ID": "32709579-ec4b-4b0f-aa20-66addf06e035", "ChangedId": "59a6ecc2-a14a-452d-b938-6453d2f8932c", "SettingKey": "sample string 3", "SettingValue": "sample string 4" } ], "ChangedIncludes": [ { "ID": "64b06d82-392e-47db-8b43-81c7fdbb5b78", "ChangedId": "3d455c7a-f459-4584-8830-cd530b563ca3", "PassengerId": "ea19737d-1a6a-4c1e-a865-9af290795374", "TicketNumber": "sample string 4" }, { "ID": "64b06d82-392e-47db-8b43-81c7fdbb5b78", "ChangedId": "3d455c7a-f459-4584-8830-cd530b563ca3", "PassengerId": "ea19737d-1a6a-4c1e-a865-9af290795374", "TicketNumber": "sample string 4" } ], "CSegments": [ { "Time": "2025-07-01T13:12:48.5290789+08:00", "ID": "fd6ba450-44d8-4c60-9a15-32d217a2344b", "ChangedId": "6abb00bf-5e33-4b2e-b45c-72f1a2e9c989", "Carrier": "sample string 4", "DepartureAirport": "sample string 5", "ArrivalAirport": "sample string 6", "DepartureDate": "2025-07-01T13:12:48.5290789+08:00", "ArrivalDate": "2025-07-01T13:12:48.5290789+08:00", "FlightNo": "sample string 9", "CodeShare": true, "ShareToFlightNo": "sample string 11", "CabinCode": "sample string 12", "CabinLevel": 0 }, { "Time": "2025-07-01T13:12:48.5290789+08:00", "ID": "fd6ba450-44d8-4c60-9a15-32d217a2344b", "ChangedId": "6abb00bf-5e33-4b2e-b45c-72f1a2e9c989", "Carrier": "sample string 4", "DepartureAirport": "sample string 5", "ArrivalAirport": "sample string 6", "DepartureDate": "2025-07-01T13:12:48.5290789+08:00", "ArrivalDate": "2025-07-01T13:12:48.5290789+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-07-01T13:12:48.5290789+08:00", "ID": "691c8dad-e154-430e-8f90-6841b47a6b0f", "OrderId": "d07be7e8-5fae-4339-86d4-ffd74e926699", "ChangedExternalNumber": "sample string 6", "ChangedType": 0, "ChangedStyle": 0, "LatestTime": "2025-07-01T13:12:48.5290789+08:00", "Remarks": "sample string 7", "ExternalTime": "2025-07-01T13:12:48.5290789+08:00" }, "CurrentChanged": { "ChangedPayments": [ { "RecordType": 0, "Creater": "sample string 1", "Time": "2025-07-01T13:12:48.5290789+08:00", "ID": "9dc6a0fc-81fa-4dce-9710-bfdb315603a7", "ChangedId": "ce7a506b-6175-441f-9639-1b8e1fbfb023", "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-07-01T13:12:48.5290789+08:00", "ID": "9dc6a0fc-81fa-4dce-9710-bfdb315603a7", "ChangedId": "ce7a506b-6175-441f-9639-1b8e1fbfb023", "Confirmed": true, "Reconciled": true, "UpgradePrice": 7.1, "CostPrice": 8.1, "TransactionId": "sample string 9", "Remarks": "sample string 10" } ], "ChangedExpands": [ { "ID": "32709579-ec4b-4b0f-aa20-66addf06e035", "ChangedId": "59a6ecc2-a14a-452d-b938-6453d2f8932c", "SettingKey": "sample string 3", "SettingValue": "sample string 4" }, { "ID": "32709579-ec4b-4b0f-aa20-66addf06e035", "ChangedId": "59a6ecc2-a14a-452d-b938-6453d2f8932c", "SettingKey": "sample string 3", "SettingValue": "sample string 4" } ], "ChangedIncludes": [ { "ID": "64b06d82-392e-47db-8b43-81c7fdbb5b78", "ChangedId": "3d455c7a-f459-4584-8830-cd530b563ca3", "PassengerId": "ea19737d-1a6a-4c1e-a865-9af290795374", "TicketNumber": "sample string 4" }, { "ID": "64b06d82-392e-47db-8b43-81c7fdbb5b78", "ChangedId": "3d455c7a-f459-4584-8830-cd530b563ca3", "PassengerId": "ea19737d-1a6a-4c1e-a865-9af290795374", "TicketNumber": "sample string 4" } ], "CSegments": [ { "Time": "2025-07-01T13:12:48.5290789+08:00", "ID": "fd6ba450-44d8-4c60-9a15-32d217a2344b", "ChangedId": "6abb00bf-5e33-4b2e-b45c-72f1a2e9c989", "Carrier": "sample string 4", "DepartureAirport": "sample string 5", "ArrivalAirport": "sample string 6", "DepartureDate": "2025-07-01T13:12:48.5290789+08:00", "ArrivalDate": "2025-07-01T13:12:48.5290789+08:00", "FlightNo": "sample string 9", "CodeShare": true, "ShareToFlightNo": "sample string 11", "CabinCode": "sample string 12", "CabinLevel": 0 }, { "Time": "2025-07-01T13:12:48.5290789+08:00", "ID": "fd6ba450-44d8-4c60-9a15-32d217a2344b", "ChangedId": "6abb00bf-5e33-4b2e-b45c-72f1a2e9c989", "Carrier": "sample string 4", "DepartureAirport": "sample string 5", "ArrivalAirport": "sample string 6", "DepartureDate": "2025-07-01T13:12:48.5290789+08:00", "ArrivalDate": "2025-07-01T13:12:48.5290789+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-07-01T13:12:48.5290789+08:00", "ID": "691c8dad-e154-430e-8f90-6841b47a6b0f", "OrderId": "d07be7e8-5fae-4339-86d4-ffd74e926699", "ChangedExternalNumber": "sample string 6", "ChangedType": 0, "ChangedStyle": 0, "LatestTime": "2025-07-01T13:12:48.5290789+08:00", "Remarks": "sample string 7", "ExternalTime": "2025-07-01T13:12:48.5290789+08:00" }, "PaymentAccountSetting": { "AutoPaymentAccountConfigs": [ { "ID": "bf05bb30-98d9-4fcb-9e85-7aa2e4657b8e", "AutoPaymentAccountSettingId": "fc8cd345-856e-4fc1-8171-3c64cd341d1a", "SettingKey": "sample string 3", "SettingValue": "sample string 4" }, { "ID": "bf05bb30-98d9-4fcb-9e85-7aa2e4657b8e", "AutoPaymentAccountSettingId": "fc8cd345-856e-4fc1-8171-3c64cd341d1a", "SettingKey": "sample string 3", "SettingValue": "sample string 4" } ], "CompanyId": "sample string 1", "LastUsedTime": "2025-07-01T13:12:48.5290789+08:00", "Time": "2025-07-01T13:12:48.5290789+08:00", "ID": "d4cb9697-45a9-4503-9ada-972f2d10e48c", "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-07-01T13:12:48.5290789+08:00", "ID": "b8a1462b-4baa-41b0-b5b2-986c72c38311", "Password": "sample string 6", "MinBalance": 7.1, "MaxBalance": 8.1, "Remarks": "sample string 9" }, "PurchaseMemberExpandSettings": [ { "ID": "aa2b229c-c3f6-48c2-93cf-20c981243ed6", "PurchaseMemberSettingId": "5a8cc981-72b2-4198-aa6b-73994f925285", "SettingKey": "sample string 3", "SettingValue": "sample string 4" }, { "ID": "aa2b229c-c3f6-48c2-93cf-20c981243ed6", "PurchaseMemberSettingId": "5a8cc981-72b2-4198-aa6b-73994f925285", "SettingKey": "sample string 3", "SettingValue": "sample string 4" } ], "CompanyId": "sample string 1", "LastUsedTime": "2025-07-01T13:12:48.5290789+08:00", "Time": "2025-07-01T13:12:48.5290789+08:00", "ID": "69881e36-1ed9-4f88-bb17-4becd74c0227", "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": "515fb1bf-208d-4e3d-a3e4-c121dbfd34aa", "Creater": "sample string 2" }, "PurchaseIncludes": [ { "ID": "95ddff72-d1d4-40cd-bd12-d54b93441c99", "PurchaseOrderId": "54c24d15-5820-476a-a0bd-99b2cd2c833d", "PassengerId": "9ec1309d-6745-4227-84d3-26f9a1523930", "TicketNumber": "sample string 4" }, { "ID": "95ddff72-d1d4-40cd-bd12-d54b93441c99", "PurchaseOrderId": "54c24d15-5820-476a-a0bd-99b2cd2c833d", "PassengerId": "9ec1309d-6745-4227-84d3-26f9a1523930", "TicketNumber": "sample string 4" } ], "PurchaseMembers": [ { "Time": "2025-07-01T13:12:48.5290789+08:00", "ID": "07b29990-6d93-4b1a-92af-92a45416f4c0", "PurchaseOrderId": "dd609f75-e9ea-4bb8-ac02-44db2246feeb", "UserName": "sample string 4", "Password": "sample string 5", "ContactPhone": "sample string 6", "Remarks": "sample string 7", "MembersId": "sample string 8" }, { "Time": "2025-07-01T13:12:48.5290789+08:00", "ID": "07b29990-6d93-4b1a-92af-92a45416f4c0", "PurchaseOrderId": "dd609f75-e9ea-4bb8-ac02-44db2246feeb", "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-07-01T13:12:48.5290789+08:00", "ID": "6541f302-22c2-4c2b-b541-42169d43a019", "PurchaseOrderId": "37bfac31-88d9-4c12-aa7d-611f905e02df", "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-07-01T13:12:48.5290789+08:00", "ID": "6541f302-22c2-4c2b-b541-42169d43a019", "PurchaseOrderId": "37bfac31-88d9-4c12-aa7d-611f905e02df", "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-07-01T13:12:48.5290789+08:00", "ID": "39271e79-3682-4a82-a6a2-d212563f8f4f", "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-07-01T13:12:48.5290789+08:00", "ID": "96030be3-11f3-4785-bf03-f85731e79863", "PurchaseOrderId": "4398c784-fbb1-4faa-9308-490a7527fe2b", "ApplyType": 0, "Remarks": "sample string 5", "CSegmentId": "94e8301c-63e1-4ed7-91a7-de2b8bc895cc", "LinkedId": "057574f3-8262-4390-b0df-826d5988256c", "PassengerIds": "sample string 6" }, { "PurchasePayments": { "RecordType": 0, "Creater": "sample string 1", "Time": "2025-07-01T13:12:48.5290789+08:00", "ID": "39271e79-3682-4a82-a6a2-d212563f8f4f", "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-07-01T13:12:48.5290789+08:00", "ID": "96030be3-11f3-4785-bf03-f85731e79863", "PurchaseOrderId": "4398c784-fbb1-4faa-9308-490a7527fe2b", "ApplyType": 0, "Remarks": "sample string 5", "CSegmentId": "94e8301c-63e1-4ed7-91a7-de2b8bc895cc", "LinkedId": "057574f3-8262-4390-b0df-826d5988256c", "PassengerIds": "sample string 6" } ], "RecordType": 0, "PaymentUri": "sample string 5", "Manual": true, "Creater": "sample string 6", "Time": "2025-07-01T13:12:48.5290789+08:00", "ID": "a5d33f91-5627-456a-84c7-640cf382cd92", "OrderId": "d0d90b74-30b6-4af2-9734-731877e4c581", "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" }