Label in Fledge: Relatie documenten
| URL | https://odata-api.fledge.nl/v2-8/RelationDocuments |
|---|---|
| Key | relation_contact_person_idrelation_document_idrelation_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/RelationDocuments" \
--data-urlencode '$select=relation_contact_person_id,relation_document_id,relation_id,file_name,creation_date,description' \
--data-urlencode '$top=50' \
-H "Authorization: Bearer $TOKEN"const url = new URL('https://odata-api.fledge.nl/v2-8/RelationDocuments');
url.searchParams.set('$select', 'relation_contact_person_id,relation_document_id,relation_id,file_name,creation_date,description');
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/RelationDocuments" + "?" + string.Join("&",
"$select=" + Uri.EscapeDataString("relation_contact_person_id,relation_document_id,relation_id,file_name,creation_date,description"),
"$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/RelationDocuments(relation_contact_person_id={relation_contact_person_id},relation_document_id={relation_document_id},relation_id={relation_id})Fields
| Field | Type | Description |
|---|---|---|
relation_idkey | Int32 | Relatie |
relation_contact_person_idkey | Int32 | Kontaktpers.: Kontakt persoon nummer |
relation_document_idkey | Int32 | Document |
user_id | Int32 | Gebruikersnummer: Gebruikers nummer, ook een unieke key voor de tabel |
relation_activity_id | Int32 | Activiteit: Acitiviteiten nummer |
relation_address_id | Int32 | Adresnummer |
department_id | String | Afdelingscode |
document_type_id | Int32 | Documentnummer |
is_completed | Boolean | Afgewerkt |
authorization_level | Int32 | Autorisatieniveau |
file_name | String | Bestandsnaam |
attachment | String | Bijlage |
creation_date | Date | Datum aanmaak |
memo | String | Memo |
description | String | Omschrijving |
initials | String | Paraaf |
reference | String | Referentie |
reference_2 | String | Referentie 2 |
delivery_method | Int32 | Verzenden via: Verzending van document via (post, fax, enz) |