# WebServiceAccounts

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

Subject: System.

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-specific | no |
| Operations | GET list, GET one, POST, PATCH, DELETE |
| Read licenses | BASIS, BASISAPP |
| Write licenses | BEHEER |
| Scopes | FLEDGE_PORTAL |

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/WebServiceAccounts?$select=web_service_account_id,last_login_date_time,lockout_end_date_time,username&$top=50
GET https://odata-api.fledge.nl/v2-8/WebServiceAccounts({web_service_account_id})
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `web_service_account_id` (key) | Int32, not null | 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 |

---

Source: https://docs.fledge.nl/en/api/reference/WebServiceAccounts
