API Documentation

  • Home
  • ChangeLog
  • Terms of use
  • Swagger UI
  • Account
  • Address
  • Analytic
  • BankAccount
  • Contact
  • Country
  • Currency
  • Customer
  • Dashboard
  • Document
  • DocumentNumbering
  • Employee
  • ExchangeRate
  • Inbox
  • IssuedInvoice
  • IssuedInvoicePosting
  • Item
  • Journal
  • JournalType
  • Order
  • Organisation
  • Outbox
  • PaymentMethod
  • PayrollSettings
  • PostalCode
  • ProductGroup
  • PurposeCode
  • ReceivedInvoice
  • ReportTemplate
  • Stock
  • StockEntry
  • User
  • VatAccountingType
  • VatRate
  • Warehouse

BankAccount -> UpdateBankAccount

Updates a bank account.

Request

Relative request path: api/orgs/{organisationId}/customers/{customerId}/bankAccounts/{bankAccountId}

  • Description
  • CS
  • PHP
  • Java

PropertyDescription
organisationIdorganisation id
customerIdcustomer id
bankAccountIdbank account id
accountaccount data

Request parameters:

  • long organisationId - organisation id
  • long customerId - customer id
  • long bankAccountId - bank account id
  • BankAccount account - account data

    /// Bank account details.
    public class BankAccount
    {
        // Bank account id.
        // Ignored on create request.
        public long BankAccountId { get; set; }
        // Customer.
        public mMApiFkField Customer { get; set; }
        // Bank account name.
        public string Name { get; set; }
        // IBAN: Country code and check digits.
        public string IBAN { get; set; }
        // Basic Bank Account Number.
        public string AccountNumber { get; set; }
        // Bank Identifier Code.
        public string BIC { get; set; }
        // Default IBAN:
        // <ul>
        //     <li>D – Yes,</li>
        //     <li>N – No.</li>
        // </ul>

        public string Default { get; set; }
        public DateTime RecordDtModified { get; set; }
        // Row version is used for concurrency check.
        // Ignored on create request.
        public string RowVersion { get; set; }
    
    }

        /// Link with id, name and url to related data.
        public class mMApiFkField
        {
            // Record id.
            public long? ID { get; set; }
            // Record name.
            public string Name { get; private set; }
            // Url to full record details.
            public string ResourceUrl { get; private set; }
        
        }

Request parameters:

  • Int64 organisationId - organisation id
  • Int64 customerId - customer id
  • Int64 bankAccountId - bank account id
  • BankAccount account - account data

    /// Bank account details.
    class BankAccount
    {
        // Bank account id.
        // Ignored on create request.
        public $BankAccountId;
        // Customer.
        public $Customer;
        // Bank account name.
        public $Name;
        // IBAN: Country code and check digits.
        public $IBAN;
        // Basic Bank Account Number.
        public $AccountNumber;
        // Bank Identifier Code.
        public $BIC;
        // Default IBAN:
        // <ul>
        //     <li>D – Yes,</li>
        //     <li>N – No.</li>
        // </ul>

        public $Default;
        public $RecordDtModified;
        // Row version is used for concurrency check.
        // Ignored on create request.
        public $RowVersion;
    
    }

        /// Link with id, name and url to related data.
        class mMApiFkField
        {
            // Record id.
            public $ID;
            // Record name.
            public $Name;
            // Url to full record details.
            public $ResourceUrl;
        
        }

Request parameters:

  • Long organisationId - organisation id
  • Long customerId - customer id
  • Long bankAccountId - bank account id
  • BankAccount account - account data

    /// Bank account details.
    public class BankAccount
    {
        // Bank account id.
        // Ignored on create request.
        public Long BankAccountId;
        // Customer.
        public mMApiFkField Customer;
        // Bank account name.
        public String Name;
        // IBAN: Country code and check digits.
        public String IBAN;
        // Basic Bank Account Number.
        public String AccountNumber;
        // Bank Identifier Code.
        public String BIC;
        // Default IBAN:
        // <ul>
        //     <li>D – Yes,</li>
        //     <li>N – No.</li>
        // </ul>

        public String Default;
        public Date RecordDtModified;
        // Row version is used for concurrency check.
        // Ignored on create request.
        public String RowVersion;
    
    }

        /// Link with id, name and url to related data.
        public class mMApiFkField
        {
            // Record id.
            public Long ID;
            // Record name.
            public String Name;
            // Url to full record details.
            public String ResourceUrl;
        
        }

Response

  • Description
  • CS
  • PHP
  • Java

PropertyDescription
Version
Content
StatusCode
ReasonPhrase
Headers
RequestMessage
IsSuccessStatusCode

This method returns result of type 'HttpResponseMessage'.

This method returns result of type 'HttpResponseMessage'.

This method returns result of type 'HttpResponseMessage'.

 
Authorization endpoint : https://moj.minimax.si/SI/AUT/OAuth20
Token endpoint           : https://moj.minimax.si/SI/AUT/OAuth20/Token
Return url                   : https://moj.minimax.si/SI/API/Help/TestClientDialogsAuth
 
URI parameters
=
Headers | Add custom header
: Delete
Body
Samples:
Status
Headers
            
        
Body