POST api/v1.0/Discussions/UpdateSubscription
Update Discussion Subscription.
Request Information
URI Parameters
None.
Body Parameters
Accepted subscriptionTypes are: Real Time ("Rt"), Daily Digest ("Dd"), No Emails ("Ne")
DiscussionSubscriptionUpdateRequestName | Description | Type | Additional information |
---|---|---|---|
DiscussionKey | globally unique identifier |
None. |
|
SubscriptionType | string |
None. |
|
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "DiscussionKey": "1a965d87-b8d1-4ce2-8153-6f6959690df6", "SubscriptionType": "sample string 2", "Email": "sample string 3" }
application/xml, text/xml
Sample:
<DiscussionSubscriptionUpdateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise.Request"> <DiscussionKey>1a965d87-b8d1-4ce2-8153-6f6959690df6</DiscussionKey> <Email>sample string 3</Email> <SubscriptionType>sample string 2</SubscriptionType> </DiscussionSubscriptionUpdateRequest>
Response Information
Resource Description
Collection of booleanResponse Formats
application/json, text/json
Sample:
[ true, true ]
application/xml, text/xml
Sample:
<ArrayOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <boolean>true</boolean> <boolean>true</boolean> </ArrayOfboolean>