Label in Fledge: Serienummers

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

Fields

FieldTypeDescription
administration_idkeyInt32Administratienummer
automatic_serial_numberkeyInt32Serienummer autom.: Serienummer automatisch
amountDecimalAantal in calculatieeenheid
amount_issuedDecimalAantal uitgegeven in calculatieeenheid
article_idStringArtikelcode
article_location_lot_numberStringLotnummer/partijregistratie
batch_numberStringPartijnummer
calculation_unitInt32Calculatie eenheid
created_userInt32User aanmaak
creation_dateDateTimeOffsetAangemaakt: Aanmaakdatum en -tijd
delivery_note_header_idStringPakbonnummer
delivery_note_line_idInt32Volgnummer
description_1StringOmschrijving
description_2StringOmschrijving 2
description_3StringOmschrijving 3
heat_numberStringCharge nummer
is_activeInt32Actief
material_certificateStringMateriaalcertificaat
material_outsourcing_buy_make_typeInt32MUK-type: Materiaal, uitbesteding of koopmaakdeel
parentInt32Parent
post_calculation_buy_make_part_idInt32Volgnummer
post_calculation_material_idInt32Volgnummer
post_calculation_outsourced_item_idInt32Volgnummer
pre_calculation_buy_make_part_idInt32Order koopdeel nummer
pre_calculation_materials_idInt32Mat.nummer: Materiaal nummer
pre_calculation_outsourced_item_idInt32Uitbestdings nr.: Uitbestedings nummer
production_order_assemblies_idInt32Schrapnummer
production_order_assembly_id_originInt32Schrap herkomst: Schrapnummer herkomst
production_order_assembly_status_idInt32Volgnummer
production_order_header_idStringOrder nummer
production_order_header_id_originStringOrder herkomst: Productieordernummer herkomst
purchase_order_header_idStringOrdernummer
purchase_order_invoice_header_bookyearInt32Boekjaar
purchase_order_invoice_header_idStringFactuurnummer
purchase_order_invoice_line_idInt32Volgnummer
purchase_order_line_idInt32Regelnummer
purchase_order_receipt_header_idStringPakbon
purchase_order_receipt_line_idInt32Regelnummer
purchase_order_status_line_idInt32Volgnummer
sales_invoice_header_bookyearInt32Boekjaar
sales_invoice_header_idStringFactuur nummer
sales_invoice_line_idInt32Factuurregelnummer
sales_order_header_idStringVerkoopordernummer
sales_order_line_idInt32Regelnummer
sales_order_line_status_idInt32Volgnummer
serial_number_idStringSerienummer
service_object_idStringService object code
statusInt32Status
typeInt32Type serienummer
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
ArticleArticlesone
DeliveryNoteHeaderDeliveryNoteHeadersone
DeliveryNoteLineDeliveryNoteLinesone
PostCalculationBuyMakePartPostCalculationBuyMakePartsone
PostCalculationMaterialPostCalculationMaterialsone
PostCalculationOutsourcedItemPostCalculationOutsourcedItemsone
PreCalculationBuyMakePartPreCalculationBuyMakePartsone
PreCalculationMaterialPreCalculationMaterialsone
PreCalculationOutsourcedItemPreCalculationOutsourcedItemsone
ProductionOrderAssemblyProductionOrderAssembliesone
ProductionOrderAssemblyStatusProductionOrderAssemblyStatusesone
ProductionOrderHeaderProductionOrderHeadersone
PurchaseOrderHeaderPurchaseOrderHeadersone
PurchaseOrderLinePurchaseOrderLinesone
PurchaseOrderLineStatusPurchaseOrderLineStatusesone
PurchaseOrderReceiptHeaderPurchaseOrderReceiptHeadersone
PurchaseOrderReceiptLinePurchaseOrderReceiptLinesone
SalesOrderHeaderSalesOrderHeadersone
SalesOrderLineSalesOrderLinesone
SalesOrderLineStatusSalesOrderLineStatusesone
ServiceObjectServiceObjectsone
Wingman