Mauve.Bestellforum

<back to all web services

DeleteBankAccount

Delete a customers bank account.

Requires Authentication
Required permission:all
The following routes are available for this service:
DELETE/customer/{CustomerId}/bankaccounts/{BankAccountId}
All Verbs/customer/{CustomerId}/bankaccounts/{BankAccountId}/delete
DeleteBankAccount Parameters:
NameParameterData TypeRequiredDescription
CustomerIdpathstringYesThe id of the customer whose bank account should be deleted.
BankAccountIdpathintYesThe id of the bank account to delete.

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /customer/{CustomerId}/bankaccounts/{BankAccountId}/delete HTTP/1.1 
Host: bestellforum.api.mauve.de 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<DeleteBankAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mauve.Bestellforum.ServiceModel">
  <BankAccountId>0</BankAccountId>
  <CustomerId>String</CustomerId>
</DeleteBankAccount>