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

Account -> GetAccount

Returns an account.

Request

Relative request path: api/orgs/{organisationId}/accounts/{accountId}

  • Description
  • CS
  • PHP
  • Java

PropertyDescription
organisationIdorganisation id
accountIdaccount id

Request parameters:

  • long organisationId - organisation id
  • long accountId - account id

Request parameters:

  • Int64 organisationId - organisation id
  • Int64 accountId - account id

Request parameters:

  • Long organisationId - organisation id
  • Long accountId - account id

Response

  • Description
  • CS
  • PHP
  • Java

PropertyDescription
AccountIdAccount id.
CodeAccount code.
NameAccount name.
NameInOtherLanguageOther language account name.
NameInEnglishEnglish account name.
DescriptionAccount description.
AllowedPostingPossible values: (V, B, D, N). Posting side:
  • V – debit and credit,
  • B – only debit,
  • D – only credit,
  • N – Posting is not allowed.
InvoiceAccountingPossible values: (N, B, D). Account posting:
  • N – No account,
  • B – debit
  • D – credit
AnalyticsEntryPossible values: (V, N, D). Analytics entry:
  • V – Input allowed,
  • N – Input not allowed,
  • D – Mandatory input.
EmployeeEntryEmployee entry:
  • V – Input allowed,
  • N – Input not allowed,
  • D – Mandatory input.
CustomerEntryPossible values: (V, N, D). Customer entry:
  • V – Input allowed,
  • N – Input not allowed,
  • D – Mandatory input.
NonTaxablePossible values: (D, N). Unrecognized account in terms of tax:
  • N – No,
  • D – Yes.
ApplicationPossible values: (D, N). Application:
  • N – No,
  • D – Yes.
ValidFromYearAccount validity from year. Readonly.
ValidToYearAccount validity to year. Readonly.
RecordDtModified
RowVersionRow version is used for concurrency check.

This method returns result of type 'SAOP.API.Models.Account.Account'.

    /// Account details.
    public class Account
    {
        // Account id.
        // Ignored on create request.
        public long AccountId { get; set; }
        // Account code.
        public string Code { get; set; }
        // Account name.
        public string Name { get; set; }
        // Other language account name.
        public string NameInOtherLanguage { get; set; }
        // English account name.
        public string NameInEnglish { get; set; }
        // Account description.
        public string Description { get; set; }
        // Posting side:
        // <ul>
        //     <li>V – debit and credit,</li>
        //     <li>B – only debit,</li>
        //     <li>D – only credit,</li>
        //     <li>N – Posting is not allowed.</li>
        // </ul>

        public string AllowedPosting { get; set; }
        // Account posting:
        // <ul>
        //     <li>N –  No account,</li>
        //     <li>B – debit</li>
        //     <li>D – credit</li>
        // </ul>
        //

        public string InvoiceAccounting { get; set; }
        // Analytics entry:
        // <ul>
        //     <li>V – Input allowed,</li>
        //     <li>N – Input not allowed,</li>
        //     <li>D – Mandatory input.</li>
        // </ul>
        //

        public string AnalyticsEntry { get; set; }
        // Employee entry:
        // <ul>
        //     <li>V – Input allowed,</li>
        //     <li>N – Input not allowed,</li>
        //     <li>D – Mandatory input.</li>
        // </ul>
        //

        public string EmployeeEntry { get; set; }
        // Customer entry:
        // <ul>
        //     <li>V – Input allowed,</li>
        //     <li>N – Input not allowed,</li>
        //     <li>D – Mandatory input.</li>
        // </ul>
        //

        public string CustomerEntry { get; set; }
        // Unrecognized account in terms of tax:
        // <ul>
        //     <li>N – No,</li>
        //     <li>D – Yes.</li>
        // </ul>
        //

        public string NonTaxable { get; set; }
        // Application:
        // <ul>
        //     <li>N – No,</li>
        //     <li>D – Yes.</li>
        // </ul>
        //

        public string Application { get; set; }
        // Account validity from year.
        public int ValidFromYear { get; set; }
        // Account validity to year.
        public int ValidToYear { get; set; }
        public DateTime RecordDtModified { get; set; }
        // Row version is used for concurrency check.
        // Ignored on create request.
        public string RowVersion { get; set; }
    
    }

This method returns result of type 'SAOP.API.Models.Account.Account'.

    /// Account details.
    class Account
    {
        // Account id.
        // Ignored on create request.
        public $AccountId;
        // Account code.
        public $Code;
        // Account name.
        public $Name;
        // Other language account name.
        public $NameInOtherLanguage;
        // English account name.
        public $NameInEnglish;
        // Account description.
        public $Description;
        // Posting side:
        // <ul>
        //     <li>V – debit and credit,</li>
        //     <li>B – only debit,</li>
        //     <li>D – only credit,</li>
        //     <li>N – Posting is not allowed.</li>
        // </ul>

        public $AllowedPosting;
        // Account posting:
        // <ul>
        //     <li>N –  No account,</li>
        //     <li>B – debit</li>
        //     <li>D – credit</li>
        // </ul>
        //

        public $InvoiceAccounting;
        // Analytics entry:
        // <ul>
        //     <li>V – Input allowed,</li>
        //     <li>N – Input not allowed,</li>
        //     <li>D – Mandatory input.</li>
        // </ul>
        //

        public $AnalyticsEntry;
        // Employee entry:
        // <ul>
        //     <li>V – Input allowed,</li>
        //     <li>N – Input not allowed,</li>
        //     <li>D – Mandatory input.</li>
        // </ul>
        //

        public $EmployeeEntry;
        // Customer entry:
        // <ul>
        //     <li>V – Input allowed,</li>
        //     <li>N – Input not allowed,</li>
        //     <li>D – Mandatory input.</li>
        // </ul>
        //

        public $CustomerEntry;
        // Unrecognized account in terms of tax:
        // <ul>
        //     <li>N – No,</li>
        //     <li>D – Yes.</li>
        // </ul>
        //

        public $NonTaxable;
        // Application:
        // <ul>
        //     <li>N – No,</li>
        //     <li>D – Yes.</li>
        // </ul>
        //

        public $Application;
        // Account validity from year.
        public $ValidFromYear;
        // Account validity to year.
        public $ValidToYear;
        public $RecordDtModified;
        // Row version is used for concurrency check.
        // Ignored on create request.
        public $RowVersion;
    
    }

This method returns result of type 'SAOP.API.Models.Account.Account'.

    /// Account details.
    public class Account
    {
        // Account id.
        // Ignored on create request.
        public Long AccountId;
        // Account code.
        public String Code;
        // Account name.
        public String Name;
        // Other language account name.
        public String NameInOtherLanguage;
        // English account name.
        public String NameInEnglish;
        // Account description.
        public String Description;
        // Posting side:
        // <ul>
        //     <li>V – debit and credit,</li>
        //     <li>B – only debit,</li>
        //     <li>D – only credit,</li>
        //     <li>N – Posting is not allowed.</li>
        // </ul>

        public String AllowedPosting;
        // Account posting:
        // <ul>
        //     <li>N –  No account,</li>
        //     <li>B – debit</li>
        //     <li>D – credit</li>
        // </ul>
        //

        public String InvoiceAccounting;
        // Analytics entry:
        // <ul>
        //     <li>V – Input allowed,</li>
        //     <li>N – Input not allowed,</li>
        //     <li>D – Mandatory input.</li>
        // </ul>
        //

        public String AnalyticsEntry;
        // Employee entry:
        // <ul>
        //     <li>V – Input allowed,</li>
        //     <li>N – Input not allowed,</li>
        //     <li>D – Mandatory input.</li>
        // </ul>
        //

        public String EmployeeEntry;
        // Customer entry:
        // <ul>
        //     <li>V – Input allowed,</li>
        //     <li>N – Input not allowed,</li>
        //     <li>D – Mandatory input.</li>
        // </ul>
        //

        public String CustomerEntry;
        // Unrecognized account in terms of tax:
        // <ul>
        //     <li>N – No,</li>
        //     <li>D – Yes.</li>
        // </ul>
        //

        public String NonTaxable;
        // Application:
        // <ul>
        //     <li>N – No,</li>
        //     <li>D – Yes.</li>
        // </ul>
        //

        public String Application;
        // Account validity from year.
        public Integer ValidFromYear;
        // Account validity to year.
        public Integer ValidToYear;
        public Date RecordDtModified;
        // Row version is used for concurrency check.
        // Ignored on create request.
        public String RowVersion;
    
    }

 
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