POST api/v2.0/Discussions/PostToDiscussionAnonymously

Request Information

URI Parameters

None.

Body Parameters

PostDiscussionMessageRequest
NameDescriptionTypeAdditional 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": "a3a4373e-d293-44ca-a2ba-4a81a3019c3c",
  "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>a3a4373e-d293-44ca-a2ba-4a81a3019c3c</DiscussionKey>
  <Subject>sample string 2</Subject>
</PostDiscussionMessageRequest>

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>