A contact person at a relation. Their roles (invoice contact, buyer, ...) are on RelationContactPersonTypes. relation_contact_person_id is numbered per relation: join on relation_id and relation_contact_person_id together.

Label in Fledge: Relatie contactpersonen

URLhttps://odata-api.fledge.nl/v2-8/RelationContactPeople
Keyrelation_contact_person_idrelation_id
AdministrationShared by all administrations.
OperationsGET listGET onePOSTPATCHDELETE
Read licensesBASIS
Write licensesBASIS
ScopesFLEDGE_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/RelationContactPeople" \
  --data-urlencode '$select=relation_contact_person_id,relation_id,information,left_employment,name_1' \
  --data-urlencode '$top=50' \
  -H "Authorization: Bearer $TOKEN"
const url = new URL('https://odata-api.fledge.nl/v2-8/RelationContactPeople');
url.searchParams.set('$select', 'relation_contact_person_id,relation_id,information,left_employment,name_1');
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/RelationContactPeople" + "?" + string.Join("&",
    "$select=" + Uri.EscapeDataString("relation_contact_person_id,relation_id,information,left_employment,name_1"),
    "$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/RelationContactPeople(relation_contact_person_id={relation_contact_person_id},relation_id={relation_id})

Fields

FieldTypeDescription
relation_contact_person_idkeyInt32Kontaktpers.: Kontakt persoon nummer
relation_idkeyInt32Relatie
birth_dateDateGeboorte datum
device_numberInt32Toestelnummer
emailStringe-mail
fax_numberStringFaxnummer
first_nameStringVoornaam persoon
genderStringSexe (M, V, nvt)
informationStringInformatie

Free text about the person (informatie).

initialsStringVoorletters
is_deciderBooleanIs kontaktpersoon een beslisser
language_numberInt32Taalkode
last_name_prefixStringVoorvoegsels
left_employmentBooleanUit dienst: Geeft aan of contactpersoon nog in dienst is of niet.

The person no longer works there (uit dienst). Leave them out with left_employment eq false.

mailing_numberInt32Mailingkode
mobile_telephoneStringTelefoonnummer mobiel
name_1StringNaam

The last name. The full name is first_name, last_name_prefix and name_1.

name_2StringNaam
orderInt32Representatie volgordenummer
personal_emailBooleanEigen nummers: Eigen nummer (telefoon, fax en email) of nummers van prel

Whether email is the person's own address rather than the relation's.

personal_fax_numberBooleanEigen nummers: Eigen nummer (telefoon, fax en email) of nummers van prel
personal_telephoneBooleanEigen nummers: Eigen nummer (telefoon, fax en email) of nummers van prel

Whether telephone is the person's own number rather than the relation's.

telephoneStringTelefoonnummer
title_idInt32Titel

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.

NavigationEntity set
ContactPersonTitleContactPersonTitlesone
RelationRelationsone
RelationContactPersonTypesRelationContactPersonTypesmany
Wingman