POST api/v2.0/Discussions/PostToDiscussionAnonymously
Request Information
URI Parameters
None.
Body Parameters
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": "cf38fcef-8963-4920-a08d-6d613082968b", "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>cf38fcef-8963-4920-a08d-6d613082968b</DiscussionKey> <Subject>sample string 2</Subject> </PostDiscussionMessageRequest>
Response Information
Resource Description
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>