Update a group subscription

POST {{baseUrl}}/.api/api.svc/groupsubscriptions/update?objectId={{$randomUUID}}&groupId={{$randomUUID}}&frequency=Daily

Change the frequency of an existing group subscription, given the objectId and groupId.

Request Params

| Key | Datatype | Required | Description | | objectId | string | | (Required) - GUID

The Id of the object that is subscribed. Only one object can be updated at a time. | | groupId | string | | (Required) - GUID

The Id of the group subscribed to the object.
Here only one group subscription can be updated at a time. | | frequency | string | | String

The subscription frequency of the object to be updated. The avaliable options are: Never, Instant, Daily, Weekly, Monthly

Note: For microblogs, the only avaliable option is Instant |

HEADERS

| Key | Datatype | Required | Description | | Accept | string | | The type of response data to request. By default this endpoint will respond with XML.

The options are:

  • application/json
  • application/xml |

RESPONSES

status: OK

{"minRequestPeriod":0,"requestSupportCode":637793400810513589,"dictionary":null,"response":{"__type":"Model.GroupSubscriptionDefinition:http://schemas.iglooplatform.com/Igloo.Old.Common","id":"{{$randomInt}}{{$randomInt}}","href":"","navType":0,"communityId":"{{$randomUUID}}","created":{"userId":"","date":"/Date(1643743168010-0500)/","user":null},"forObjectId":"{{$randomUUID}}","frequency":2,"groupId":"{{$randomUUID}}","isGroupSubscription":true,"modified":{"userId":"","date":"/Date(1643743281050-0500)/","user":null},"overridesGroupSubscription":false,"userId":""}}