Label in Fledge: Productieorder historie NC uitbestedingen

URLhttps://odata-api.fledge.nl/v2-8/HistoricProductionOrderPostCalculationOutsourcedItems
Keyadministration_idhistoric_production_order_assembly_idhistoric_production_order_header_idhistoric_production_order_post_calculation_outsourced_item_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/HistoricProductionOrderPostCalculationOutsourcedItems" \
  --data-urlencode '$filter=administration_id eq 1' \
  --data-urlencode '$select=historic_production_order_assembly_id,historic_production_order_header_id,historic_production_order_post_calculation_outsourced_item_id,amount_post_calculation,date,description_1' \
  --data-urlencode '$top=50' \
  -H "Authorization: Bearer $TOKEN"
const url = new URL('https://odata-api.fledge.nl/v2-8/HistoricProductionOrderPostCalculationOutsourcedItems');
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_post_calculation_outsourced_item_id,amount_post_calculation,date,description_1');
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/HistoricProductionOrderPostCalculationOutsourcedItems" + "?" + 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_post_calculation_outsourced_item_id,amount_post_calculation,date,description_1"),
    "$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/HistoricProductionOrderPostCalculationOutsourcedItems(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_post_calculation_outsourced_item_id={historic_production_order_post_calculation_outsourced_item_id})

Fields

FieldTypeDescription
administration_idkeyInt32Administratienummer
historic_production_order_post_calculation_outsourced_item_idkeyInt32Volgnummer
historic_production_order_header_idkeyStringOrdernummer
historic_production_order_assembly_idkeyInt32Schrap
amount_post_calculationDecimalBedrag NC
article_custom_field_set_idInt32Volgnummer
article_idStringArtikel
article_textInt32Artikel/tekst
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
dateDateDatum
description_1StringOmschrijving
description_2StringOmschrijving
description_3StringOmschrijving
financial_period_idInt32Periode
financial_yearInt32Boekjaar
historic_pre_calculation_outsourced_item_idInt32Volgnummer
lot_number_idStringLotnummer/partijregistratie
memoStringMemo
order_codeStringBestelcode
originInt32Herkomst
pos_numberStringPos nummer
priceDecimalKostprijs
purchase_order_header_idStringInkooporder
purchase_order_line_idInt32Inkooporder regel
quantityDecimalAantal
revenue_group_idInt32Omzetgroep
sales_priceDecimalVerkoopprijs
storageDecimalOpslag
total_priceDecimalTotaal kostprijs
warehouse_address_idInt32Adres
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
HistoricPreCalculationOutsourcedItemsHistoricPreCalculationOutsourcedItemsone
HistoricProductionOrderAssemblyHistoricProductionOrderAssembliesone
HistoricProductionOrderHeaderHistoricProductionOrderHeadersone
Wingman