An account for a web service (for example a customer portal), linked to an employee or a relation.

Label in Fledge: Webservice accounts

URLhttps://odata-api.fledge.nl/v2-8/WebServiceAccounts
Keyweb_service_account_id
AdministrationShared by all administrations.
OperationsGET listGET onePOSTPATCHDELETE
Read licensesBASISBASISAPP
Write licensesBEHEER
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/WebServiceAccounts" \
  --data-urlencode '$select=web_service_account_id,last_login_date_time,lockout_end_date_time,username' \
  --data-urlencode '$top=50' \
  -H "Authorization: Bearer $TOKEN"
const url = new URL('https://odata-api.fledge.nl/v2-8/WebServiceAccounts');
url.searchParams.set('$select', 'web_service_account_id,last_login_date_time,lockout_end_date_time,username');
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/WebServiceAccounts" + "?" + string.Join("&",
    "$select=" + Uri.EscapeDataString("web_service_account_id,last_login_date_time,lockout_end_date_time,username"),
    "$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/WebServiceAccounts({web_service_account_id})

Fields

FieldTypeDescription
web_service_account_idkeyInt32Account ID
access_failed_countInt32Aantal aanmeldfouten webservice
administration_idInt32Administratienummer
last_login_date_timeDateTimeOffsetLaatste loging webservice
lockout_end_date_timeDateTimeOffsetDatumtijd lockout
employee_idInt32Mannummer
relation_contact_person_idInt32Kontaktpers.: Kontakt persoon nummer
relation_idInt32Relatie
account_typeStringAccount type
passwordStringPassword
usernameStringUser name
Wingman