Label in Fledge: Inkoopordermateriaal: Inkoopmateriaal

URLhttps://odata-api.fledge.nl/v2-8/PurchaseMaterials
Keyadministration_idpurchase_material_idpurchase_order_header_id
AdministrationRows belong to one administration: always filter on administration_id.
OperationsGET listGET onePOSTPATCHDELETE
Read licensesBASIS
Write licensesINKOOP
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/PurchaseMaterials" \
  --data-urlencode '$filter=administration_id eq 1' \
  --data-urlencode '$select=purchase_material_id,purchase_order_header_id,creation_date,modification_date,order_quantity' \
  --data-urlencode '$top=50' \
  -H "Authorization: Bearer $TOKEN"
const url = new URL('https://odata-api.fledge.nl/v2-8/PurchaseMaterials');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'purchase_material_id,purchase_order_header_id,creation_date,modification_date,order_quantity');
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/PurchaseMaterials" + "?" + string.Join("&",
    "$filter=" + Uri.EscapeDataString("administration_id eq 1"),
    "$select=" + Uri.EscapeDataString("purchase_material_id,purchase_order_header_id,creation_date,modification_date,order_quantity"),
    "$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/PurchaseMaterials(administration_id=1,purchase_material_id={purchase_material_id},purchase_order_header_id='{purchase_order_header_id}')

Fields

FieldTypeDescription
administration_idkeyInt32Administratienummer
purchase_material_idkeyInt32Regelnummer
purchase_order_header_idkeyStringOrdernummer
allowanceInt32Nummer: Toeslagprijs 1
article_custom_field_set_idInt32Volgnummer
article_idStringArtikelcode
created_byInt32Gebruiker aanmaak
creation_dateDateDatum aanmaak
creditor_group_idInt32Crediteurgroep nummer
creditor_idInt32Crediteurnummer
currency_code_idInt32Valutanummer
determina_weightBooleanBepaal gewicht
determine_surface_areaBooleanBepaal oppervlakte
internal_serial_number_1Int32Intern volgnummer
internal_serial_number_2Int32Intern volgnummer
internal_serial_number_3Int32Intern volgnummer
internal_serial_number_4Int32Nummer: Bewerkingsprijs 4
internal_serial_number_5Int32Nummer: Bewerkingsprijs 5
internal_serial_number_6Int32Nummer: Bewerkingsprijs 6
internal_serial_number_baseInt32Intern volgnummer
internal_serial_number_overInt32Intern volgnummer
material_shape_idStringMateriaalvorm code
materials_parts_list_corner_1BooleanMeerdere hoeken
materials_parts_list_corner_2DecimalHoek 1
materials_parts_list_multiple_cornersDecimalHoek 2
materials_parts_list_number_of_saw_cutsInt32Aantal maal zagen
materials_parts_list_type_miter_sawsInt32Type verstekzagen (liggend, staand)
material_type_idStringMateriaalsoort: alfanumerieke code voor het materiaal, 15 karakters lang
modification_dateDateDatum wijzig
order_quantityDecimalBestel aantal
pre_calculation_material_additionBooleanToeslag
pre_calculation_material_amount_pre_calculationDecimalDeclarabel bedrag
pre_calculation_material_base_article_idStringArtikel (torm.part_code, msrt.part_code)
pre_calculation_material_burn_surface_finishBooleanBranden
pre_calculation_material_calculation_methodInt32Rekenmethode
pre_calculation_material_do_miter_sawBooleanVerstekzagen
pre_calculation_material_do_sawBooleanZagen
pre_calculation_material_gross_priceDecimalPrijs bruto
pre_calculation_material_has_miter_saw_priceBooleanToepassen verstekzaagprijs
pre_calculation_material_material_textInt32Mat/art/tekst: Materiaal/artikel/tekst
pre_calculation_material_net_gross_manualInt32Netto/Bruto/Handmatig
pre_calculation_material_net_priceDecimalPrijs netto
pre_calculation_material_number_of_cutsDecimalZaagsnede
pre_calculation_material_order_unit_grossDecimalBestel bruto: Besteleenheid bruto
pre_calculation_material_order_unit_netDecimalBestel netto
pre_calculation_material_over_priceBooleanOverprijs
pre_calculation_material_parameter_1DecimalPar 1: Parameter 1
pre_calculation_material_parameter_2DecimalPar 2: Parameter 2
pre_calculation_material_parameter_3DecimalPar 3: Parameter 3
pre_calculation_material_parameter_4DecimalPar 4: Parameter 4
pre_calculation_material_parameter_5DecimalPar 5: Parameter 5
pre_calculation_material_parameter_6DecimalPar 6: Parameter 6
pre_calculation_material_position_numberStringPos-nummer
pre_calculation_material_priceDecimalPrijs per stuk
pre_calculation_material_price_systemInt32Prijssysteem
pre_calculation_material_price_unitDecimalPrijs eenheid
pre_calculation_material_radiusBooleanStralen
pre_calculation_material_sandblast_lead_paintBooleanStralen + menie`: Stralen + menie
pre_calculation_material_sandblast_sigmaweldBooleanStralen + sigmaweld
pre_calculation_material_storageDecimalOpslag
pre_calculation_material_weight_grossDecimalGewicht bruto
pre_calculation_material_weight_netDecimalGewicht netto
purchase_order_line_benchmarkDecimalMaatstaf intrastat-aangifte
purchase_order_line_categoryStringRubriek BTW omzet aangifte
purchase_order_line_currency_unitInt32Eenheid valuta
purchase_order_line_delivery_dateDateDatum levering
purchase_order_line_delivery_weekInt32Week levering
purchase_order_line_description_1StringOmschrijving
purchase_order_line_description_2StringOmschrijving: Omschrjving
purchase_order_line_description_3StringOmschrijving
purchase_order_line_discountDecimalKorting
purchase_order_line_exchange_rateDecimalKoers
purchase_order_line_foreign_currency_priceDecimalBruto prijs vv: Bruto prijs vreemde valuta
purchase_order_line_foreign_currency_price_with_vatDecimalNetto prijs vv: Netto prijs vreemde valuta
purchase_order_line_intrastat_statistic_valueDecimalStatistische waarde voor intrastat-aangifte
purchase_order_line_intrastat_weightDecimalGewicht
purchase_order_line_invoice_valueDecimalFactuurwaarde voor intrastat-aangifte
purchase_order_line_memoStringMemo
purchase_order_line_order_codeStringBestelkode
purchase_order_line_order_dateDateDatum order
purchase_order_line_order_priceDecimalBestelprijs
purchase_order_line_order_weekInt32Week order
quantityDecimalAantal
revenue_group_idInt32Omzetgroep
sequenceInt32Volgorde
updated_byInt32Gebruiker wijzig
vat_code_idInt32BTW nummer
warehouse_address_idInt32Adresnummer
warehouse_aisle_idInt32Magazijn
warehouse_shelf_idInt32Locatie

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
PurchaseOrderHeaderPurchaseOrderHeadersone
Wingman