One line of a picklist: a quantity of one sales order line to pick. A picklist can hold lines of several orders and customers.
Label in Fledge: Verkooporder picklist regels
| URL | https://odata-api.fledge.nl/v2-8/PickListLines |
|---|---|
| Key | administration_idpick_list_header_idpick_list_line_id |
| Administration | Rows belong to one administration: always filter on administration_id. |
| Operations | GET listGET onePOSTPATCHDELETE |
| Read licenses | BASIS |
| Write licenses | PRODUCTIEBEHEER |
| 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/PickListLines" \
--data-urlencode '$filter=administration_id eq 1' \
--data-urlencode '$select=pick_list_header_id,pick_list_line_id,amount_ordered,finished,order_id' \
--data-urlencode '$top=50' \
-H "Authorization: Bearer $TOKEN"const url = new URL('https://odata-api.fledge.nl/v2-8/PickListLines');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'pick_list_header_id,pick_list_line_id,amount_ordered,finished,order_id');
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/PickListLines" + "?" + string.Join("&",
"$filter=" + Uri.EscapeDataString("administration_id eq 1"),
"$select=" + Uri.EscapeDataString("pick_list_header_id,pick_list_line_id,amount_ordered,finished,order_id"),
"$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/PickListLines(administration_id=1,pick_list_header_id='{pick_list_header_id}',pick_list_line_id={pick_list_line_id})Fields
| Field | Type | Description |
|---|---|---|
administration_idkey | Int32 | Administratienummer |
pick_list_header_idkey | String | Picklist nummer |
pick_list_line_idkey | Int32 | Volgnummer |
amount_ordered | Decimal | Aantal besteld The order line's total quantity, not the quantity on the picklist. |
article | String | Artikel |
debtor_id | Int32 | Debiteurnummer |
description_1 | String | Omschrijving |
description_2 | String | Omschrijving |
description_3 | String | Omschrijving |
drawing_number | String | Tekeningnummer |
finished | Boolean | afgewerkt ja/nee Set from the last confirmation; false does not mean something is still to pick. |
function | Int32 | Funktie (artikel/tekst/subtotaal) |
location | Int32 | Locatie |
memo | String | Memo |
order_id | String | Ordernummer The sales order (sales_order_header_id). |
order_line | Int32 | Orderregel nummer The sales order line (sales_order_line_id). |
pick_list_amount | Decimal | Aantal picklist The quantity put on this picklist. |
recipient_address | Int32 | Ontvangst adres |
reference | String | Referentie verkooporderregel |
returned_amount | Decimal | Aantal teruggemeld The quantity confirmed as picked so far. |
revision | String | Revisie |
route | Int32 | Route |
sales_order_description | String | Verkooporder soort omschrijving |
sales_order_id | Int32 | Verkooporder soort Despite its name, the order type, not the order. |
sales_order_line_status_id | Int32 | Status regel The status line made when picking started; it can be replaced later. |
warehouse_aisle_id | Int32 | Magazijn |
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 |
PickListHeader | PickListHeaders | one |