POST api/v1.0/Discussions/ReplyToDiscussion

Request Information

URI Parameters

None.

Body Parameters

DiscussionPostReplyRequest
NameDescriptionTypeAdditional information
Subject

Subject of the Discussion Post.

string

Max length: 255

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": "12000e85-e2a1-4db9-9c17-67e0467631ee",
  "DocumentKey": "5426f350-0ded-48dd-9ef2-8f408592834b"
}

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>12000e85-e2a1-4db9-9c17-67e0467631ee</DiscussionPostKey>
  <DocumentKey>5426f350-0ded-48dd-9ef2-8f408592834b</DocumentKey>
  <Subject>sample string 1</Subject>
</DiscussionPostReplyRequest>

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>