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")

DiscussionSubscriptionUpdateRequest
NameDescriptionTypeAdditional information
DiscussionKey

globally unique identifier

None.

SubscriptionType

string

None.

Email

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DiscussionKey": "64dd74a3-4b94-472d-9868-9fccfa065f4f",
  "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>64dd74a3-4b94-472d-9868-9fccfa065f4f</DiscussionKey>
  <Email>sample string 3</Email>
  <SubscriptionType>sample string 2</SubscriptionType>
</DiscussionSubscriptionUpdateRequest>

Response Information

Resource Description

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>