Label in Fledge: VC-koopmaakdelen historie

URLhttps://odata-api.fledge.nl/v2-8/HistoricPreCalculationBuyMakeParts
Keyadministration_idhistoric_production_order_assembly_idhistoric_production_order_header_idhistoric_production_order_pre_calculation_buy_make_part_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/HistoricPreCalculationBuyMakeParts" \
  --data-urlencode '$filter=administration_id eq 1' \
  --data-urlencode '$select=historic_production_order_assembly_id,historic_production_order_header_id,historic_production_order_pre_calculation_buy_make_part_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/HistoricPreCalculationBuyMakeParts');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'historic_production_order_assembly_id,historic_production_order_header_id,historic_production_order_pre_calculation_buy_make_part_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/HistoricPreCalculationBuyMakeParts" + "?" + string.Join("&",
    "$filter=" + Uri.EscapeDataString("administration_id eq 1"),
    "$select=" + Uri.EscapeDataString("historic_production_order_assembly_id,historic_production_order_header_id,historic_production_order_pre_calculation_buy_make_part_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/HistoricPreCalculationBuyMakeParts(administration_id=1,historic_production_order_assembly_id={historic_production_order_assembly_id},historic_production_order_header_id='{historic_production_order_header_id}',historic_production_order_pre_calculation_buy_make_part_id={historic_production_order_pre_calculation_buy_make_part_id})

Fields

FieldTypeDescription
administration_idkeyInt32Administratienummer
historic_production_order_header_idkeyStringOrdernummer
historic_production_order_assembly_idkeyInt32Schrap
historic_production_order_pre_calculation_buy_make_part_idkeyInt32Volgnummer
addressInt32Adres
apply_replacement_valueBooleanVervangingswaarde toepassen (j/n)
articleStringArtikel
article_custom_field_set_idInt32Volgnummer
billable_amountDecimalDeclarabel bedrag
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
drawing_numberStringTekeningnummer
is_independend_quantityBooleanAantal onafhankelijk
measure_surfaceBooleanBepaal oppervlakte
measure_weightBooleanBepaal gewicht
memoStringMemo
pos_numberStringPos-nummer
post_calculation_quantity_from_stockDecimalTotaal aantal nc uit voorraad: Totale hoeveelheid NC die uit voorraad gehaald is
priceDecimalPrijs
quantityDecimalAantal
quantity_from_stockDecimalTotaal aantal uit voorraad: Totaal aantal NC dat uit voorraad gehaald zal worden
revisionStringRevisie
storageDecimalOpslag
text_lineInt32Artikel/tekst regel
total_quantityDecimalTotaal aantal
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
Wingman