System.getCurrencies | Previo API

System.getCurrencies

Global list of codes for currencies. 

Code list - Version as of 12th May 2021

ID Code Currency name
1 CZK Czech Koruna
2 EUR Euro
3 USD US dollar
5 GBP British pound
6 PLN Polish zloty
7 RUB Russian ruble
8 UAH Ukrainian hryvnia
9 HUF Hungarian forint
10 DKK Danish krone
12 CRC Costa Rican colon
14 RSD Serbian dinar
15 DOP Dominican peso
16 HNL Honduran lempira
17 HRK Croatian kuna
18 CHF Swiss franc
19 JPY Japanese yen
20 AED Dirham
21 CNY Chinese yuan
22 RON Romanian leu

Parameters

Name Description
login Username
password Password
lanId Language ID (optional)

Sample request

<request>
    <login>prihlasovaci_jmeno</login>
    <password>heslo</password>
</request>

Output

<currencies> [1]  
 
<defaultCurId> [1] Default currency ID of Previo API (api.previo.cz = 1, api.previo.sk = 2)
<currency> [1..*]  
 
<curId> [1] Currency ID
<code> [1] Three-letter currency code (ISO 4217)
<name> [1] Currency name

Sample output

<currencies>
    <defaultCurId>1</defaultCurId>
    <currency>
        <curId>1</curId>
        <code>CZK</code>
        <name>Česká koruna</name>
    </currency>
    <currency>
        <curId>2</curId>
        <code>EUR</code>
        <name>Euro</name>
    </currency>
    <currency>
        <curId>3</curId>
        <code>USD</code>
        <name>Dolar</name>
    </currency>
    <currency>
        <curId>4</curId>
        <code>SKK</code>
        <name>Slovenská koruna</name>
    </currency>
    <currency>
        <curId>5</curId>
        <code>GBP</code>
        <name>Britská libra</name>
    </currency>
    <currency>
        <curId>6</curId>
        <code>PLN</code>
        <name>Zlotý</name>
    </currency>
    <currency>
        <curId>7</curId>
        <code>RUB</code>
        <name>Ruský rubl</name>
    </currency>
</currencies>