An account for a web service (for example a customer portal), linked to an employee or a relation.
Label in Fledge: Webservice accounts
| URL | https://odata-api.fledge.nl/v2-8/WebServiceAccounts |
|---|---|
| Key | web_service_account_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/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
| Field | Type | Description |
|---|---|---|
web_service_account_idkey | Int32 | Account ID |
access_failed_count | Int32 | Aantal aanmeldfouten webservice |
administration_id | Int32 | Administratienummer |
last_login_date_time | DateTimeOffset | Laatste loging webservice |
lockout_end_date_time | DateTimeOffset | Datumtijd lockout |
employee_id | Int32 | Mannummer |
relation_contact_person_id | Int32 | Kontaktpers.: Kontakt persoon nummer |
relation_id | Int32 | Relatie |
account_type | String | Account type |
password | String | Password |
username | String | User name |