Get Agb Acceptances
Changed onReturns the AGB acceptance state of all users who accepted the AGB at least once. The search term is matched against the UID (stored without separators, e.g. CHE123456789). Supports the filter 'status' (ACCEPTED, TRANSITION_PERIOD, PENDING), pagination and sorting on 'givenName', 'familyName', 'email', 'uid' and 'lastAcceptedAgbDate' (default: uid,familyName).
Request
- The document declares no server URL.
- AuthOpenID Connect (http://localhost:6999/realms/agate/.well-known/openid-configuration, scopes: agridata.ch.Agridata_Admin, agridata.ch.Agridata_Support)
Query parameters
Column filters in the form '<column>:<value>[,<value>]', multiple filters separated by ';'. Values of the same column are combined with OR, filters on different columns with AND. Duplicate values are ignored. The filterable columns are documented per endpoint.
language code for multilingual fields. Must be supported by application.
page number
string to search for in the resource
page size
List of field names to sort by. Default is ascending prefix with - for descending
Response
OK
Example response
{
"items": [
{
"givenName": "Anna",
"familyName": "Muster",
"email": "anna.muster@example.com",
"uid": "CHE123456789",
"lastAcceptedAgbDate": "2022-03-10T12:15:50",
"lastAcceptedAgbVersion": "1.4"
}
],
"totalItems": 42,
"totalPages": 5,
"currentPage": 1,
"pageSize": 10
}Changes
- info
endpoint added
- info