Label in Fledge: Iso-landcodes

URLhttps://odata-api.fledge.nl/v2-8/IsoCountryCodes
Keyiso_country_code
AdministrationShared by all administrations.
OperationsGET listGET onePOSTPATCHDELETE
Read licensesBASISBASISAPP
Write licensesBEHEER
ScopesFLEDGE_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

FieldTypeDescription
iso_country_codekeyStringISO-landcode
iso_alpha_3StringISO alpha-3 code
iso_country_nameStringISO-landnaam
Wingman