POST Webshop/GetWebshopCheckOutPaymentMethods
Verkrijg de betaalmethodes van een WebshopUser.
Request Information
URI Parameters
None.
Body Parameters
WebshopCheckOutPaymentMethodsFilterName | Description | Type | Additional information |
---|---|---|---|
DebtorId |
Debiteurnummer |
integer |
Required |
ShippingMethodId |
Id van de aflevermethode |
integer |
Required |
ShowOnlySelectedPaymentMethodDebtor |
Laat alleen voorgeselecteerde betaalmethode van debiteur zien |
boolean |
None. |
TotalPrice |
Totaal prijs winkelmandje Excl. BTW |
decimal number |
None. |
ShowOnlyAfterPayments |
Alleen betaalmethodes met levering op rekening |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "DebtorId": 1, "ShippingMethodId": 2, "ShowOnlySelectedPaymentMethodDebtor": true, "TotalPrice": 3.0, "ShowOnlyAfterPayments": true }
application/xml, text/xml
Sample:
<WebshopCheckOutPaymentMethodsFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.Filters"> <DebtorId>1</DebtorId> <ShippingMethodId>2</ShippingMethodId> <ShowOnlyAfterPayments>true</ShowOnlyAfterPayments> <ShowOnlySelectedPaymentMethodDebtor>true</ShowOnlySelectedPaymentMethodDebtor> <TotalPrice>3</TotalPrice> </WebshopCheckOutPaymentMethodsFilter>
Response Information
Resource Description
Logic4ResponseListOfPaymentMethodName | Description | Type | Additional information |
---|---|---|---|
Records | Collection of PaymentMethod |
None. |
|
RecordsCounter | integer |
None. |
|
ValidationMessages |
Eventuele foutmeldingen |
Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Records": [ { "Id": 1, "Description": "sample string 2", "MaxAmount": 1.0, "SelectKey": "sample string 3" }, { "Id": 1, "Description": "sample string 2", "MaxAmount": 1.0, "SelectKey": "sample string 3" } ], "RecordsCounter": 2, "ValidationMessages": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<Logic4ResponseListOfPaymentMethodLnN1pw8Y xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.ResponseModels"> <ValidationMessages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </ValidationMessages> <Records xmlns:d2p1="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.Models"> <d2p1:PaymentMethod> <d2p1:Description>sample string 2</d2p1:Description> <d2p1:Id>1</d2p1:Id> <d2p1:MaxAmount>1</d2p1:MaxAmount> <d2p1:SelectKey>sample string 3</d2p1:SelectKey> </d2p1:PaymentMethod> <d2p1:PaymentMethod> <d2p1:Description>sample string 2</d2p1:Description> <d2p1:Id>1</d2p1:Id> <d2p1:MaxAmount>1</d2p1:MaxAmount> <d2p1:SelectKey>sample string 3</d2p1:SelectKey> </d2p1:PaymentMethod> </Records> </Logic4ResponseListOfPaymentMethodLnN1pw8Y>