A ledger account blocked for one kind of booking: a booking of that kind on the account is refused.
Label in Fledge: Rekeningblokkade
| URL | https://odata-api.fledge.nl/v2-8/AccountBlockages |
|---|---|
| Key | administration_idcontextgeneral_ledger_id |
| Administration | Rows belong to one administration: always filter on administration_id. |
| Operations | GET listGET onePOSTPATCHDELETE |
| Read licenses | FINANCIEEL |
| Write licenses | FINANCIEELBEHEER |
| 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/AccountBlockages" \
--data-urlencode '$filter=administration_id eq 1' \
--data-urlencode '$select=context,general_ledger_id' \
--data-urlencode '$top=50' \
-H "Authorization: Bearer $TOKEN"const url = new URL('https://odata-api.fledge.nl/v2-8/AccountBlockages');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'context,general_ledger_id');
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/AccountBlockages" + "?" + string.Join("&",
"$filter=" + Uri.EscapeDataString("administration_id eq 1"),
"$select=" + Uri.EscapeDataString("context,general_ledger_id"),
"$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/AccountBlockages(administration_id=1,context='{context}',general_ledger_id='{general_ledger_id}')Fields
| Field | Type | Description |
|---|---|---|
administration_idkey | Int32 | Administratienummer |
general_ledger_idkey | String | Grootboekrekeningnummer |
contextkey | String | Context waarvoor de blokkade van toepassing is The kind of booking, by its legacy name, such as Verkoopfactuur (sales invoice), Inkoopfactuur-handm. (manual purchase invoice) or Urenverwerking (hours processing). |