The company details of an administration: names, chamber of commerce and VAT number, addresses, contact and bank accounts.
Label in Fledge: Administratie gegevens
| URL | https://odata-api.fledge.nl/v2-8/AdministrationData |
|---|---|
| Key | administration_id |
| Administration | Rows belong to one administration: always filter on administration_id. |
| Operations | GET listGET onePOSTPATCHDELETE |
| Read licenses | BASIS |
| Write licenses | BEHEERFINANCIEEL |
| 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/AdministrationData" \
--data-urlencode '$filter=administration_id eq 1' \
--data-urlencode '$select=address_1,address_2,chamber_of_commerce_number' \
--data-urlencode '$top=50' \
-H "Authorization: Bearer $TOKEN"const url = new URL('https://odata-api.fledge.nl/v2-8/AdministrationData');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'address_1,address_2,chamber_of_commerce_number');
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/AdministrationData" + "?" + string.Join("&",
"$filter=" + Uri.EscapeDataString("administration_id eq 1"),
"$select=" + Uri.EscapeDataString("address_1,address_2,chamber_of_commerce_number"),
"$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/AdministrationData(1)Fields
| Field | Type | Description |
|---|---|---|
administration_idkey | Int32 | Administratienummer |
account_number_1 | String | Bank rekeningnr. 1: Bank rekeningnummer 1 |
account_number_2 | String | Bank rekeningnr 2: Bank rekeningnummer 2 |
address_1 | String | Bank adres 1 The address of bank 1, not of the company. |
address_2 | String | Bank adres 2 The address of bank 2. |
bank_name_1 | String | Bank naam 1 |
bank_name_2 | String | Bank naam 2 |
bic | String | BIC: Bank Identification Number (swift-code) |
bic_2 | String | BIC: Bank Identification Number (swift-code) |
chamber_of_commerce_number | String | KvK nummer The chamber of commerce number (KvK). |
company_name_1 | String | Bedrijfsnaam 1 |
company_name_2 | String | Bedrijfsnaam 2 |
company_name_3 | String | Bedrijfsnaam 3 |
contact_person | String | Kontaktpersoon |
corporate_sector | String | Bedrijfssector |
country | String | Land |
custom_field | String | Vrije velden |
delivery_location | String | Plaats afleveradres The place of the delivery address. |
delivery_street | String | Straat afleveradres The street of the delivery address. |
email_address | String | |
fax | String | Telefax |
giro_account_1 | String | Bank gironummer 1 |
giro_account_2 | String | Bank gironummer 2 |
iban_number_1 | String | IBAN-nr.: IBAN-nummer (Int. Bank Account Number) |
iban_number_2 | String | IBAN-nr.: IBAN-nummer (Int. Bank Account Number) |
invoice_email_address | String | E-mail factuur: Mailadres voor facturen The e-mail address invoices are sent from or to. |
location_1 | String | Bank plaats 1 The place of bank 1, not of the company. |
location_2 | String | Bank plaats 2 The place of bank 2. |
number_of_associates | Int32 | Aantal vennoten |
postal_code_delivery | String | Postcode afleveradres The postcode of the delivery address. |
postal_code_location | String | Plaats postadres Despite its name, the place of the postal address. |
postal_code_po_box | String | Postcode postadres Despite its name, the postcode of the postal address. |
postal_code_street | String | Straat postadres Despite its name, the street of the postal address. |
telephone | String | Telefoon |
trademark_id | Int32 | Handelsmerk id |
type_of_company | String | Rechtsvorm The legal form (rechtsvorm). |
vat_number | String | BTW nummer |
website | String | Web-site |
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 |