A login account. user_id is the number other tables use (created by, employees). Which administrations a user may use is in AdministrationAuthorizations.

Label in Fledge: Gebruikers

URLhttps://odata-api.fledge.nl/v2-8/Users
Keyaccount_name
AdministrationShared by all administrations.
OperationsGET listGET onePOSTPATCHDELETE
Read licensesBASISBASISAPPURENPC
Write licensesBASISBASISAPP
ScopesFLEDGE_PORTALFLEDGE_TERMINAL

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/Users" \
  --data-urlencode '$select=account_name,default_administration_id,is_blocked,name' \
  --data-urlencode '$top=50' \
  -H "Authorization: Bearer $TOKEN"
const url = new URL('https://odata-api.fledge.nl/v2-8/Users');
url.searchParams.set('$select', 'account_name,default_administration_id,is_blocked,name');
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/Users" + "?" + string.Join("&",
    "$select=" + Uri.EscapeDataString("account_name,default_administration_id,is_blocked,name"),
    "$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/Users('{account_name}')

Fields

FieldTypeDescription
account_namekeyStringAanmeld naam

The login name.

default_administration_idInt32Default Administratie

The administration opened at login, when the user may open it; else the one last used in that browser, else the lowest administration_id.

default_financial_yearInt32Def Boekj: Default Boekjaar
department_idStringAfdeling
emailStringMail adres van de gebruiker
functionStringFunctie van de gebruiker
initialsStringInitialen
is_blockedBooleanGeblokkeerd (j/n)

The account is blocked.

iso_language_codeStringISO taalcode
nameStringVolledige naam: Gebruikersnaam is identiek aan _User._User-name !

The full name.

sexStringSexe van de gebruiker
user_idInt32not nullGebruikersnummer: Gebruikers nummer, ook een unieke key voor de tabel

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
AdministrationAuthorizationsAdministrationAuthorizationsmany
AgentsAgentsmany
EmployeesEmployeesmany
SalesmenSalesmenmany
Wingman