Label in Fledge: Stickers
| URL | https://odata-api.fledge.nl/v2-8/Stickers |
|---|---|
| Key | administration_idarticle_idsticker_id |
| Administration | Rows belong to one administration: always filter on administration_id. |
| Operations | GET listGET onePOSTPATCHDELETE |
| Read licenses | BASIS |
| Write licenses | BEHEER |
| Scopes | FLEDGE_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/Stickers" \
--data-urlencode '$filter=administration_id eq 1' \
--data-urlencode '$select=article_id,sticker_id,date,debtor_name,delivery_name' \
--data-urlencode '$top=50' \
-H "Authorization: Bearer $TOKEN"const url = new URL('https://odata-api.fledge.nl/v2-8/Stickers');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'article_id,sticker_id,date,debtor_name,delivery_name');
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/Stickers" + "?" + string.Join("&",
"$filter=" + Uri.EscapeDataString("administration_id eq 1"),
"$select=" + Uri.EscapeDataString("article_id,sticker_id,date,debtor_name,delivery_name"),
"$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/Stickers(administration_id=1,article_id='{article_id}',sticker_id={sticker_id})Fields
| Field | Type | Description |
|---|---|---|
administration_idkey | Int32 | Administratienummer |
article_idkey | String | Artikelcode |
sticker_idkey | Int32 | Volgnummer |
article_location_id | String | Lotnummer/partijregistratie |
date | Date | Datum |
debtor_id | Int32 | Debiteur |
debtor_name | String | Naam debiteur |
delivery_name | String | Naam leverancier |
delivery_note_header_id | String | Pakbonnummer |
delivery_note_line_id | Int32 | Volgnummer |
delivery_number | Int32 | Leverancier |
description_1 | String | Omschrijving |
description_2 | String | Omschrijving |
description_3 | String | Omschrijving |
is_printed | Boolean | Afgedrukt (ja/nee) |
order_code | String | Bestelkode |
production_code | String | Fabrikant kode |
production_order_assembly_id | Int32 | Schrapnummer |
production_order_header_id | String | Order nummer |
purchase_order_header_id | String | Ordernummer |
purchase_order_line_id | Int32 | Regelnummer |
purchase_order_receipt_header_id | String | Pakbon |
purchase_order_receipt_line_id | Int32 | Regelnummer |
quantity | Decimal | Aantal stickers |
quantity_assigned | Decimal | Aantal toegekend |
sales_order_header_id | String | Verkoopordernummer |
sales_order_line_id | Int32 | Regelnummer |
serial_number | Int32 | Serienummer autom.: Serienummer automatisch |
type | Int32 | Type (verkoop/inkoop/productie/voorraad) |
warehouse_address_id | Int32 | Adresnummer |
warehouse_aisle_id | Int32 | Magazijn |
warehouse_shelf_id | Int32 | Locatie |
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.
| Navigation | Entity set | |
|---|---|---|
Administration | Administrations | one |
Article | Articles | one |