POST api/v2.0/Discussions/ReplyToDiscussion
Post a reply to the specified Discussion Post.
Request Information
URI Parameters
None.
Body Parameters
Details of the Discussion Post reply.
DiscussionPostReplyRequest| Name | Description | Type | Additional 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": "a50b2faf-5d5d-4538-a860-b639a05f120f",
"DocumentKey": "6e8680b8-255f-469e-8c45-29957aecd08d"
}
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>a50b2faf-5d5d-4538-a860-b639a05f120f</DiscussionPostKey> <DocumentKey>6e8680b8-255f-469e-8c45-29957aecd08d</DocumentKey> <Subject>sample string 1</Subject> </DiscussionPostReplyRequest>
Response Information
Resource Description
True or False to indicate success.
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>