Label in Fledge: Relatieselectie regel
| URL | https://odata-api.fledge.nl/v2-8/RelationSelectionLines |
|---|---|
| Key | relation_selection_header_idrelation_selection_line_id |
| Administration | Shared by all administrations. |
| Operations | GET listGET onePOSTPATCHDELETE |
| Read licenses | BASISBASISAPP |
| 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/RelationSelectionLines" \
--data-urlencode '$select=relation_selection_header_id,relation_selection_line_id,relation_address_id,relation_contact_person_id,relation_id' \
--data-urlencode '$top=50' \
-H "Authorization: Bearer $TOKEN"const url = new URL('https://odata-api.fledge.nl/v2-8/RelationSelectionLines');
url.searchParams.set('$select', 'relation_selection_header_id,relation_selection_line_id,relation_address_id,relation_contact_person_id,relation_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/RelationSelectionLines" + "?" + string.Join("&",
"$select=" + Uri.EscapeDataString("relation_selection_header_id,relation_selection_line_id,relation_address_id,relation_contact_person_id,relation_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/RelationSelectionLines(relation_selection_header_id={relation_selection_header_id},relation_selection_line_id={relation_selection_line_id})Fields
| Field | Type | Description |
|---|---|---|
relation_selection_header_idkey | Int32 | Relatieselectie nummer |
relation_selection_line_idkey | Int32 | Volgnummer |
relation_address_id | Int32 | Adresnummer |
relation_contact_person_id | Int32 | Kontaktpers.: Kontakt persoon nummer |
relation_id | Int32 | Relatie |