Links an article to one image file. The image is a Base64Files row: read it there, in a separate query, not through $expand. Not the same as files attached to an article (DocumentLinks with linked_table 'part').

Label in Fledge: Koppeltabel artikel/Base64File

URLhttps://odata-api.fledge.nl/v2-8/ArticleBase64Files
Keyadministration_idarticle_idbase_64_file_id
AdministrationRows belong to one administration: always filter on administration_id.
OperationsGET listGET onePOSTPATCHDELETE
Read licensesBASISBASISAPP
Write licensesINKOOPVERKOOPPRODUCTIEFINANCIEELBEHEER
ScopesFLEDGE_PORTALFLEDGE_TERMINAL

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/ArticleBase64Files" \
  --data-urlencode '$filter=administration_id eq 1' \
  --data-urlencode '$select=article_id,base_64_file_id' \
  --data-urlencode '$top=50' \
  -H "Authorization: Bearer $TOKEN"
const url = new URL('https://odata-api.fledge.nl/v2-8/ArticleBase64Files');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'article_id,base_64_file_id');
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/ArticleBase64Files" + "?" + string.Join("&",
    "$filter=" + Uri.EscapeDataString("administration_id eq 1"),
    "$select=" + Uri.EscapeDataString("article_id,base_64_file_id"),
    "$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/ArticleBase64Files(administration_id=1,article_id='{article_id}',base_64_file_id={base_64_file_id})

Fields

FieldTypeDescription
administration_idkeyInt32Administratienummer: Administratie
article_idkeyStringArtikelcode
base_64_file_idkeyInt64Volgnummer
Wingman