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": "2081a58c-85ad-4ac9-a90d-837b4abab4da", "Confirmed": true, "LinkedId": "49836f1e-f99f-40af-a7c3-4eb980d29220", "SettingKey": "sample string 3", "SettingValue": "sample string 4", "PassengerIds": [ "4f2b931c-bb8b-442d-ae7f-52c885575dfb", "345713db-4609-4299-bcdf-61a1fc62df05" ] }
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": "5ee861bd-d4a7-449b-acbb-ac5a5b7b012a", "LinkedId": "a6a39e1f-86a2-4607-b768-62316bbc8b1d", "SettingKey": "sample string 3", "SettingValue": "sample string 4", "OPassengers": [ { "TicketNumbers": [ { "RecordType": 0, "Creater": "sample string 1", "Time": "2024-12-24T03:39:33.3244241+08:00", "ID": "7c5aa908-12f8-4048-93da-805a72263926", "PassengerId": "0d1cc2be-8d8c-4177-a9ce-df65975a40ca", "TicketNumber": "sample string 5", "Posted": true, "Remarks": "sample string 7" }, { "RecordType": 0, "Creater": "sample string 1", "Time": "2024-12-24T03:39:33.3244241+08:00", "ID": "7c5aa908-12f8-4048-93da-805a72263926", "PassengerId": "0d1cc2be-8d8c-4177-a9ce-df65975a40ca", "TicketNumber": "sample string 5", "Posted": true, "Remarks": "sample string 7" } ], "OTotalPrices": [ { "Time": "2024-12-24T03:39:33.3244241+08:00", "ID": "6265416a-257f-439c-b973-a7fb0c298c14", "PassengerId": "a29cd508-ccb6-43f6-a439-f35bc18c3ee6", "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:39:33.3244241+08:00", "ID": "6265416a-257f-439c-b973-a7fb0c298c14", "PassengerId": "a29cd508-ccb6-43f6-a439-f35bc18c3ee6", "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:39:33.3244241+08:00", "ID": "3720329a-1937-4f64-8926-9022e40d1d20", "OrderId": "c5be5b13-1612-4a96-8e27-152d09227828", "Name": "sample string 4", "Birthday": "2024-12-24T03:39:33.3244241+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:39:33.3244241+08:00", "ID": "7c5aa908-12f8-4048-93da-805a72263926", "PassengerId": "0d1cc2be-8d8c-4177-a9ce-df65975a40ca", "TicketNumber": "sample string 5", "Posted": true, "Remarks": "sample string 7" }, { "RecordType": 0, "Creater": "sample string 1", "Time": "2024-12-24T03:39:33.3244241+08:00", "ID": "7c5aa908-12f8-4048-93da-805a72263926", "PassengerId": "0d1cc2be-8d8c-4177-a9ce-df65975a40ca", "TicketNumber": "sample string 5", "Posted": true, "Remarks": "sample string 7" } ], "OTotalPrices": [ { "Time": "2024-12-24T03:39:33.3244241+08:00", "ID": "6265416a-257f-439c-b973-a7fb0c298c14", "PassengerId": "a29cd508-ccb6-43f6-a439-f35bc18c3ee6", "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:39:33.3244241+08:00", "ID": "6265416a-257f-439c-b973-a7fb0c298c14", "PassengerId": "a29cd508-ccb6-43f6-a439-f35bc18c3ee6", "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:39:33.3244241+08:00", "ID": "3720329a-1937-4f64-8926-9022e40d1d20", "OrderId": "c5be5b13-1612-4a96-8e27-152d09227828", "Name": "sample string 4", "Birthday": "2024-12-24T03:39:33.3244241+08:00", "CardType": 0, "CardNo": "sample string 5", "SexType": 0, "PassengerType": 0, "ContactPhone": "sample string 6" } ], "OSegments": [ { "Time": "2024-12-24T03:39:33.3244241+08:00", "ID": "c8e94d8c-8a5f-4a29-aab9-4b5414aa84de", "OrderId": "fb6940c2-99f7-4487-b3d9-3d98426cccf8", "Sequence": 4, "Carrier": "sample string 5", "DepartureAirport": "sample string 6", "ArrivalAirport": "sample string 7", "DepartureDate": "2024-12-24T03:39:33.3244241+08:00", "ArrivalDate": "2024-12-24T03:39:33.3244241+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": "2024-12-24T03:39:33.3244241+08:00", "ID": "c8e94d8c-8a5f-4a29-aab9-4b5414aa84de", "OrderId": "fb6940c2-99f7-4487-b3d9-3d98426cccf8", "Sequence": 4, "Carrier": "sample string 5", "DepartureAirport": "sample string 6", "ArrivalAirport": "sample string 7", "DepartureDate": "2024-12-24T03:39:33.3244241+08:00", "ArrivalDate": "2024-12-24T03:39:33.3244241+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": "2024-12-24T03:39:33.3244241+08:00", "ID": "f0304987-dadd-4189-9613-842ebb2660dc", "ChangedId": "78f2acf4-25b5-47ce-963a-a9787c0f6477", "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": "2024-12-24T03:39:33.3244241+08:00", "ID": "f0304987-dadd-4189-9613-842ebb2660dc", "ChangedId": "78f2acf4-25b5-47ce-963a-a9787c0f6477", "Confirmed": true, "Reconciled": true, "UpgradePrice": 7.1, "CostPrice": 8.1, "TransactionId": "sample string 9", "Remarks": "sample string 10" } ], "ChangedExpands": [ { "ID": "d1fbc7ed-f25a-42f5-bea4-08c5d5bd97b0", "ChangedId": "d53ca1da-88df-4e3d-99bb-c96b4cd2ecca", "SettingKey": "sample string 3", "SettingValue": "sample string 4" }, { "ID": "d1fbc7ed-f25a-42f5-bea4-08c5d5bd97b0", "ChangedId": "d53ca1da-88df-4e3d-99bb-c96b4cd2ecca", "SettingKey": "sample string 3", "SettingValue": "sample string 4" } ], "ChangedIncludes": [ { "ID": "c9f2e40b-3429-4f74-958a-f6239413f3c0", "ChangedId": "ff79c1bb-d492-4eb0-bc92-b035c0052ba6", "PassengerId": "00465d53-5bed-4723-a44a-8b0c1be9d208", "TicketNumber": "sample string 4" }, { "ID": "c9f2e40b-3429-4f74-958a-f6239413f3c0", "ChangedId": "ff79c1bb-d492-4eb0-bc92-b035c0052ba6", "PassengerId": "00465d53-5bed-4723-a44a-8b0c1be9d208", "TicketNumber": "sample string 4" } ], "CSegments": [ { "Time": "2024-12-24T03:39:33.3244241+08:00", "ID": "8721953b-e9ee-4b40-bde4-068da44d2ac6", "ChangedId": "e84c7fe8-1e35-4db0-a256-da7910e6f08d", "Carrier": "sample string 4", "DepartureAirport": "sample string 5", "ArrivalAirport": "sample string 6", "DepartureDate": "2024-12-24T03:39:33.3244241+08:00", "ArrivalDate": "2024-12-24T03:39:33.3244241+08:00", "FlightNo": "sample string 9", "CodeShare": true, "ShareToFlightNo": "sample string 11", "CabinCode": "sample string 12", "CabinLevel": 0 }, { "Time": "2024-12-24T03:39:33.3244241+08:00", "ID": "8721953b-e9ee-4b40-bde4-068da44d2ac6", "ChangedId": "e84c7fe8-1e35-4db0-a256-da7910e6f08d", "Carrier": "sample string 4", "DepartureAirport": "sample string 5", "ArrivalAirport": "sample string 6", "DepartureDate": "2024-12-24T03:39:33.3244241+08:00", "ArrivalDate": "2024-12-24T03:39:33.3244241+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": "2024-12-24T03:39:33.3244241+08:00", "ID": "90422e4a-b59c-4299-9f54-3ec13904e1a9", "OrderId": "4f7daa04-a4ce-4b7f-88c1-5d6fe64f21fc", "ChangedExternalNumber": "sample string 6", "ChangedType": 0, "ChangedStyle": 0, "LatestTime": "2024-12-24T03:39:33.3244241+08:00", "Remarks": "sample string 7", "ExternalTime": "2024-12-24T03:39:33.3244241+08:00" }, "CurrentChanged": { "ChangedPayments": [ { "RecordType": 0, "Creater": "sample string 1", "Time": "2024-12-24T03:39:33.3244241+08:00", "ID": "f0304987-dadd-4189-9613-842ebb2660dc", "ChangedId": "78f2acf4-25b5-47ce-963a-a9787c0f6477", "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": "2024-12-24T03:39:33.3244241+08:00", "ID": "f0304987-dadd-4189-9613-842ebb2660dc", "ChangedId": "78f2acf4-25b5-47ce-963a-a9787c0f6477", "Confirmed": true, "Reconciled": true, "UpgradePrice": 7.1, "CostPrice": 8.1, "TransactionId": "sample string 9", "Remarks": "sample string 10" } ], "ChangedExpands": [ { "ID": "d1fbc7ed-f25a-42f5-bea4-08c5d5bd97b0", "ChangedId": "d53ca1da-88df-4e3d-99bb-c96b4cd2ecca", "SettingKey": "sample string 3", "SettingValue": "sample string 4" }, { "ID": "d1fbc7ed-f25a-42f5-bea4-08c5d5bd97b0", "ChangedId": "d53ca1da-88df-4e3d-99bb-c96b4cd2ecca", "SettingKey": "sample string 3", "SettingValue": "sample string 4" } ], "ChangedIncludes": [ { "ID": "c9f2e40b-3429-4f74-958a-f6239413f3c0", "ChangedId": "ff79c1bb-d492-4eb0-bc92-b035c0052ba6", "PassengerId": "00465d53-5bed-4723-a44a-8b0c1be9d208", "TicketNumber": "sample string 4" }, { "ID": "c9f2e40b-3429-4f74-958a-f6239413f3c0", "ChangedId": "ff79c1bb-d492-4eb0-bc92-b035c0052ba6", "PassengerId": "00465d53-5bed-4723-a44a-8b0c1be9d208", "TicketNumber": "sample string 4" } ], "CSegments": [ { "Time": "2024-12-24T03:39:33.3244241+08:00", "ID": "8721953b-e9ee-4b40-bde4-068da44d2ac6", "ChangedId": "e84c7fe8-1e35-4db0-a256-da7910e6f08d", "Carrier": "sample string 4", "DepartureAirport": "sample string 5", "ArrivalAirport": "sample string 6", "DepartureDate": "2024-12-24T03:39:33.3244241+08:00", "ArrivalDate": "2024-12-24T03:39:33.3244241+08:00", "FlightNo": "sample string 9", "CodeShare": true, "ShareToFlightNo": "sample string 11", "CabinCode": "sample string 12", "CabinLevel": 0 }, { "Time": "2024-12-24T03:39:33.3244241+08:00", "ID": "8721953b-e9ee-4b40-bde4-068da44d2ac6", "ChangedId": "e84c7fe8-1e35-4db0-a256-da7910e6f08d", "Carrier": "sample string 4", "DepartureAirport": "sample string 5", "ArrivalAirport": "sample string 6", "DepartureDate": "2024-12-24T03:39:33.3244241+08:00", "ArrivalDate": "2024-12-24T03:39:33.3244241+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": "2024-12-24T03:39:33.3244241+08:00", "ID": "90422e4a-b59c-4299-9f54-3ec13904e1a9", "OrderId": "4f7daa04-a4ce-4b7f-88c1-5d6fe64f21fc", "ChangedExternalNumber": "sample string 6", "ChangedType": 0, "ChangedStyle": 0, "LatestTime": "2024-12-24T03:39:33.3244241+08:00", "Remarks": "sample string 7", "ExternalTime": "2024-12-24T03:39:33.3244241+08:00" }, "PaymentAccountSetting": { "AutoPaymentAccountConfigs": [ { "ID": "4703942f-7dbd-4140-b3b0-55ee06da7c8e", "AutoPaymentAccountSettingId": "dc295759-da7c-4a2b-b332-15f8a08fa06f", "SettingKey": "sample string 3", "SettingValue": "sample string 4" }, { "ID": "4703942f-7dbd-4140-b3b0-55ee06da7c8e", "AutoPaymentAccountSettingId": "dc295759-da7c-4a2b-b332-15f8a08fa06f", "SettingKey": "sample string 3", "SettingValue": "sample string 4" } ], "CompanyId": "sample string 1", "LastUsedTime": "2024-12-24T03:39:33.3244241+08:00", "Time": "2024-12-24T03:39:33.3244241+08:00", "ID": "0959bc88-bc0f-459c-a088-1a3d75979ca7", "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": "2024-12-24T03:39:33.3244241+08:00", "ID": "c49d1b9a-3fca-44c9-965f-82083be3e54e", "Password": "sample string 6", "MinBalance": 7.1, "MaxBalance": 8.1, "Remarks": "sample string 9" }, "PurchaseMemberExpandSettings": [ { "ID": "cebda969-1c6d-401b-943c-220185eb4a7a", "PurchaseMemberSettingId": "845073d9-e337-492b-8d47-af328d819a1b", "SettingKey": "sample string 3", "SettingValue": "sample string 4" }, { "ID": "cebda969-1c6d-401b-943c-220185eb4a7a", "PurchaseMemberSettingId": "845073d9-e337-492b-8d47-af328d819a1b", "SettingKey": "sample string 3", "SettingValue": "sample string 4" } ], "CompanyId": "sample string 1", "LastUsedTime": "2024-12-24T03:39:33.3244241+08:00", "Time": "2024-12-24T03:39:33.3244241+08:00", "ID": "da70bf3e-89e8-4818-bc4c-11b208f717db", "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": "0794f089-149d-40d5-aac7-38f5e3293b0b", "Creater": "sample string 2" }, "PurchaseIncludes": [ { "ID": "cd983c97-1f47-462e-a1ab-c38174d46824", "PurchaseOrderId": "c29294f5-ef3e-46df-9254-54117c68e9e5", "PassengerId": "2354440d-d161-48c0-a8e3-6c97c4146768", "TicketNumber": "sample string 4" }, { "ID": "cd983c97-1f47-462e-a1ab-c38174d46824", "PurchaseOrderId": "c29294f5-ef3e-46df-9254-54117c68e9e5", "PassengerId": "2354440d-d161-48c0-a8e3-6c97c4146768", "TicketNumber": "sample string 4" } ], "PurchaseMembers": [ { "Time": "2024-12-24T03:39:33.3244241+08:00", "ID": "2cda0b43-3bbc-4b23-a075-752ba4ea51b1", "PurchaseOrderId": "e3cc1325-f501-46ab-aec1-217c51bf55dd", "UserName": "sample string 4", "Password": "sample string 5", "ContactPhone": "sample string 6", "Remarks": "sample string 7", "MembersId": "sample string 8" }, { "Time": "2024-12-24T03:39:33.3244241+08:00", "ID": "2cda0b43-3bbc-4b23-a075-752ba4ea51b1", "PurchaseOrderId": "e3cc1325-f501-46ab-aec1-217c51bf55dd", "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": "2024-12-24T03:39:33.3244241+08:00", "ID": "0ce7e573-3d03-48d5-b2b7-41f24019a80e", "PurchaseOrderId": "7409872b-bd38-49b5-b13f-b96ec364d6b7", "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": "2024-12-24T03:39:33.3244241+08:00", "ID": "0ce7e573-3d03-48d5-b2b7-41f24019a80e", "PurchaseOrderId": "7409872b-bd38-49b5-b13f-b96ec364d6b7", "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": "2024-12-24T03:39:33.3244241+08:00", "ID": "788ff250-277b-4959-bbb0-46765cab12ab", "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": "2024-12-24T03:39:33.3244241+08:00", "ID": "c30180d9-d6a5-4906-8f49-31dc69dc6a73", "PurchaseOrderId": "e11fb4a3-ab7d-425f-bf6f-7a10cdb5b495", "ApplyType": 0, "Remarks": "sample string 5", "CSegmentId": "f523bcf3-37bf-42a2-aa08-a5a3b0fca69f", "LinkedId": "e837d71c-37e3-4d95-a31f-6bf7116d0626", "PassengerIds": "sample string 6" }, { "PurchasePayments": { "RecordType": 0, "Creater": "sample string 1", "Time": "2024-12-24T03:39:33.3244241+08:00", "ID": "788ff250-277b-4959-bbb0-46765cab12ab", "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": "2024-12-24T03:39:33.3244241+08:00", "ID": "c30180d9-d6a5-4906-8f49-31dc69dc6a73", "PurchaseOrderId": "e11fb4a3-ab7d-425f-bf6f-7a10cdb5b495", "ApplyType": 0, "Remarks": "sample string 5", "CSegmentId": "f523bcf3-37bf-42a2-aa08-a5a3b0fca69f", "LinkedId": "e837d71c-37e3-4d95-a31f-6bf7116d0626", "PassengerIds": "sample string 6" } ], "RecordType": 0, "PaymentUri": "sample string 5", "Manual": true, "Creater": "sample string 6", "Time": "2024-12-24T03:39:33.3244241+08:00", "ID": "c3a37125-0c59-482c-bebf-bcfe817f3527", "OrderId": "008f29eb-c648-416c-a623-7b3a78bd1b9b", "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" }