POST api/v2.0/Discussions/PostToDiscussionWithCrossPost

Request Information

URI Parameters

None.

Body Parameters

NewDiscussionPostWithCrossPostRequest
NameDescriptionTypeAdditional information
Subject

string

Required

Max length: 255

Body

string

Required

DiscussionKey

globally unique identifier

Required

CrossPostKey

globally unique identifier

Required

Request Formats

application/json, text/json

Sample:
{
  "Subject": "sample string 1",
  "Body": "sample string 2",
  "DiscussionKey": "5cb6ca5e-156a-4f2d-8754-259d9a346665",
  "CrossPostKey": "34cad12c-41a7-41eb-a9e9-6507826273f1"
}

application/xml, text/xml

Sample:
<NewDiscussionPostWithCrossPostRequest 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>
  <CrossPostKey>34cad12c-41a7-41eb-a9e9-6507826273f1</CrossPostKey>
  <DiscussionKey>5cb6ca5e-156a-4f2d-8754-259d9a346665</DiscussionKey>
  <Subject>sample string 1</Subject>
</NewDiscussionPostWithCrossPostRequest>

Response Information

Resource Description

None.