Fetch entity preference subscription details for all preferences
Endpoint ID: | 2210 | |
Method: | GET | |
URL: | /preferences/entity/id/{entityID}/preference /preferences/entity/ext-key/{ext-key}/{ext-type}/preference | |
entityID | Rubiq master ID that uniquely identifies the entity | |
ext-key | Rubiq master ID that uniquely identifies the entity | |
ext-type | Type of external key | |
Request body: | None | |
Response body: | JSON data containing an array of The entity has opted in to a single preference { "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 } ] } ] } The entity has not opted into any preferences { "preferences": [] } | |
Status codes: | 200 | OK |
404 | Preference not found - only returned when a preferenceID parameter is included in the request |