Label in Fledge: Verkoopprognose managementinfo

URLhttps://odata-api.fledge.nl/v2-8/SalesQuotationPrognoses
Keyadministration_idsales_quotation_headers_idsales_quotation_lines_id
AdministrationRows belong to one administration: always filter on administration_id.
OperationsGET listGET onePOSTPATCHDELETE
Read licensesBASIS
Write licensesVERKOOP
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/SalesQuotationPrognoses" \
  --data-urlencode '$filter=administration_id eq 1' \
  --data-urlencode '$select=sales_quotation_headers_id,sales_quotation_lines_id,cash_date,change_date,creation_date' \
  --data-urlencode '$top=50' \
  -H "Authorization: Bearer $TOKEN"
const url = new URL('https://odata-api.fledge.nl/v2-8/SalesQuotationPrognoses');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'sales_quotation_headers_id,sales_quotation_lines_id,cash_date,change_date,creation_date');
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/SalesQuotationPrognoses" + "?" + string.Join("&",
    "$filter=" + Uri.EscapeDataString("administration_id eq 1"),
    "$select=" + Uri.EscapeDataString("sales_quotation_headers_id,sales_quotation_lines_id,cash_date,change_date,creation_date"),
    "$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/SalesQuotationPrognoses(administration_id=1,sales_quotation_headers_id='{sales_quotation_headers_id}',sales_quotation_lines_id={sales_quotation_lines_id})

Fields

FieldTypeDescription
administration_idkeyInt32Administratienummer
sales_quotation_headers_idkeyStringOffertenummer
sales_quotation_lines_idkeyInt32Regelnummer
cash_dateDateCashdatum: Cashingdatum
change_dateDateDtaum wijzig: Datum wijzig
changed_byInt32Gebruiker wijzig
created_byInt32Gebruiker aanmaak
creation_dateDateDatum aanmaak
priceDecimalPrijs
quantityDecimalAantal

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