====== Dostupni kursevi Narodne banke Srbije ======
Ovaj API endpoint vraća listu dostupnih valuta koje su definisane u sistemu Narodne banke Srbije, uključujući osnovne informacije o svakoj valuti.\\
Podaci uključuju ISO kod valute, naziv valute i datum od kojeg je kurs validan.\\
Sve opisane status kodove možete pronaći na [[:kb:web_api:http_codes|HTTP status kodovi]].
===== Zahtev =====
=== REST Endpoint ===
https://ws.melany.rs/api/rest/cer/nbs/currencies
===== Rezultat =====
^Naziv^Tip^Opis|
|currencyCode|number|Numerički ISO kod valute.|
|currencyCodeChar|string|Alfabetni ISO kod valute.|
|currencyName|string|Naziv valute na srpskom jeziku.|
|currencyDateFrom|string|Datum od kada je kurs validan, u ISO 8601 formatu.|
===== Primeri =====
=== REST Zahtev ===
curl -X 'GET' \
'https://ws.melany.rs/api/rest/cer/nbs/currencies' \
-H 'accept: application/json' \
-H 'Authorization: Bearer eyJjdHkiOiJKV1QiLCJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkEyNTZHQ00ifQ.yzD3amqkvVah8VVW31nnUgINEpZv7tmhC6DdiiXqctSek3deJ1gLbZO21lO3tgLpBd174yrH0pDN-NoNfIuaksXWRrGo8g-uN7_52Z9N_9ke72M5ddP8ociyH2Tlb8Wb57ebLq9vTT2rlwBElDYUev_ivWfOgtEk3RGvy0GwV_juVjmfykq9ypKGYykGWMCXRlyxpKrtOYYhrz5U5-EO0i-sspV8YL0HHvmd20-jPI9kC9vNFhXTbYWzF5hBjkl3OA1fOv9V53UmZijjwGIAYBNL4ygXsGDTBGreVdlRH9jKlDk4nDVpJhfJvigVERKCoQAI9Gq3ZX8UAAGjBWdWiw.vnA_Irhw-_9NHwkk.4TyH0Gj5cmqUNLZCDs_j06clJ9knHLmUxFV6Y3yqwixieacJU4llv7qsI4d10s06iEFj_laeLSpM_Q3bHHgLGmvjA-OOaJLJlL3u7eiE8Z5y0sy20nIPBmzslszSp3Ymz3KyrAQet5blelPYBMCIJrzroKOxtoSUTgISs3D6kw-4o2r9KVC76RM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x6jJJaRugD99oTs13yA0q5toVM36Fv16g8N1bW3QBUEtwIEGN_-bpxoZBOpqfoiCRekucpw1PSK97.yJ14cpDTiF6sMbgXuYY2xA'
=== Odgovor ===
[
{
"currencyCode": 36,
"currencyCodeChar": "AUD",
"currencyName": "Australijski dolar",
"currencyDateFrom": "2022-12-31T23:00:00.000+00:00"
},
{
"currencyCode": 380,
"currencyCodeChar": "ITL",
"currencyName": "Italijanska lira",
"currencyDateFrom": "2022-12-31T23:00:00.000+00:00"
},
{
"currencyCode": 643,
"currencyCodeChar": "RUB",
"currencyName": "Ruska rublja",
"currencyDateFrom": "2022-12-31T23:00:00.000+00:00"
},
{
"currencyCode": 756,
"currencyCodeChar": "CHF",
"currencyName": "Švajcarski franak",
"currencyDateFrom": "2022-12-31T23:00:00.000+00:00"
},
{
"currencyCode": 826,
"currencyCodeChar": "GBP",
"currencyName": "Britanska funta",
"currencyDateFrom": "2022-12-31T23:00:00.000+00:00"
},
{
"currencyCode": 840,
"currencyCodeChar": "USD",
"currencyName": "Američki dolar",
"currencyDateFrom": "2022-12-31T23:00:00.000+00:00"
},
{
"currencyCode": 978,
"currencyCodeChar": "EUR",
"currencyName": "Euro",
"currencyDateFrom": "2022-12-31T23:00:00.000+00:00"
}
]