Label in Fledge: Permanence
| URL | https://odata-api.fledge.nl/v2-8/Permanences |
|---|---|
| Key | administration_idpermanence_id |
| Administration | Rows belong to one administration: always filter on administration_id. |
| Operations | GET listGET onePOSTPATCHDELETE |
| Read licenses | FINANCIEEL |
| Write licenses | FINANCIEEL |
| Scopes | FLEDGE_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
| Field | Type | Description |
|---|---|---|
administration_idkey | Int32 | Administratienummer |
permanence_idkey | String | Permanence nr.: Permanence nummer |
general_period_count | Int32 | Aantal periodes algemeen |
commercial_period_count | Int32 | Aantal periodes comm.: Aantal periodes commercieel |
fiscal_period_count | Int32 | Aantal periodes fisc.: Aantal periodes fiscaal |
general_commercial_fiscal | Boolean | Algemeen/Comm.-Fiscaal: Algemeen of commercieel en fiscaal (verouderd) |
total_amount | Decimal | Bedrag totaal |
general_processed_amount | Decimal | Bedrag verwerkt |
commercial_processed_amount | Decimal | Bedrag verwerkt comm.: Bedrag verwerkt commercieel |
fiscal_processed_amount | Decimal | Bedrag verwerkt fisc.: Bedrag verwerkt fiscaal |
financial_year | Int32 | Boekjaar |
journal_entry | String | Boekstuk code |
journal_entry_date | Date | Boekstukdatum van de perm. |
cost_center_id | Int32 | Kostenplaats nr |
cost_type_id | Int32 | Kostensoort nr |
created_by | Int32 | Gebr. aanmaak: Gebruikerscode aanmaak |
creation_date | Date | Aanmaakdatum van de record |
credit_debit | Boolean | Credit/Debit: Debet/Credit |
creditor_id | Int32 | Crediteurnummer |
debtor_id | Int32 | Debiteurnummer |
general_ledger_id_1 | String | Grootboekrekening 1 |
general_ledger_id_2 | String | Grootboekrekening 2 |
journal_entry_id | Int32 | Journaalpost nummer |
journal_entry_tracking_id | Int32 | Journaalpost volgnr: Journaalpost volgnummer |
modification_date | Date | Datum laatste wijziging van de record |
modified_by | Int32 | Gebr. ltst. wijziging: Gebruikerscode laatste wijziging |
description | String | Omschrijving |
permanence_group_id | String | Groep permanence |
permanence_type_id | String | Soort permanence |
general_remaining_period_count | Int32 | Restant periodes algemeen |
commercial_remaining_period_count | Int32 | Restant periodes comm.: Restant periodes commercieel |
fiscal_remaining_period_count | Int32 | Restant periodes fisc.: Restant periodes fiscaal |
status | Boolean | Status actueel/verwerkt |
search_name | String | Zoeknaam |