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": "7335bec4-3d97-478a-973e-245ae4c6dc35", "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>7335bec4-3d97-478a-973e-245ae4c6dc35</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>