Label in Fledge: Omzetgroepen
| URL | https://odata-api.fledge.nl/v2-8/RevenueGroups |
|---|---|
| Key | administration_idrevenue_group_id |
| Administration | Rows belong to one administration: always filter on administration_id. |
| Operations | GET listGET onePOSTPATCHDELETE |
| Read licenses | BASIS |
| Write licenses | FINANCIEELBEHEER |
| 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/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
| Field | Type | Description |
|---|---|---|
administration_idkey | Int32 | Administratienummer |
revenue_group_idkey | Int32 | Omzetgroep |
account_invoices_to_be_received | String | Rekening te ontvangen facturen |
account_supply_production | String | Rekening voorraad productie |
cost_price | String | GB-rek kostprijs: Grootboekrekening kostprijs |
cost_price_hours | String | Grootboekrekening voor kostprijs uren |
cost_price_materials | String | Grootboekrekening voor kostprijs materiaal |
cost_price_other | String | Kostprijs overige kosten |
cost_price_outsourcing | String | Grootboekrekening voor kostprijs uitbesteding |
coverage_cost_price_machine_hours | String | Dekking kostprijs machine: Dekking kostprijs uren machine |
coverage_cost_price_operations | String | Dekking kostprijs bew.: Dekking kostprijs bewerkingen |
coverage_porto_revenue | String | Dekking porto |
coverage_pre_incurred_sales_costs | String | Dek.vooruit verk.: Dekking vooruitgenomen kosten verkoop |
description | String | Omschrijving |
hours_cost_price_0_ready | String | Kostprijs uren #0 gereedgemeld |
material_cost_price_0_ready | String | Kostprijs materiaal voor #0 gereedgemeld |
nominal_revenue | String | Nominale omzet |
not_received_purchase_invoices | String | Niet ontvangen facturen: Niet ontvangen inkoopfacturen |
other_cost_price_0_ready | String | kostprijs overige kosten #0 gereedgemeld |
other_costs_not_in_cost_price | String | Overige kosten PO niet in kostprijs |
outsourcing_cost_price_0_ready | String | Kostprijs uitbestedingen #0 gereegemeld |
pre_incurred_costs_sales | String | Vooruitgen.kst verk.: Vooruitgenomen kosten verkoop |
price_differences | String | Prijsverschillen |
price_differences_production | String | Prijsverschil prod.: Prijsverschillen productie |
purchase_supply | String | GB-rek voorraad inkoop: Grootboek rekening voorraad inkoop |
revaluation | String | Herwaardering |
revenue | String | GB-rek omzet: Omzet |
supply_ready_hours | String | Voorraad gereed uren: Voorraad gereed product uren |
supply_ready_materials_outsourcing_buymake_other | String | Voorraad gereed MUKO: Voorraad gereed product MUKO |
supply_sales | String | GB-rek voorraad verkoop: Grootboekrekening voorraad verkoop |
third_party_remittance | String | Afdracht aan derden omzet |
work_in_progress_materials_outsourcing_buymake_other | String | OHW MUKO |
work_in_progress_operations | String | OHW 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.
| Navigation | Entity set | |
|---|---|---|
Administration | Administrations | one |
ProductionOrderAssemblies | ProductionOrderAssemblies | many |
ProductionOrderHeaders | ProductionOrderHeaders | many |