2300: Get preferences
Fetch preference details
Endpoint ID: | 2300 | |
Method: | GET | |
URL: | /preferences/preference/{preferenceID} | |
preferenceID | OPTIONAL: A GUID string identifier for the preference | |
Request body: | None | |
Response body: | JSON data containing an array of /preferences/preference/7a6776a3-9411-4d34-9866-99aa9ac7cc27 { "preferences": [ { "id": "7a6776a3-9411-4d34-9866-99aa9ac7cc27", "name": "Preference 1", "description": "This explains everything", "isActive": true, "labels": [ { "language": "da", "label": "Tekst", "isDefault": true }, { "language": "en", "label": "Text", "isDefault": false } ], "groups": [ "0ade0850-0abb-4d3a-b69f-c4307473d1f0", "38ed187d-456d-4617-9bbd-045d3ebf15e0" ] } ] } /preferences/preference – No preferences exist { "preferences": [] } When a | |
Status codes: | 200 | OK |
404 | Preference not found - only returned when a preferenceID parameter is included in the request |