Label in Fledge: Permanence

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

Fields

FieldTypeDescription
administration_idkeyInt32Administratienummer
permanence_idkeyStringPermanence nr.: Permanence nummer
general_period_countInt32Aantal periodes algemeen
commercial_period_countInt32Aantal periodes comm.: Aantal periodes commercieel
fiscal_period_countInt32Aantal periodes fisc.: Aantal periodes fiscaal
general_commercial_fiscalBooleanAlgemeen/Comm.-Fiscaal: Algemeen of commercieel en fiscaal (verouderd)
total_amountDecimalBedrag totaal
general_processed_amountDecimalBedrag verwerkt
commercial_processed_amountDecimalBedrag verwerkt comm.: Bedrag verwerkt commercieel
fiscal_processed_amountDecimalBedrag verwerkt fisc.: Bedrag verwerkt fiscaal
financial_yearInt32Boekjaar
journal_entryStringBoekstuk code
journal_entry_dateDateBoekstukdatum van de perm.
cost_center_idInt32Kostenplaats nr
cost_type_idInt32Kostensoort nr
created_byInt32Gebr. aanmaak: Gebruikerscode aanmaak
creation_dateDateAanmaakdatum van de record
credit_debitBooleanCredit/Debit: Debet/Credit
creditor_idInt32Crediteurnummer
debtor_idInt32Debiteurnummer
general_ledger_id_1StringGrootboekrekening 1
general_ledger_id_2StringGrootboekrekening 2
journal_entry_idInt32Journaalpost nummer
journal_entry_tracking_idInt32Journaalpost volgnr: Journaalpost volgnummer
modification_dateDateDatum laatste wijziging van de record
modified_byInt32Gebr. ltst. wijziging: Gebruikerscode laatste wijziging
descriptionStringOmschrijving
permanence_group_idStringGroep permanence
permanence_type_idStringSoort permanence
general_remaining_period_countInt32Restant periodes algemeen
commercial_remaining_period_countInt32Restant periodes comm.: Restant periodes commercieel
fiscal_remaining_period_countInt32Restant periodes fisc.: Restant periodes fiscaal
statusBooleanStatus actueel/verwerkt
search_nameStringZoeknaam
Wingman