Label in Fledge: Omzetgroepen

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

Fields

FieldTypeDescription
administration_idkeyInt32Administratienummer
revenue_group_idkeyInt32Omzetgroep
account_invoices_to_be_receivedStringRekening te ontvangen facturen
account_supply_productionStringRekening voorraad productie
cost_priceStringGB-rek kostprijs: Grootboekrekening kostprijs
cost_price_hoursStringGrootboekrekening voor kostprijs uren
cost_price_materialsStringGrootboekrekening voor kostprijs materiaal
cost_price_otherStringKostprijs overige kosten
cost_price_outsourcingStringGrootboekrekening voor kostprijs uitbesteding
coverage_cost_price_machine_hoursStringDekking kostprijs machine: Dekking kostprijs uren machine
coverage_cost_price_operationsStringDekking kostprijs bew.: Dekking kostprijs bewerkingen
coverage_porto_revenueStringDekking porto
coverage_pre_incurred_sales_costsStringDek.vooruit verk.: Dekking vooruitgenomen kosten verkoop
descriptionStringOmschrijving
hours_cost_price_0_readyStringKostprijs uren #0 gereedgemeld
material_cost_price_0_readyStringKostprijs materiaal voor #0 gereedgemeld
nominal_revenueStringNominale omzet
not_received_purchase_invoicesStringNiet ontvangen facturen: Niet ontvangen inkoopfacturen
other_cost_price_0_readyStringkostprijs overige kosten #0 gereedgemeld
other_costs_not_in_cost_priceStringOverige kosten PO niet in kostprijs
outsourcing_cost_price_0_readyStringKostprijs uitbestedingen #0 gereegemeld
pre_incurred_costs_salesStringVooruitgen.kst verk.: Vooruitgenomen kosten verkoop
price_differencesStringPrijsverschillen
price_differences_productionStringPrijsverschil prod.: Prijsverschillen productie
purchase_supplyStringGB-rek voorraad inkoop: Grootboek rekening voorraad inkoop
revaluationStringHerwaardering
revenueStringGB-rek omzet: Omzet
supply_ready_hoursStringVoorraad gereed uren: Voorraad gereed product uren
supply_ready_materials_outsourcing_buymake_otherStringVoorraad gereed MUKO: Voorraad gereed product MUKO
supply_salesStringGB-rek voorraad verkoop: Grootboekrekening voorraad verkoop
third_party_remittanceStringAfdracht aan derden omzet
work_in_progress_materials_outsourcing_buymake_otherStringOHW MUKO
work_in_progress_operationsStringOHW bewerkingen

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
ProductionOrderAssembliesProductionOrderAssembliesmany
ProductionOrderHeadersProductionOrderHeadersmany
Wingman