POST api/v2.0/Discussions/ReplyToDiscussionAnonymously

Submit a reply to a Discussion Post using the System's Anonymous user. This functionality requires Anonymous Posting to be enabled at the system level.

Request Information

URI Parameters

None.

Body Parameters

Details of the Discussion Post reply.

DiscussionPostReplyRequest
NameDescriptionTypeAdditional information
Subject

Subject of the Discussion Post.

string

None.

Body

Body of the Discussion Post.

string

None.

DiscussionPostKey

Unique Key of the Discussion Post to Reply to.

globally unique identifier

None.

DocumentKey

Optional. Unique Key of the Library Entry (Document) you wish to attach to the Discussion Post Reply.

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Subject": "sample string 1",
  "Body": "sample string 2",
  "DiscussionPostKey": "bb5ede2f-7346-4add-aa62-ba7ac980e207",
  "DocumentKey": "ff830b6d-d1cd-4129-9b41-3b433e6c84b0"
}

application/xml, text/xml

Sample:
<DiscussionPostReplyRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise.Request">
  <Body>sample string 2</Body>
  <DiscussionPostKey>bb5ede2f-7346-4add-aa62-ba7ac980e207</DiscussionPostKey>
  <DocumentKey>ff830b6d-d1cd-4129-9b41-3b433e6c84b0</DocumentKey>
  <Subject>sample string 1</Subject>
</DiscussionPostReplyRequest>

Response Information

Resource Description

True if reply created successfully, false otherwise

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>