POST api/v2.0/Discussions/PostToDiscussionWithCrossPost
Request Information
URI Parameters
None.
Body Parameters
NewDiscussionPostWithCrossPostRequestName | Description | Type | Additional 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": "ba0b9d41-6d2f-4f8f-820f-4b3c541faa27", "CrossPostKey": "ddd4467b-7ea5-475b-a4bb-f9ff87b9f0ec" }
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>ddd4467b-7ea5-475b-a4bb-f9ff87b9f0ec</CrossPostKey> <DiscussionKey>ba0b9d41-6d2f-4f8f-820f-4b3c541faa27</DiscussionKey> <Subject>sample string 1</Subject> </NewDiscussionPostWithCrossPostRequest>
Response Information
Resource Description
None.