Label in Fledge: VC-materialen productiehistorie

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

Fields

FieldTypeDescription
administration_idkeyInt32Administratienummer
historic_production_order_header_idkeyStringOrdernummer
historic_production_order_assembly_idkeyInt32Schrap
historic_pre_calculation_material_idkeyInt32Volgnummer
addressInt32Adres
angle_1DecimalHoek 1
angle_2DecimalHoek 2
article_idStringArtikel
article_custom_field_set_idInt32Volgnummer
billable_amountDecimalDeclarabel bedrag
calculation_methodInt32Rekenmethode
creditor_idInt32Leverancier
custom_field_1StringVrije veld 1
custom_field_10Stringvrije veld 10
custom_field_11StringVrije veld 11
custom_field_12StringVrije veld 12
custom_field_13StringVrije veld 13
custom_field_14StringVrije veld 14
custom_field_15StringVrije veld 15
custom_field_16StringVrij veld 16
custom_field_17StringVrij veld 17
custom_field_18StringVrij veld 18
custom_field_19StringVrij veld 19
custom_field_2StringVrije veld 2
custom_field_20StringVrij veld 20
custom_field_21StringVrij veld 21
custom_field_22StringVrij veld 22
custom_field_23StringVrij veld 23
custom_field_24StringVrij veld 24
custom_field_25StringVrij veld 25
custom_field_3StringVrije Veld 3
custom_field_4StringVrije Veld 4
custom_field_5StringVrije Veld 5
custom_field_6StringVrije Veld 6
custom_field_7StringVrije Veld 7
custom_field_8StringVrije Veld 8
custom_field_9StringVrije Veld 9
description_1StringOmschrijving
description_2StringOmschrijving
description_3StringOmschrijving
description_specialStringOmschrijving speciaal
drawing_numberStringTekeningnummer
gross_priceDecimalPrijs bruto
has_additionBooleanToeslag
has_been_firedBooleanBranden
has_cutBooleanZagen
has_miter_cutBooleanVerstekzagen
has_miter_cut_priceBooleanToepassen verstekzaagprijs
has_multiple_anglesBooleanMeerdere hoeken
has_sandblastBooleanStralen
has_sandblast_lead_paintBooleanStralen + menie`: Stralen + menie
has_sandblast_sigmaweldBooleanStralen + sigmaweld
is_fixed_lengthBooleanFixed lengte
is_independend_quantityBooleanAantal onafhankelijk
is_over_priceBooleanOverprijs
material_shapeStringMateriaal vorm
material_typeStringMateriaalsoort
measure_areaBooleanBepaal oppervlakte
measure_weigthBooleanBepaal gewicht
memoStringMemo
net_gross_manualInt32N/B/H: Netto/bruto/handmatig
net_priceDecimalPrijs netto
number_of_cutsInt32Aantal maal zagen
order_grossDecimalBestel bruto
order_netDecimalBestel netto
parameter_1DecimalParameter 1
parameter_2DecimalParameter 2
parameter_3DecimalParameter 3
parameter_4DecimalParameter 4
parameter_5DecimalParameter 5
parameter_6DecimalParameter 6
pos_numberStringPos-nummer
priceDecimalPrijs
price_systemInt32Prijssysteem
quantityDecimalAantal
revisionStringRevisie
saw_cutDecimalZaagsnede
storageDecimalOpslag
text_lineInt32A/T: Artikel/tekst regel
total_priceDecimalTotaal kostprijs
total_quantityDecimalTotaal aantal
tracking_number_addital_price_1Int32Nummer: Toeslagprijs 1
tracking_number_baseInt32Intern volgnummer
tracking_number_operation_1Int32Intern volgnummer
tracking_number_operation_2Int32Intern volgnummer
tracking_number_operation_3Int32Intern volgnummer
tracking_number_operation_4Int32Nummer: Bewerkingsprijs 4
tracking_number_operation_5Int32Nummer: Bewerkingsprijs 5
tracking_number_operation_6Int32Nummer: Bewerkingsprijs 6
tracking_number_superfluous_1Int32Intern volgnummer
type_of_miter_cutInt32Type verstekzagen (liggend, staand)
unit_priceDecimalPrijs eenheid: Prijs per eenheid
warehouse_aisle_idInt32Magazijn
warehouse_shelf_idInt32Locatie
weight_grossDecimalGewicht bruto
weight_netDecimalGewicht netto

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
Wingman