A bank (bank code, name, BIC): the list customers' and suppliers' banks are picked from. Not the company's own bank accounts, which are on the administration.
Label in Fledge: Banken
| URL | https://odata-api.fledge.nl/v2-8/Banks |
|---|---|
| Key | administration_idbank_id |
| Administration | Rows belong to one administration: always filter on administration_id. |
| Operations | GET listGET onePOSTPATCHDELETE |
| Read licenses | BASIS |
| 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/Banks" \
--data-urlencode '$filter=administration_id eq 1' \
--data-urlencode '$select=bank_id,must_be_11_proof_compliant,name,bic_code' \
--data-urlencode '$top=50' \
-H "Authorization: Bearer $TOKEN"const url = new URL('https://odata-api.fledge.nl/v2-8/Banks');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'bank_id,must_be_11_proof_compliant,name,bic_code');
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/Banks" + "?" + string.Join("&",
"$filter=" + Uri.EscapeDataString("administration_id eq 1"),
"$select=" + Uri.EscapeDataString("bank_id,must_be_11_proof_compliant,name,bic_code"),
"$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/Banks(administration_id=1,bank_id={bank_id})Fields
| Field | Type | Description |
|---|---|---|
administration_idkey | Int32 | Administratienummer |
bank_idkey | Int32 | Banknummer |
bic_code | String | BIC-code |
calculation_formula_id | Int32 | Kontrole ber.: Berekeningsformule |
code | String | Bankkode |
format_bank_number | String | Format banknummers (A = letter; 9 = cijfer; ! = alfanumeriek). |
is_city_mandatory | Boolean | Plaats verplicht bij telebankieren (j/n) |
is_postbank | Boolean | Postbank (j/n) |
must_be_11_proof_compliant | Boolean | Moet rekeningnummer voldoen aan 11 proef (j/n) Account numbers must pass the Dutch 11-test. |
name | String | Banknaam |
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 |