Label in Fledge: Staffelprijzen VV

URLhttps://odata-api.fledge.nl/v2-8/GraduatedPricesFreeFields
Keyadministration_idarticle_idcreditor_idcurrency_code_idgraduated_prices_idsequence
AdministrationRows belong to one administration: always filter on administration_id.
OperationsGET listGET onePOSTPATCHDELETE
Read licensesBASISFINANCIEELBEHEER
Write licensesFINANCIEELBEHEER
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/GraduatedPricesFreeFields" \
  --data-urlencode '$filter=administration_id eq 1' \
  --data-urlencode '$select=article_id,creditor_id,currency_code_id,graduated_prices_id,sequence,date_creation,date_modification,price' \
  --data-urlencode '$top=50' \
  -H "Authorization: Bearer $TOKEN"
const url = new URL('https://odata-api.fledge.nl/v2-8/GraduatedPricesFreeFields');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'article_id,creditor_id,currency_code_id,graduated_prices_id,sequence,date_creation,date_modification,price');
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/GraduatedPricesFreeFields" + "?" + string.Join("&",
    "$filter=" + Uri.EscapeDataString("administration_id eq 1"),
    "$select=" + Uri.EscapeDataString("article_id,creditor_id,currency_code_id,graduated_prices_id,sequence,date_creation,date_modification,price"),
    "$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/GraduatedPricesFreeFields(administration_id=1,article_id='{article_id}',creditor_id={creditor_id},currency_code_id={currency_code_id},graduated_prices_id={graduated_prices_id},sequence={sequence})

Fields

FieldTypeDescription
administration_idkeyInt32Administratienummer
sequencekeyInt32Volgorde leveranciers
article_idkeyStringArtikelcode
creditor_idkeyInt32Crediteurnummer
currency_code_idkeyInt32Valutanummer
graduated_prices_idkeyInt32Nummer
changed_byInt32User wijzig
created_byInt32User aanmaak
date_creationDateDatum aanmaak
date_modificationDateDatum wijzig
priceDecimalPrijs
price_miter_1DecimalVerstek 1: Verstekzaagprijs 1
price_miter_2DecimalVerstek 2: Verstekzaagprijs 2
price_miter_3DecimalVerstek 3: Verstekzaagprijs 3
price_sandblastingDecimalStraalprijs
price_sandblasting_primerDecimalStraal + menieprijs
price_sawingDecimalZaagprijs
quantityDecimalAantal

Relations

Read a related row or list in the same request with $expand, and give it its own $select; a list also needs a $top.

NavigationEntity set
AdministrationAdministrationsone
ArticleSupplierArticleSuppliersone
Wingman