POST api/v1.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": "3b315db0-6165-4f72-9f73-4530d3aadb2e",
  "CrossPostKey": "3650a00f-f03d-47a2-bb5d-752ac4521454"
}

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>3650a00f-f03d-47a2-bb5d-752ac4521454</CrossPostKey>
  <DiscussionKey>3b315db0-6165-4f72-9f73-4530d3aadb2e</DiscussionKey>
  <Subject>sample string 1</Subject>
</NewDiscussionPostWithCrossPostRequest>

Response Information

Resource Description

None.