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

ExchangeRate -> GetExchangeRateByCurrencyId

Returns the daily exchange rate for the specified currency.

Request

Relative request path: api/orgs/{organisationId}/exchange-rates/{currencyId}?date={date}

  • Description
  • CS
  • PHP
  • Java

PropertyDescription
organisationId
currencyIdThe currency id.
date

Request parameters:

  • long organisationId -
  • long currencyId - The currency id.
  • Nullable`1 date -

Request parameters:

  • Int64 organisationId -
  • Int64 currencyId - The currency id.
  • Nullable`1 date -

Request parameters:

  • Long organisationId -
  • Long currencyId - The currency id.
  • Nullable`1 date -

Response

  • Description
  • CS
  • PHP
  • Java

PropertyDescription
DateExchange rate date.
Currencyclass Currency. Currency.
MidRateMiddle exchange rate.

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

    /// Exchange rate details.
    public class ExchangeRate
    {
        // Exchange rate date.
        public DateTime Date { get; set; }
        // Currency.
        public mMApiFkField Currency { get; set; }
        // Middle exchange rate.
        public Decimal MidRate { 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; }
        
        }

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

    /// Exchange rate details.
    class ExchangeRate
    {
        // Exchange rate date.
        public $Date;
        // Currency.
        public $Currency;
        // Middle exchange rate.
        public $MidRate;
    
    }

        /// 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;
        
        }

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

    /// Exchange rate details.
    public class ExchangeRate
    {
        // Exchange rate date.
        public Date Date;
        // Currency.
        public mMApiFkField Currency;
        // Middle exchange rate.
        public Double MidRate;
    
    }

        /// 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;
        
        }

 
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