2317: Update entity preferences for group
Update entity preference subscription status for all preferences in a group
| Endpoint ID: | 2317 | |
| Method: | PUT | |
| URL: | /preferences/entity/id/{entityID}/group/{groupID} /preferences/entity/ext-key/{ext-key}/{ext-type}/group/{groupID} | |
| entityID | Rubiq master ID that uniquely identifies the entity | |
| ext-key | External key that uniquely identifies the entity | |
| ext-type | Type of external key | |
| groupID | A GUID string identifier for the group | |
| Request body: | A JSON object containing the following propertes:
{
"preferences": [
"7a6776a3-9411-4d34-9866-99aa9ac7cc27",
"dd9eaf78-18ff-44ea-9717-25b103060643"
],
"optOutReason": "No longer interested"
}
The entity will be opted-in to any preferences in the The entity will be opted-out of any preferences in the group which are not in the If there is no There is an important difference between an empty All preferences in Preference " | |
Response body: | None | |
| Status codes: | 204 | OK |
| 404 | The entity or preference were not found. The following sub codes may be returned:
| |