One instalment of an instalment division: line_number, a description, days and a percentage. The lines of a division can add up to more or less than 100.
Label in Fledge: Termijn verdeling regels
| URL | https://odata-api.fledge.nl/v2-8/InstalmentDivisionLines |
|---|---|
| Key | administration_idinstalment_division_header_idline_number |
| Administration | Rows belong to one administration: always filter on administration_id. |
| Operations | GET listGET onePOSTPATCHDELETE |
| Read licenses | BASIS |
| Write licenses | BEHEER |
| 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/InstalmentDivisionLines" \
--data-urlencode '$filter=administration_id eq 1' \
--data-urlencode '$select=instalment_division_header_id,line_number,description,days,percentage' \
--data-urlencode '$top=50' \
-H "Authorization: Bearer $TOKEN"const url = new URL('https://odata-api.fledge.nl/v2-8/InstalmentDivisionLines');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'instalment_division_header_id,line_number,description,days,percentage');
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/InstalmentDivisionLines" + "?" + string.Join("&",
"$filter=" + Uri.EscapeDataString("administration_id eq 1"),
"$select=" + Uri.EscapeDataString("instalment_division_header_id,line_number,description,days,percentage"),
"$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/InstalmentDivisionLines(administration_id=1,instalment_division_header_id={instalment_division_header_id},line_number={line_number})Fields
| Field | Type | Description |
|---|---|---|
administration_idkey | Int32 | Administratienummer |
instalment_division_header_idkey | Int32 | Termijn nummer |
line_numberkey | Int32 | Volgnummer |
days | Int32 | Dagen |
description | String | Omschrijving |
percentage | Decimal | Percentage |