POST Api/Service/Order/ManualPurchaseRefund
手动采购单退票询价/确认
Request Information
URI Parameters
None.
Body Parameters
请求模型
SpeedPower.Utility.Models.Project.Orders.Service.Automatic.ManualPurchaseRefundRequestModelName | 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": "42cf5eeb-b244-4fb1-aa6f-b3cb56d2062e", "Confirmed": true, "LinkedId": "78187e0f-bdeb-4a93-a95e-4b4526d34744", "SettingKey": "sample string 3", "SettingValue": "sample string 4", "PassengerIds": [ "e06c6b44-fc19-4cf8-9095-cef1555f5d94", "7e762dde-39dd-4dbe-b748-7f58a78bb362" ] }
Response Information
Resource Description
手动采购单退票询价/确认
SpeedPower.Utility.Models.Project.Orders.Service.Automatic.AutoPurchaseRefundResponseModelName | Description | Type | Additional information |
---|---|---|---|
ErrorType |
错误类型(可为NULL) |
SpeedPower.Utility.Models.Project.Orders.Service.Automatic.AutoPurchaseRefundErrorType |
None. |
Request |
请求模型返回 |
SpeedPower.Utility.Models.Project.Orders.Service.Automatic.AutoPurchaseRefundRequestModel |
None. |
PurchaseRefundPayment |
财务信息 |
SpeedPower.Utility.Models.Project.Orders.Service.Automatic.AutoPurchaseRefundPaymentResponseModel |
None. |
Succeed |
操作是否成功 |
boolean |
None. |
Message |
操作消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "ErrorType": 0, "Request": { "Confirmed": true, "FollowupId": "b7dc5971-41d1-480a-b1ac-d40ee99e174d", "LinkedId": "22fca014-6170-4f2a-9439-c8b74ca1af7a", "SettingKey": "sample string 3", "SettingValue": "sample string 4", "OPassengers": [ { "TicketNumbers": [ { "RecordType": 0, "Creater": "sample string 1", "Time": "2024-12-24T03:22:26.8894304+08:00", "ID": "40501f21-c9da-4538-88d0-fdcd4c74c9cb", "PassengerId": "eaeafdb1-f252-4902-8604-a5deb86524d7", "TicketNumber": "sample string 5", "Posted": true, "Remarks": "sample string 7" }, { "RecordType": 0, "Creater": "sample string 1", "Time": "2024-12-24T03:22:26.8894304+08:00", "ID": "40501f21-c9da-4538-88d0-fdcd4c74c9cb", "PassengerId": "eaeafdb1-f252-4902-8604-a5deb86524d7", "TicketNumber": "sample string 5", "Posted": true, "Remarks": "sample string 7" } ], "OTotalPrices": [ { "Time": "2024-12-24T03:22:26.8894304+08:00", "ID": "b5892aca-ca32-40d8-8478-196ffc0e9298", "PassengerId": "e8bff303-dea2-4ce6-af59-d0286451cc9a", "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:22:26.8894304+08:00", "ID": "b5892aca-ca32-40d8-8478-196ffc0e9298", "PassengerId": "e8bff303-dea2-4ce6-af59-d0286451cc9a", "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:22:26.8894304+08:00", "ID": "cfe44b14-c4c0-44ce-9320-fc71beed7290", "OrderId": "74d2c289-e035-4cad-a4bd-97f5911f1f2d", "Name": "sample string 4", "Birthday": "2024-12-24T03:22:26.8894304+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:22:26.8894304+08:00", "ID": "40501f21-c9da-4538-88d0-fdcd4c74c9cb", "PassengerId": "eaeafdb1-f252-4902-8604-a5deb86524d7", "TicketNumber": "sample string 5", "Posted": true, "Remarks": "sample string 7" }, { "RecordType": 0, "Creater": "sample string 1", "Time": "2024-12-24T03:22:26.8894304+08:00", "ID": "40501f21-c9da-4538-88d0-fdcd4c74c9cb", "PassengerId": "eaeafdb1-f252-4902-8604-a5deb86524d7", "TicketNumber": "sample string 5", "Posted": true, "Remarks": "sample string 7" } ], "OTotalPrices": [ { "Time": "2024-12-24T03:22:26.8894304+08:00", "ID": "b5892aca-ca32-40d8-8478-196ffc0e9298", "PassengerId": "e8bff303-dea2-4ce6-af59-d0286451cc9a", "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:22:26.8894304+08:00", "ID": "b5892aca-ca32-40d8-8478-196ffc0e9298", "PassengerId": "e8bff303-dea2-4ce6-af59-d0286451cc9a", "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:22:26.8894304+08:00", "ID": "cfe44b14-c4c0-44ce-9320-fc71beed7290", "OrderId": "74d2c289-e035-4cad-a4bd-97f5911f1f2d", "Name": "sample string 4", "Birthday": "2024-12-24T03:22:26.8894304+08:00", "CardType": 0, "CardNo": "sample string 5", "SexType": 0, "PassengerType": 0, "ContactPhone": "sample string 6" } ], "PaymentAccountSetting": { "AutoPaymentAccountConfigs": [ { "ID": "981de505-7baf-4a53-8b08-1ffc44e99b78", "AutoPaymentAccountSettingId": "6bc98235-9617-4268-8ce5-6f7f31e81ba3", "SettingKey": "sample string 3", "SettingValue": "sample string 4" }, { "ID": "981de505-7baf-4a53-8b08-1ffc44e99b78", "AutoPaymentAccountSettingId": "6bc98235-9617-4268-8ce5-6f7f31e81ba3", "SettingKey": "sample string 3", "SettingValue": "sample string 4" } ], "CompanyId": "sample string 1", "LastUsedTime": "2024-12-24T03:22:26.8894304+08:00", "Time": "2024-12-24T03:22:26.8894304+08:00", "ID": "dc138930-badd-4337-9caf-d5902b7698e3", "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:22:26.8894304+08:00", "ID": "ac05d9d7-c7ae-4616-ae1b-87297a0c7c84", "Password": "sample string 6", "MinBalance": 7.1, "MaxBalance": 8.1, "Remarks": "sample string 9" }, "PurchaseMemberExpandSettings": [ { "ID": "ed964ff9-da5a-45cb-80d5-01ed3a849848", "PurchaseMemberSettingId": "d8096143-a5e7-4b45-96b7-617d150b5237", "SettingKey": "sample string 3", "SettingValue": "sample string 4" }, { "ID": "ed964ff9-da5a-45cb-80d5-01ed3a849848", "PurchaseMemberSettingId": "d8096143-a5e7-4b45-96b7-617d150b5237", "SettingKey": "sample string 3", "SettingValue": "sample string 4" } ], "CompanyId": "sample string 1", "LastUsedTime": "2024-12-24T03:22:26.8894304+08:00", "Time": "2024-12-24T03:22:26.8894304+08:00", "ID": "52daa31e-55b3-45fc-9fcb-c671bd3381a4", "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": "d19f8482-bd3e-4059-98d9-96c441848bea", "Creater": "sample string 2" }, "PurchaseIncludes": [ { "ID": "d9569a9a-fa95-4100-b9b4-6df2b1b023f6", "PurchaseOrderId": "a3dfa5f7-b83d-4dc4-bb3a-d6d11d319d42", "PassengerId": "f17f4b37-1ccf-4ad9-9819-0e28483fce48", "TicketNumber": "sample string 4" }, { "ID": "d9569a9a-fa95-4100-b9b4-6df2b1b023f6", "PurchaseOrderId": "a3dfa5f7-b83d-4dc4-bb3a-d6d11d319d42", "PassengerId": "f17f4b37-1ccf-4ad9-9819-0e28483fce48", "TicketNumber": "sample string 4" } ], "PurchaseMembers": [ { "Time": "2024-12-24T03:22:26.8894304+08:00", "ID": "5533d7ce-7627-41e7-81a1-5ea7ebd1fc1a", "PurchaseOrderId": "f1b6253f-ca98-44e4-8f27-3d11d9d8b88d", "UserName": "sample string 4", "Password": "sample string 5", "ContactPhone": "sample string 6", "Remarks": "sample string 7", "MembersId": "sample string 8" }, { "Time": "2024-12-24T03:22:26.8894304+08:00", "ID": "5533d7ce-7627-41e7-81a1-5ea7ebd1fc1a", "PurchaseOrderId": "f1b6253f-ca98-44e4-8f27-3d11d9d8b88d", "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:22:26.8894304+08:00", "ID": "2cc08db1-5f87-4394-929a-6b0199a4e73b", "PurchaseOrderId": "b0bfa56a-482e-49e1-bd2c-497b48e42ad4", "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:22:26.8894304+08:00", "ID": "2cc08db1-5f87-4394-929a-6b0199a4e73b", "PurchaseOrderId": "b0bfa56a-482e-49e1-bd2c-497b48e42ad4", "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:22:26.8894304+08:00", "ID": "bac35664-bd9b-4bd9-9943-9d968d9b7afc", "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:22:26.8894304+08:00", "ID": "ef12da99-278e-4063-852a-0a4334be5c5b", "PurchaseOrderId": "87e1c5a8-cbef-481f-a518-19d74941e87a", "ApplyType": 0, "Remarks": "sample string 5", "CSegmentId": "843884cb-b2e7-407c-8bcc-ef860f5474d3", "LinkedId": "696d0db8-9237-4a1c-9ef3-5808636d4496", "PassengerIds": "sample string 6" }, { "PurchasePayments": { "RecordType": 0, "Creater": "sample string 1", "Time": "2024-12-24T03:22:26.8894304+08:00", "ID": "bac35664-bd9b-4bd9-9943-9d968d9b7afc", "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:22:26.8894304+08:00", "ID": "ef12da99-278e-4063-852a-0a4334be5c5b", "PurchaseOrderId": "87e1c5a8-cbef-481f-a518-19d74941e87a", "ApplyType": 0, "Remarks": "sample string 5", "CSegmentId": "843884cb-b2e7-407c-8bcc-ef860f5474d3", "LinkedId": "696d0db8-9237-4a1c-9ef3-5808636d4496", "PassengerIds": "sample string 6" } ], "RecordType": 0, "PaymentUri": "sample string 5", "Manual": true, "Creater": "sample string 6", "Time": "2024-12-24T03:22:26.8894304+08:00", "ID": "6d742c32-3090-4bc2-9f6d-0954f17b0467", "OrderId": "a83f7a4c-af49-4962-9eac-ec563f5bcd3c", "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" }, "PurchaseRefundPayment": { "ClaimlPrice": 1.1, "ServicePrice": 2.1, "TransactionId": "sample string 3", "Remarks": "sample string 4" }, "Succeed": true, "Message": "sample string 2" }