A printable report of a module.
Label in Fledge: Rapportage per categorie
| URL | https://odata-api.fledge.nl/v2-8/Reports |
|---|---|
| Key | module_idreport_idvendor_supplied_report |
| Administration | Shared by all administrations. |
| Operations | GET listGET onePOSTPATCHDELETE |
| Read licenses | BASISAPP |
| Write licenses | BEHEER |
| 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/Reports" \
--data-urlencode '$select=module_id,report_id,vendor_supplied_report,bogus_field_1,description,report_file_name' \
--data-urlencode '$top=50' \
-H "Authorization: Bearer $TOKEN"const url = new URL('https://odata-api.fledge.nl/v2-8/Reports');
url.searchParams.set('$select', 'module_id,report_id,vendor_supplied_report,bogus_field_1,description,report_file_name');
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/Reports" + "?" + string.Join("&",
"$select=" + Uri.EscapeDataString("module_id,report_id,vendor_supplied_report,bogus_field_1,description,report_file_name"),
"$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/Reports(module_id={module_id},report_id={report_id},vendor_supplied_report={vendor_supplied_report})Fields
| Field | Type | Description |
|---|---|---|
module_idkey | Int32 | ModuleNr: Module nummer The module, such as 3254 sales orders or 4003 production orders. |
report_idkey | Int32 | Categorie |
vendor_supplied_reportkey | Boolean | Geleverd door UniSPeqs (ja/nee) Supplied by Fledge, not made for this customer. |
bogus_field_1 | Int32 | Module nummer A copy of the module number; don't use it. |
category_id | Int32 | Categorie |
description | String | Omschrijving |
report_file_name | String | Overzicht |
sequence | Int32 | Volgorde |