POST api/v2.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")

DiscussionSubscriptionUpdateRequest
NameDescriptionTypeAdditional information
DiscussionKey

globally unique identifier

None.

SubscriptionType

string

None.

Email

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DiscussionKey": "5a8f262f-649a-4ee6-b3bf-02b3c4af90b5",
  "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>5a8f262f-649a-4ee6-b3bf-02b3c4af90b5</DiscussionKey>
  <Email>sample string 3</Email>
  <SubscriptionType>sample string 2</SubscriptionType>
</DiscussionSubscriptionUpdateRequest>

Response Information

Resource Description

True if successful, False if not.

Collection of boolean

Response 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>