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": "dff9b335-9bbc-4b36-a9ae-a369b5deeeda", "Confirmed": true, "LinkedId": "f8c02333-8661-4905-b730-4ac902a28810", "SettingKey": "sample string 3", "SettingValue": "sample string 4", "PassengerIds": [ "f2a6efda-571b-4d83-a1f3-6d6a5e858e62", "b9f4b98d-bd34-4341-9739-fe4f6e24e7f1" ] }
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": "56a95088-15a9-4c35-b730-d03238ade6ae", "LinkedId": "77790054-9ca9-42f8-ae30-0fec6e20a5bf", "SettingKey": "sample string 3", "SettingValue": "sample string 4", "OPassengers": [ { "TicketNumbers": [ { "RecordType": 0, "Creater": "sample string 1", "Time": "2025-04-06T13:55:55.6342+08:00", "ID": "90d10b03-6cbe-48e2-b7a0-d9f4e6d2d4d7", "PassengerId": "f3f40b5f-683d-404a-a679-58650432e13d", "TicketNumber": "sample string 5", "Posted": true, "Remarks": "sample string 7" }, { "RecordType": 0, "Creater": "sample string 1", "Time": "2025-04-06T13:55:55.6342+08:00", "ID": "90d10b03-6cbe-48e2-b7a0-d9f4e6d2d4d7", "PassengerId": "f3f40b5f-683d-404a-a679-58650432e13d", "TicketNumber": "sample string 5", "Posted": true, "Remarks": "sample string 7" } ], "OTotalPrices": [ { "Time": "2025-04-06T13:55:55.6342+08:00", "ID": "4d7e74a3-4e47-4999-b602-74b99ce0e32f", "PassengerId": "1b58a9d3-1781-4887-ae1a-9240649c1ed7", "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-04-06T13:55:55.6342+08:00", "ID": "4d7e74a3-4e47-4999-b602-74b99ce0e32f", "PassengerId": "1b58a9d3-1781-4887-ae1a-9240649c1ed7", "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-04-06T13:55:55.6342+08:00", "ID": "e43d94fd-98bb-4b11-8f70-d022724711e7", "OrderId": "18f14762-1eeb-4d43-8757-eb7b699b6583", "Name": "sample string 4", "Birthday": "2025-04-06T13:55:55.6342+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-04-06T13:55:55.6342+08:00", "ID": "90d10b03-6cbe-48e2-b7a0-d9f4e6d2d4d7", "PassengerId": "f3f40b5f-683d-404a-a679-58650432e13d", "TicketNumber": "sample string 5", "Posted": true, "Remarks": "sample string 7" }, { "RecordType": 0, "Creater": "sample string 1", "Time": "2025-04-06T13:55:55.6342+08:00", "ID": "90d10b03-6cbe-48e2-b7a0-d9f4e6d2d4d7", "PassengerId": "f3f40b5f-683d-404a-a679-58650432e13d", "TicketNumber": "sample string 5", "Posted": true, "Remarks": "sample string 7" } ], "OTotalPrices": [ { "Time": "2025-04-06T13:55:55.6342+08:00", "ID": "4d7e74a3-4e47-4999-b602-74b99ce0e32f", "PassengerId": "1b58a9d3-1781-4887-ae1a-9240649c1ed7", "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-04-06T13:55:55.6342+08:00", "ID": "4d7e74a3-4e47-4999-b602-74b99ce0e32f", "PassengerId": "1b58a9d3-1781-4887-ae1a-9240649c1ed7", "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-04-06T13:55:55.6342+08:00", "ID": "e43d94fd-98bb-4b11-8f70-d022724711e7", "OrderId": "18f14762-1eeb-4d43-8757-eb7b699b6583", "Name": "sample string 4", "Birthday": "2025-04-06T13:55:55.6342+08:00", "CardType": 0, "CardNo": "sample string 5", "SexType": 0, "PassengerType": 0, "ContactPhone": "sample string 6" } ], "OSegments": [ { "Time": "2025-04-06T13:55:55.6342+08:00", "ID": "ebb544c5-0971-4e1f-9be6-ca6310063186", "OrderId": "68a5f179-b8ec-48c6-ad4f-5797ca4a2b78", "Sequence": 4, "Carrier": "sample string 5", "DepartureAirport": "sample string 6", "ArrivalAirport": "sample string 7", "DepartureDate": "2025-04-06T13:55:55.6342+08:00", "ArrivalDate": "2025-04-06T13:55:55.6342+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-04-06T13:55:55.6342+08:00", "ID": "ebb544c5-0971-4e1f-9be6-ca6310063186", "OrderId": "68a5f179-b8ec-48c6-ad4f-5797ca4a2b78", "Sequence": 4, "Carrier": "sample string 5", "DepartureAirport": "sample string 6", "ArrivalAirport": "sample string 7", "DepartureDate": "2025-04-06T13:55:55.6342+08:00", "ArrivalDate": "2025-04-06T13:55:55.6342+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-04-06T13:55:55.6352111+08:00", "ID": "46baefe1-2551-43d6-b131-646b0dd8e84e", "ChangedId": "ff255a7d-7b46-41e3-873e-42032446cf1a", "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-04-06T13:55:55.6352111+08:00", "ID": "46baefe1-2551-43d6-b131-646b0dd8e84e", "ChangedId": "ff255a7d-7b46-41e3-873e-42032446cf1a", "Confirmed": true, "Reconciled": true, "UpgradePrice": 7.1, "CostPrice": 8.1, "TransactionId": "sample string 9", "Remarks": "sample string 10" } ], "ChangedExpands": [ { "ID": "0e9969ab-85bd-499b-9f0b-79f76a550e15", "ChangedId": "c7aac020-a72d-4842-89a1-d9d4c674e875", "SettingKey": "sample string 3", "SettingValue": "sample string 4" }, { "ID": "0e9969ab-85bd-499b-9f0b-79f76a550e15", "ChangedId": "c7aac020-a72d-4842-89a1-d9d4c674e875", "SettingKey": "sample string 3", "SettingValue": "sample string 4" } ], "ChangedIncludes": [ { "ID": "3e5daec0-a3c9-4022-b9ca-6ae3c5c0d149", "ChangedId": "58791d82-0fdb-400b-a946-9a9b15f90a1b", "PassengerId": "1834304c-bdbb-414f-9d85-96f437416ed1", "TicketNumber": "sample string 4" }, { "ID": "3e5daec0-a3c9-4022-b9ca-6ae3c5c0d149", "ChangedId": "58791d82-0fdb-400b-a946-9a9b15f90a1b", "PassengerId": "1834304c-bdbb-414f-9d85-96f437416ed1", "TicketNumber": "sample string 4" } ], "CSegments": [ { "Time": "2025-04-06T13:55:55.6352111+08:00", "ID": "ded7886c-ca65-4004-9fcf-053e419dbcd1", "ChangedId": "5cf73bd8-618e-4afd-82b0-2ad04f315d13", "Carrier": "sample string 4", "DepartureAirport": "sample string 5", "ArrivalAirport": "sample string 6", "DepartureDate": "2025-04-06T13:55:55.6352111+08:00", "ArrivalDate": "2025-04-06T13:55:55.6352111+08:00", "FlightNo": "sample string 9", "CodeShare": true, "ShareToFlightNo": "sample string 11", "CabinCode": "sample string 12", "CabinLevel": 0 }, { "Time": "2025-04-06T13:55:55.6352111+08:00", "ID": "ded7886c-ca65-4004-9fcf-053e419dbcd1", "ChangedId": "5cf73bd8-618e-4afd-82b0-2ad04f315d13", "Carrier": "sample string 4", "DepartureAirport": "sample string 5", "ArrivalAirport": "sample string 6", "DepartureDate": "2025-04-06T13:55:55.6352111+08:00", "ArrivalDate": "2025-04-06T13:55:55.6352111+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-04-06T13:55:55.6352111+08:00", "ID": "85ae10e2-3b21-420e-bd5e-fc901e5d60bd", "OrderId": "9f163570-451c-49c6-ba38-3efc33a23946", "ChangedExternalNumber": "sample string 6", "ChangedType": 0, "ChangedStyle": 0, "LatestTime": "2025-04-06T13:55:55.6352111+08:00", "Remarks": "sample string 7", "ExternalTime": "2025-04-06T13:55:55.6352111+08:00" }, "CurrentChanged": { "ChangedPayments": [ { "RecordType": 0, "Creater": "sample string 1", "Time": "2025-04-06T13:55:55.6352111+08:00", "ID": "46baefe1-2551-43d6-b131-646b0dd8e84e", "ChangedId": "ff255a7d-7b46-41e3-873e-42032446cf1a", "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-04-06T13:55:55.6352111+08:00", "ID": "46baefe1-2551-43d6-b131-646b0dd8e84e", "ChangedId": "ff255a7d-7b46-41e3-873e-42032446cf1a", "Confirmed": true, "Reconciled": true, "UpgradePrice": 7.1, "CostPrice": 8.1, "TransactionId": "sample string 9", "Remarks": "sample string 10" } ], "ChangedExpands": [ { "ID": "0e9969ab-85bd-499b-9f0b-79f76a550e15", "ChangedId": "c7aac020-a72d-4842-89a1-d9d4c674e875", "SettingKey": "sample string 3", "SettingValue": "sample string 4" }, { "ID": "0e9969ab-85bd-499b-9f0b-79f76a550e15", "ChangedId": "c7aac020-a72d-4842-89a1-d9d4c674e875", "SettingKey": "sample string 3", "SettingValue": "sample string 4" } ], "ChangedIncludes": [ { "ID": "3e5daec0-a3c9-4022-b9ca-6ae3c5c0d149", "ChangedId": "58791d82-0fdb-400b-a946-9a9b15f90a1b", "PassengerId": "1834304c-bdbb-414f-9d85-96f437416ed1", "TicketNumber": "sample string 4" }, { "ID": "3e5daec0-a3c9-4022-b9ca-6ae3c5c0d149", "ChangedId": "58791d82-0fdb-400b-a946-9a9b15f90a1b", "PassengerId": "1834304c-bdbb-414f-9d85-96f437416ed1", "TicketNumber": "sample string 4" } ], "CSegments": [ { "Time": "2025-04-06T13:55:55.6352111+08:00", "ID": "ded7886c-ca65-4004-9fcf-053e419dbcd1", "ChangedId": "5cf73bd8-618e-4afd-82b0-2ad04f315d13", "Carrier": "sample string 4", "DepartureAirport": "sample string 5", "ArrivalAirport": "sample string 6", "DepartureDate": "2025-04-06T13:55:55.6352111+08:00", "ArrivalDate": "2025-04-06T13:55:55.6352111+08:00", "FlightNo": "sample string 9", "CodeShare": true, "ShareToFlightNo": "sample string 11", "CabinCode": "sample string 12", "CabinLevel": 0 }, { "Time": "2025-04-06T13:55:55.6352111+08:00", "ID": "ded7886c-ca65-4004-9fcf-053e419dbcd1", "ChangedId": "5cf73bd8-618e-4afd-82b0-2ad04f315d13", "Carrier": "sample string 4", "DepartureAirport": "sample string 5", "ArrivalAirport": "sample string 6", "DepartureDate": "2025-04-06T13:55:55.6352111+08:00", "ArrivalDate": "2025-04-06T13:55:55.6352111+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-04-06T13:55:55.6352111+08:00", "ID": "85ae10e2-3b21-420e-bd5e-fc901e5d60bd", "OrderId": "9f163570-451c-49c6-ba38-3efc33a23946", "ChangedExternalNumber": "sample string 6", "ChangedType": 0, "ChangedStyle": 0, "LatestTime": "2025-04-06T13:55:55.6352111+08:00", "Remarks": "sample string 7", "ExternalTime": "2025-04-06T13:55:55.6352111+08:00" }, "PaymentAccountSetting": { "AutoPaymentAccountConfigs": [ { "ID": "9681bd7c-14d0-4a2a-bf74-d0f0ab66133b", "AutoPaymentAccountSettingId": "8dab1497-8133-4894-8077-d9f39f2b6e66", "SettingKey": "sample string 3", "SettingValue": "sample string 4" }, { "ID": "9681bd7c-14d0-4a2a-bf74-d0f0ab66133b", "AutoPaymentAccountSettingId": "8dab1497-8133-4894-8077-d9f39f2b6e66", "SettingKey": "sample string 3", "SettingValue": "sample string 4" } ], "CompanyId": "sample string 1", "LastUsedTime": "2025-04-06T13:55:55.6352111+08:00", "Time": "2025-04-06T13:55:55.6352111+08:00", "ID": "6148ece6-a589-48bd-8eb6-83f568956daf", "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-04-06T13:55:55.6352111+08:00", "ID": "118e45b6-6a10-49c2-b5e1-0a9ec1a7c811", "Password": "sample string 6", "MinBalance": 7.1, "MaxBalance": 8.1, "Remarks": "sample string 9" }, "PurchaseMemberExpandSettings": [ { "ID": "67d9a974-0fea-44b6-b16c-b3b21db1b0ed", "PurchaseMemberSettingId": "e5a415a8-6c97-4494-b36b-0f171ce6c1f1", "SettingKey": "sample string 3", "SettingValue": "sample string 4" }, { "ID": "67d9a974-0fea-44b6-b16c-b3b21db1b0ed", "PurchaseMemberSettingId": "e5a415a8-6c97-4494-b36b-0f171ce6c1f1", "SettingKey": "sample string 3", "SettingValue": "sample string 4" } ], "CompanyId": "sample string 1", "LastUsedTime": "2025-04-06T13:55:55.6352111+08:00", "Time": "2025-04-06T13:55:55.6352111+08:00", "ID": "2e15da8c-ecbb-4e34-ab62-8b4712988cbb", "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": "fe3327b9-09f4-4116-8719-a125bbff7c7e", "Creater": "sample string 2" }, "PurchaseIncludes": [ { "ID": "e999a43a-4e61-4cf5-a247-a8a1869e67a9", "PurchaseOrderId": "34803641-98fb-403d-9667-07aa6c5b4445", "PassengerId": "cf4286ca-827f-43fd-a2ec-cc83566c89dc", "TicketNumber": "sample string 4" }, { "ID": "e999a43a-4e61-4cf5-a247-a8a1869e67a9", "PurchaseOrderId": "34803641-98fb-403d-9667-07aa6c5b4445", "PassengerId": "cf4286ca-827f-43fd-a2ec-cc83566c89dc", "TicketNumber": "sample string 4" } ], "PurchaseMembers": [ { "Time": "2025-04-06T13:55:55.6352111+08:00", "ID": "ae29a7c7-1cfa-476a-b337-200f7e79d679", "PurchaseOrderId": "d814a1aa-71a3-4f81-ae4a-2f38de192156", "UserName": "sample string 4", "Password": "sample string 5", "ContactPhone": "sample string 6", "Remarks": "sample string 7", "MembersId": "sample string 8" }, { "Time": "2025-04-06T13:55:55.6352111+08:00", "ID": "ae29a7c7-1cfa-476a-b337-200f7e79d679", "PurchaseOrderId": "d814a1aa-71a3-4f81-ae4a-2f38de192156", "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-04-06T13:55:55.6352111+08:00", "ID": "6c8fc441-19d3-40b6-aa92-23377f3c4dcf", "PurchaseOrderId": "f4a54613-5cf6-43c5-923d-20efba66867b", "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-04-06T13:55:55.6352111+08:00", "ID": "6c8fc441-19d3-40b6-aa92-23377f3c4dcf", "PurchaseOrderId": "f4a54613-5cf6-43c5-923d-20efba66867b", "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-04-06T13:55:55.6352111+08:00", "ID": "d437c607-df4e-4a5e-bcac-7815b6b75902", "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-04-06T13:55:55.6352111+08:00", "ID": "53474cb9-60ca-4978-a771-03743234cdc9", "PurchaseOrderId": "8fb9e44f-f3a9-4974-b66e-b46593ae0b9b", "ApplyType": 0, "Remarks": "sample string 5", "CSegmentId": "f8bd64c9-82ac-44f6-b0b1-bddebea6f95d", "LinkedId": "4951d014-e58a-4f7e-a483-31311192847d", "PassengerIds": "sample string 6" }, { "PurchasePayments": { "RecordType": 0, "Creater": "sample string 1", "Time": "2025-04-06T13:55:55.6352111+08:00", "ID": "d437c607-df4e-4a5e-bcac-7815b6b75902", "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-04-06T13:55:55.6352111+08:00", "ID": "53474cb9-60ca-4978-a771-03743234cdc9", "PurchaseOrderId": "8fb9e44f-f3a9-4974-b66e-b46593ae0b9b", "ApplyType": 0, "Remarks": "sample string 5", "CSegmentId": "f8bd64c9-82ac-44f6-b0b1-bddebea6f95d", "LinkedId": "4951d014-e58a-4f7e-a483-31311192847d", "PassengerIds": "sample string 6" } ], "RecordType": 0, "PaymentUri": "sample string 5", "Manual": true, "Creater": "sample string 6", "Time": "2025-04-06T13:55:55.6352111+08:00", "ID": "1c56dec0-825a-4c79-a23c-b8a564121cf3", "OrderId": "5cf0d0ab-65da-4623-aa7a-1c7d21394f31", "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" }