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": "a4148b37-956f-4611-89b6-add3a8497b8a",
  "CrossPostKey": "2c986186-3311-4758-85b1-21f460e13e24"
}

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>2c986186-3311-4758-85b1-21f460e13e24</CrossPostKey>
  <DiscussionKey>a4148b37-956f-4611-89b6-add3a8497b8a</DiscussionKey>
  <Subject>sample string 1</Subject>
</NewDiscussionPostWithCrossPostRequest>

Response Information

Resource Description

None.