What a purchase quotation line is requested for: a sales order line status or a production order component, one row per demand with its own quantity. It joins its quotation line on line, tracking_number and creation_year, not on the quotation number: expand PurchaseQuotationLine for that. Made in Fledge Remote only.

Label in Fledge: Inkoopoffertekoppelingen

URLhttps://odata-api.fledge.nl/v2-8/PurchaseQuotationLinks
Keyadministration_idcreation_yearlinepurchase_quotation_link_idtracking_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/PurchaseQuotationLinks" \
  --data-urlencode '$filter=administration_id eq 1' \
  --data-urlencode '$select=creation_year,line,purchase_quotation_link_id,tracking_number,description_1,description_2,description_3' \
  --data-urlencode '$top=50' \
  -H "Authorization: Bearer $TOKEN"
const url = new URL('https://odata-api.fledge.nl/v2-8/PurchaseQuotationLinks');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'creation_year,line,purchase_quotation_link_id,tracking_number,description_1,description_2,description_3');
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/PurchaseQuotationLinks" + "?" + string.Join("&",
    "$filter=" + Uri.EscapeDataString("administration_id eq 1"),
    "$select=" + Uri.EscapeDataString("creation_year,line,purchase_quotation_link_id,tracking_number,description_1,description_2,description_3"),
    "$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/PurchaseQuotationLinks(administration_id=1,creation_year={creation_year},line={line},purchase_quotation_link_id={purchase_quotation_link_id},tracking_number={tracking_number})

Fields

FieldTypeDescription
administration_idkeyInt32Administratienummer
creation_yearkeyInt32Jaar aanmaak
linekeyInt32Regelnummer
tracking_numberkeyInt32Volgnummer
description_1StringOmschrijving 1
description_2StringOmschrijving 2
description_3StringOmschrijving 3
originInt32Herkomst subregel
sub_line_creation_yearInt32Jaar aanmaak subregel
material_outsourcing_purchase_partInt32VC nummer: Nummer VC
memoStringMemo
production_order_assembly_idInt32Schrapnummer
production_order_header_idStringOrder nummer
quantityDecimalAantal
sales_order_header_idStringVerkoopordernummer
sales_order_line_idInt32Regelnummer
sales_order_line_status_idInt32Volgnummer
sub_lineInt32Subregel
sub_line_tracking_numberInt32Subregel volgnummer
typeInt32Type

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
PurchaseQuotationLinePurchaseQuotationLinesone
Wingman