Label in Fledge: Iso-landcodes
| URL | https://odata-api.fledge.nl/v2-8/IsoCountryCodes |
|---|---|
| Key | iso_country_code |
| 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/IsoCountryCodes" \
--data-urlencode '$select=iso_country_code,iso_country_name,iso_alpha_3' \
--data-urlencode '$top=50' \
-H "Authorization: Bearer $TOKEN"const url = new URL('https://odata-api.fledge.nl/v2-8/IsoCountryCodes');
url.searchParams.set('$select', 'iso_country_code,iso_country_name,iso_alpha_3');
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/IsoCountryCodes" + "?" + string.Join("&",
"$select=" + Uri.EscapeDataString("iso_country_code,iso_country_name,iso_alpha_3"),
"$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/IsoCountryCodes('{iso_country_code}')Fields
| Field | Type | Description |
|---|---|---|
iso_country_codekey | String | ISO-landcode |
iso_alpha_3 | String | ISO alpha-3 code |
iso_country_name | String | ISO-landnaam |