POST api/v2.0/Discussions/SubmitDiscussionPost
Submit a new DiscussionPost to a Discussion.
Request Information
URI Parameters
None.
Body Parameters
Set of properties describing the Discussion to Post to, the Subject, and the Body of the DiscussionPost.
PostDiscussionMessageRequestName | Description | Type | Additional information |
---|---|---|---|
DiscussionKey |
Unique Key of the Discussion to Post to. |
globally unique identifier |
None. |
Subject |
Subject of the Discussion Post. |
string |
None. |
Body |
Body of the Discussion Post. |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "DiscussionKey": "8e938c56-9a26-486d-bf9f-dc86550a419f", "Subject": "sample string 2", "Body": "sample string 3" }
application/xml, text/xml
Sample:
<PostDiscussionMessageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise.Request"> <Body>sample string 3</Body> <DiscussionKey>8e938c56-9a26-486d-bf9f-dc86550a419f</DiscussionKey> <Subject>sample string 2</Subject> </PostDiscussionMessageRequest>
Response Information
Resource Description
True if successful, False if not.
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>