A country, the same for all administrations.
Label in Fledge: Landcodes
| URL | https://odata-api.fledge.nl/v2-8/CountryCodes |
|---|---|
| Key | country_code_id |
| Administration | Shared by all administrations. |
| Operations | GET listGET onePOSTPATCHDELETE |
| Read licenses | BASISBASISAPP |
| Write licenses | BEHEER |
| Scopes | FLEDGE_PORTAL |
Example requests
A page of rows, with only the fields you need. See Authentication for the token.
curl -G "https://odata-api.fledge.nl/v2-8/CountryCodes" \
--data-urlencode '$select=country_code_id,currency_code,is_domestic,is_eeg_country' \
--data-urlencode '$top=50' \
-H "Authorization: Bearer $TOKEN"const url = new URL('https://odata-api.fledge.nl/v2-8/CountryCodes');
url.searchParams.set('$select', 'country_code_id,currency_code,is_domestic,is_eeg_country');
url.searchParams.set('$top', '50');
const response = await fetch(url, { headers: { Authorization: `Bearer ${token}` } });
const { value } = await response.json();var url = "https://odata-api.fledge.nl/v2-8/CountryCodes" + "?" + string.Join("&",
"$select=" + Uri.EscapeDataString("country_code_id,currency_code,is_domestic,is_eeg_country"),
"$top=" + Uri.EscapeDataString("50"));
http.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token);
var json = await http.GetStringAsync(url);One row by its key:
GET https://odata-api.fledge.nl/v2-8/CountryCodes({country_code_id})Fields
| Field | Type | Description |
|---|---|---|
country_code_idkey | Int32 | Landnummer |
currency_code | String | Valutakode The currency abbreviation, such as EUR, not a currency_code_id. |
description | String | Omschrijving |
intrastat_alpha_code | String | Alfacode landencodering intrastat |
intrastat_country_code | Int32 | Landnummer landencodering intrastat |
is_domestic | Boolean | Binnenland The administration's own country (binnenland); counts as domestic for VAT even if also in the EU. |
is_eeg_country | Boolean | EEG-land An EU country (EEG-land). |
iso_alpha_3_code | String | ISO alpha-3 code |
iso_code | String | Landcode The ISO country code (two letters). |
language_code_id | Int32 | Taalkode The country's language. |
postal_code_format | String | Postkode form.: Postkode formaat |
telephone_access_number | String | Toegangsnummer |
telephone_format | String | Tel. Formaat: Formaat Tel.nummer |