# SerialNumbers

> Serienummers

Subject: Warehouse.

Serienummers

| | |
| --- | --- |
| URL | `https://odata-api.fledge.nl/v2-8/SerialNumbers` |
| Key | `administration_id`, `automatic_serial_number` |
| Administration-specific | yes: always filter on `administration_id` |
| Operations | GET list, GET one, POST, PATCH, DELETE |
| Read licenses | BASIS |
| Write licenses | BEHEER |
| Scopes | FLEDGE_PORTAL |

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/SerialNumbers?$filter=administration_id eq 1&$select=automatic_serial_number,amount,amount_issued,creation_date&$top=50
GET https://odata-api.fledge.nl/v2-8/SerialNumbers(administration_id=1,automatic_serial_number={automatic_serial_number})
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32 | Administratienummer |
| `automatic_serial_number` (key) | Int32, not null | Serienummer autom.: Serienummer automatisch |
| `amount` | Decimal | Aantal in calculatieeenheid |
| `amount_issued` | Decimal | Aantal uitgegeven in calculatieeenheid |
| `article_id` | String | Artikelcode |
| `article_location_lot_number` | String | Lotnummer/partijregistratie |
| `batch_number` | String | Partijnummer |
| `calculation_unit` | Int32 | Calculatie eenheid |
| `created_user` | Int32 | User aanmaak |
| `creation_date` | DateTimeOffset | Aangemaakt: Aanmaakdatum en -tijd |
| `delivery_note_header_id` | String | Pakbonnummer |
| `delivery_note_line_id` | Int32 | Volgnummer |
| `description_1` | String | Omschrijving |
| `description_2` | String | Omschrijving 2 |
| `description_3` | String | Omschrijving 3 |
| `heat_number` | String | Charge nummer |
| `is_active` | Int32 | Actief |
| `material_certificate` | String | Materiaalcertificaat |
| `material_outsourcing_buy_make_type` | Int32 | MUK-type: Materiaal, uitbesteding of koopmaakdeel |
| `parent` | Int32 | Parent |
| `post_calculation_buy_make_part_id` | Int32 | Volgnummer |
| `post_calculation_material_id` | Int32 | Volgnummer |
| `post_calculation_outsourced_item_id` | Int32 | Volgnummer |
| `pre_calculation_buy_make_part_id` | Int32 | Order koopdeel nummer |
| `pre_calculation_materials_id` | Int32 | Mat.nummer: Materiaal nummer |
| `pre_calculation_outsourced_item_id` | Int32 | Uitbestdings nr.: Uitbestedings nummer |
| `production_order_assemblies_id` | Int32 | Schrapnummer |
| `production_order_assembly_id_origin` | Int32 | Schrap herkomst: Schrapnummer herkomst |
| `production_order_assembly_status_id` | Int32 | Volgnummer |
| `production_order_header_id` | String | Order nummer |
| `production_order_header_id_origin` | String | Order herkomst: Productieordernummer herkomst |
| `purchase_order_header_id` | String | Ordernummer |
| `purchase_order_invoice_header_bookyear` | Int32 | Boekjaar |
| `purchase_order_invoice_header_id` | String | Factuurnummer |
| `purchase_order_invoice_line_id` | Int32 | Volgnummer |
| `purchase_order_line_id` | Int32 | Regelnummer |
| `purchase_order_receipt_header_id` | String | Pakbon |
| `purchase_order_receipt_line_id` | Int32 | Regelnummer |
| `purchase_order_status_line_id` | Int32 | Volgnummer |
| `sales_invoice_header_bookyear` | Int32 | Boekjaar |
| `sales_invoice_header_id` | String | Factuur nummer |
| `sales_invoice_line_id` | Int32 | Factuurregelnummer |
| `sales_order_header_id` | String | Verkoopordernummer |
| `sales_order_line_id` | Int32 | Regelnummer |
| `sales_order_line_status_id` | Int32 | Volgnummer |
| `serial_number_id` | String | Serienummer |
| `service_object_id` | String | Service object code |
| `status` | Int32 | Status |
| `type` | Int32 | Type serienummer |
| `warehouse_address_id` | Int32 | Adresnummer |
| `warehouse_aisle_id` | Int32 | Magazijn |
| `warehouse_shelf_id` | Int32 | Locatie |

## Relations

- `Administration` → [Administrations](https://docs.fledge.nl/en/api/reference/Administrations.md) (one)
- `Article` → [Articles](https://docs.fledge.nl/en/api/reference/Articles.md) (one)
- `DeliveryNoteHeader` → [DeliveryNoteHeaders](https://docs.fledge.nl/en/api/reference/DeliveryNoteHeaders.md) (one)
- `DeliveryNoteLine` → [DeliveryNoteLines](https://docs.fledge.nl/en/api/reference/DeliveryNoteLines.md) (one)
- `PostCalculationBuyMakePart` → [PostCalculationBuyMakeParts](https://docs.fledge.nl/en/api/reference/PostCalculationBuyMakeParts.md) (one)
- `PostCalculationMaterial` → [PostCalculationMaterials](https://docs.fledge.nl/en/api/reference/PostCalculationMaterials.md) (one)
- `PostCalculationOutsourcedItem` → [PostCalculationOutsourcedItems](https://docs.fledge.nl/en/api/reference/PostCalculationOutsourcedItems.md) (one)
- `PreCalculationBuyMakePart` → [PreCalculationBuyMakeParts](https://docs.fledge.nl/en/api/reference/PreCalculationBuyMakeParts.md) (one)
- `PreCalculationMaterial` → [PreCalculationMaterials](https://docs.fledge.nl/en/api/reference/PreCalculationMaterials.md) (one)
- `PreCalculationOutsourcedItem` → [PreCalculationOutsourcedItems](https://docs.fledge.nl/en/api/reference/PreCalculationOutsourcedItems.md) (one)
- `ProductionOrderAssembly` → [ProductionOrderAssemblies](https://docs.fledge.nl/en/api/reference/ProductionOrderAssemblies.md) (one)
- `ProductionOrderAssemblyStatus` → [ProductionOrderAssemblyStatuses](https://docs.fledge.nl/en/api/reference/ProductionOrderAssemblyStatuses.md) (one)
- `ProductionOrderHeader` → [ProductionOrderHeaders](https://docs.fledge.nl/en/api/reference/ProductionOrderHeaders.md) (one)
- `PurchaseOrderHeader` → [PurchaseOrderHeaders](https://docs.fledge.nl/en/api/reference/PurchaseOrderHeaders.md) (one)
- `PurchaseOrderLine` → [PurchaseOrderLines](https://docs.fledge.nl/en/api/reference/PurchaseOrderLines.md) (one)
- `PurchaseOrderLineStatus` → [PurchaseOrderLineStatuses](https://docs.fledge.nl/en/api/reference/PurchaseOrderLineStatuses.md) (one)
- `PurchaseOrderReceiptHeader` → [PurchaseOrderReceiptHeaders](https://docs.fledge.nl/en/api/reference/PurchaseOrderReceiptHeaders.md) (one)
- `PurchaseOrderReceiptLine` → [PurchaseOrderReceiptLines](https://docs.fledge.nl/en/api/reference/PurchaseOrderReceiptLines.md) (one)
- `SalesOrderHeader` → [SalesOrderHeaders](https://docs.fledge.nl/en/api/reference/SalesOrderHeaders.md) (one)
- `SalesOrderLine` → [SalesOrderLines](https://docs.fledge.nl/en/api/reference/SalesOrderLines.md) (one)
- `SalesOrderLineStatus` → [SalesOrderLineStatuses](https://docs.fledge.nl/en/api/reference/SalesOrderLineStatuses.md) (one)
- `ServiceObject` → [ServiceObjects](https://docs.fledge.nl/en/api/reference/ServiceObjects.md) (one)

---

Source: https://docs.fledge.nl/en/api/reference/SerialNumbers
