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.

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": "25196fea-63a4-4d63-b9dc-2af88130c40e",
  "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>25196fea-63a4-4d63-b9dc-2af88130c40e</DiscussionKey>
  <Subject>sample string 2</Subject>
</PostDiscussionMessageRequest>

Response Information

Resource Description

True if successful, False if not.

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>