Label in Fledge: SSCC-codes
| URL | https://odata-api.fledge.nl/v2-8/SsccLabels |
|---|---|
| Key | sscc_label_id |
| Administration | Shared by all administrations. |
| Operations | GET listGET onePOSTPATCHDELETE |
| Read licenses | BASIS |
| Write licenses | BEHEER |
| Scopes | FLEDGE_PORTALFLEDGE_TERMINAL |
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/SsccLabels" \
--data-urlencode '$select=sscc_label_id,datetime_changed,end_date,quantity' \
--data-urlencode '$top=50' \
-H "Authorization: Bearer $TOKEN"const url = new URL('https://odata-api.fledge.nl/v2-8/SsccLabels');
url.searchParams.set('$select', 'sscc_label_id,datetime_changed,end_date,quantity');
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/SsccLabels" + "?" + string.Join("&",
"$select=" + Uri.EscapeDataString("sscc_label_id,datetime_changed,end_date,quantity"),
"$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/SsccLabels({sscc_label_id})Fields
| Field | Type | Description |
|---|---|---|
sscc_label_idkey | Int64 | SSCC-code id: Uniek volgnummer SSCC-code |
administration_id | Int32 | Administratienummer |
code | Int64 | SSCC-code |
created_by | Int32 | Gebruiker aanmaak |
datetime_changed | DateTimeOffset | Gewijzigd: Datum en -tijd laatste wijziging |
end_date | Date | Einddatum geldigheid: Datum tot wanneer de SSCC-code geldig is |
quantity | Decimal | Aantal |
start_date | Date | Startdatum geldigheid: Datum vanaf wanneer de SSCC-code geldig is |
status | Int32 | Status |
updated_by | Int32 | Gebruiker wijziging |
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 |
CreatedBy | Users | one |
UpdatedBy | Users | one |
HistoricProductionOrderAssemblyStatuses | HistoricProductionOrderAssemblyStatuses | many |
HistoricSalesOrderLineStatuses | HistoricSalesOrderLineStatuses | many |
ProductionOrderAssemblyStatuses | ProductionOrderAssemblyStatuses | many |
SalesOrderLineStatuses | SalesOrderLineStatuses | many |