POST api/v2.0/Discussions/GetDiscussionPosts
Returns a list of Discussion Posts for the Current User.
Request Information
URI Parameters
None.
Body Parameters
GetEligibleDiscussionsRequestName | Description | Type | Additional information |
---|---|---|---|
MaxContentLength |
Maximum character length of the returned Discussion Post Content. Characters past this limit will be truncated. |
integer |
None. |
IncludeStaffPosts | boolean |
None. |
|
DiscussionKeyFilter |
If specified, narrow down by Specified DiscussionKey |
globally unique identifier |
None. |
MaxNumberToRetrieve |
Maximum number of Discussion Posts to retrieve for this eventFilter. |
integer |
None. |
MaxSubjectLength |
Maximum character length of the returned Discussion Post Subject. Characters past this limit will be truncated. |
integer |
None. |
ContinuationToken | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "MaxContentLength": 1, "IncludeStaffPosts": true, "DiscussionKeyFilter": "82a82a09-e435-4c2a-9f7e-4f1f3f39ba0f", "MaxNumberToRetrieve": 3, "MaxSubjectLength": 4, "ContinuationToken": "sample string 5" }
application/xml, text/xml
Sample:
<GetEligibleDiscussionsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise.Request"> <ContinuationToken>sample string 5</ContinuationToken> <DiscussionKeyFilter>82a82a09-e435-4c2a-9f7e-4f1f3f39ba0f</DiscussionKeyFilter> <IncludeStaffPosts>true</IncludeStaffPosts> <MaxContentLength>1</MaxContentLength> <MaxNumberToRetrieve>3</MaxNumberToRetrieve> <MaxSubjectLength>4</MaxSubjectLength> </GetEligibleDiscussionsRequest>
Response Information
Resource Description
A list of SubscribedDiscussionPost objects.
Collection of SubscribedDiscussionPostName | Description | Type | Additional information |
---|---|---|---|
IsLoggedIn | boolean |
None. |
|
Subject | string |
None. |
|
ShortSubject | string |
None. |
|
FirstLast | string |
None. |
|
CreatedOn | date |
None. |
|
DiscussionName | string |
None. |
|
Content | string |
None. |
|
DiscussionHomePageUrl | string |
None. |
|
DiscussionPageUrl | string |
None. |
|
LinkToAuthorProfile | string |
None. |
|
IsImageExist | boolean |
None. |
|
PictureUrl | string |
None. |
|
LinkToReadPosts | string |
None. |
|
BinaryImage | Collection of byte |
None. |
|
DiscussionPostKey | globally unique identifier |
None. |
|
LargePictureUrl | string |
None. |
|
RecommendationCount | integer |
None. |
|
ContactsWhoRecommend | Collection of ContactConcise |
None. |
|
DiscussionPostThreadKey | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
[ { "IsLoggedIn": true, "Subject": "sample string 2", "ShortSubject": "sample string 3", "FirstLast": "sample string 4", "CreatedOn": "2024-09-16T06:59:45.6453296Z", "DiscussionName": "sample string 5", "Content": "sample string 6", "DiscussionHomePageUrl": "sample string 7", "DiscussionPageUrl": "sample string 8", "LinkToAuthorProfile": "sample string 9", "IsImageExist": true, "PictureUrl": "sample string 11", "LinkToReadPosts": "sample string 12", "BinaryImage": "QEA=", "DiscussionPostKey": "e0e42485-543f-4923-8d91-6320f42446c6", "LargePictureUrl": "sample string 14", "RecommendationCount": 15, "ContactsWhoRecommend": [ { "LinkToProfile": "sample string 1", "PictureUrl": "sample string 2", "ContactKey": "160472b0-2984-439c-80db-de1b356c7d41", "FirstName": "sample string 4", "LastName": "sample string 5", "DisplayName": "sample string 6", "EmailAddress": "sample string 7", "ContactStatusCode": "sample string 8", "PrefixCode": "sample string 9", "UpdatedOn": "2024-09-16T06:59:45.6453296Z", "UpdatedByContactKey": "4afcd479-d726-4236-8148-ab7258578c1c", "CompanyName": "sample string 12", "CompanyTitle": "sample string 13", "SuffixCode": "sample string 14", "Designation": "sample string 15", "LegacyContactKey": "sample string 16", "InformalName": "sample string 17", "MiddleName": "sample string 18", "IsCompany": true, "CompanyLegacyContactKey": "sample string 20", "AMSDirectoryOptOut": true, "HLDirectoryOptOut": true, "HLContactMeOptOut": true, "LargePictureUrl": "sample string 24", "AgreedToTermsDateTime": "2024-09-16T06:59:45.6453296Z" }, { "LinkToProfile": "sample string 1", "PictureUrl": "sample string 2", "ContactKey": "160472b0-2984-439c-80db-de1b356c7d41", "FirstName": "sample string 4", "LastName": "sample string 5", "DisplayName": "sample string 6", "EmailAddress": "sample string 7", "ContactStatusCode": "sample string 8", "PrefixCode": "sample string 9", "UpdatedOn": "2024-09-16T06:59:45.6453296Z", "UpdatedByContactKey": "4afcd479-d726-4236-8148-ab7258578c1c", "CompanyName": "sample string 12", "CompanyTitle": "sample string 13", "SuffixCode": "sample string 14", "Designation": "sample string 15", "LegacyContactKey": "sample string 16", "InformalName": "sample string 17", "MiddleName": "sample string 18", "IsCompany": true, "CompanyLegacyContactKey": "sample string 20", "AMSDirectoryOptOut": true, "HLDirectoryOptOut": true, "HLContactMeOptOut": true, "LargePictureUrl": "sample string 24", "AgreedToTermsDateTime": "2024-09-16T06:59:45.6453296Z" } ], "DiscussionPostThreadKey": "1aec853e-c3b5-477e-a995-8d155b8219ae" }, { "IsLoggedIn": true, "Subject": "sample string 2", "ShortSubject": "sample string 3", "FirstLast": "sample string 4", "CreatedOn": "2024-09-16T06:59:45.6453296Z", "DiscussionName": "sample string 5", "Content": "sample string 6", "DiscussionHomePageUrl": "sample string 7", "DiscussionPageUrl": "sample string 8", "LinkToAuthorProfile": "sample string 9", "IsImageExist": true, "PictureUrl": "sample string 11", "LinkToReadPosts": "sample string 12", "BinaryImage": "QEA=", "DiscussionPostKey": "e0e42485-543f-4923-8d91-6320f42446c6", "LargePictureUrl": "sample string 14", "RecommendationCount": 15, "ContactsWhoRecommend": [ { "LinkToProfile": "sample string 1", "PictureUrl": "sample string 2", "ContactKey": "160472b0-2984-439c-80db-de1b356c7d41", "FirstName": "sample string 4", "LastName": "sample string 5", "DisplayName": "sample string 6", "EmailAddress": "sample string 7", "ContactStatusCode": "sample string 8", "PrefixCode": "sample string 9", "UpdatedOn": "2024-09-16T06:59:45.6453296Z", "UpdatedByContactKey": "4afcd479-d726-4236-8148-ab7258578c1c", "CompanyName": "sample string 12", "CompanyTitle": "sample string 13", "SuffixCode": "sample string 14", "Designation": "sample string 15", "LegacyContactKey": "sample string 16", "InformalName": "sample string 17", "MiddleName": "sample string 18", "IsCompany": true, "CompanyLegacyContactKey": "sample string 20", "AMSDirectoryOptOut": true, "HLDirectoryOptOut": true, "HLContactMeOptOut": true, "LargePictureUrl": "sample string 24", "AgreedToTermsDateTime": "2024-09-16T06:59:45.6453296Z" }, { "LinkToProfile": "sample string 1", "PictureUrl": "sample string 2", "ContactKey": "160472b0-2984-439c-80db-de1b356c7d41", "FirstName": "sample string 4", "LastName": "sample string 5", "DisplayName": "sample string 6", "EmailAddress": "sample string 7", "ContactStatusCode": "sample string 8", "PrefixCode": "sample string 9", "UpdatedOn": "2024-09-16T06:59:45.6453296Z", "UpdatedByContactKey": "4afcd479-d726-4236-8148-ab7258578c1c", "CompanyName": "sample string 12", "CompanyTitle": "sample string 13", "SuffixCode": "sample string 14", "Designation": "sample string 15", "LegacyContactKey": "sample string 16", "InformalName": "sample string 17", "MiddleName": "sample string 18", "IsCompany": true, "CompanyLegacyContactKey": "sample string 20", "AMSDirectoryOptOut": true, "HLDirectoryOptOut": true, "HLContactMeOptOut": true, "LargePictureUrl": "sample string 24", "AgreedToTermsDateTime": "2024-09-16T06:59:45.6453296Z" } ], "DiscussionPostThreadKey": "1aec853e-c3b5-477e-a995-8d155b8219ae" } ]
application/xml, text/xml
Sample:
<ArrayOfSubscribedDiscussionPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise"> <SubscribedDiscussionPost> <BinaryImage>QEA=</BinaryImage> <ContactsWhoRecommend> <ContactConcise> <AMSDirectoryOptOut>true</AMSDirectoryOptOut> <AgreedToTermsDateTime>2024-09-16T02:59:45.6453296-04:00</AgreedToTermsDateTime> <CompanyLegacyContactKey>sample string 20</CompanyLegacyContactKey> <CompanyName>sample string 12</CompanyName> <CompanyTitle>sample string 13</CompanyTitle> <ContactKey>160472b0-2984-439c-80db-de1b356c7d41</ContactKey> <ContactStatusCode>sample string 8</ContactStatusCode> <Designation>sample string 15</Designation> <DisplayName>sample string 6</DisplayName> <EmailAddress>sample string 7</EmailAddress> <FirstName>sample string 4</FirstName> <HLContactMeOptOut>true</HLContactMeOptOut> <HLDirectoryOptOut>true</HLDirectoryOptOut> <InformalName>sample string 17</InformalName> <IsCompany>true</IsCompany> <LargePictureUrl>sample string 24</LargePictureUrl> <LastName>sample string 5</LastName> <LegacyContactKey>sample string 16</LegacyContactKey> <LinkToProfile>sample string 1</LinkToProfile> <MiddleName>sample string 18</MiddleName> <PictureUrl>sample string 2</PictureUrl> <PrefixCode>sample string 9</PrefixCode> <SuffixCode>sample string 14</SuffixCode> <UpdatedByContactKey>4afcd479-d726-4236-8148-ab7258578c1c</UpdatedByContactKey> <UpdatedOn>2024-09-16T02:59:45.6453296-04:00</UpdatedOn> </ContactConcise> <ContactConcise> <AMSDirectoryOptOut>true</AMSDirectoryOptOut> <AgreedToTermsDateTime>2024-09-16T02:59:45.6453296-04:00</AgreedToTermsDateTime> <CompanyLegacyContactKey>sample string 20</CompanyLegacyContactKey> <CompanyName>sample string 12</CompanyName> <CompanyTitle>sample string 13</CompanyTitle> <ContactKey>160472b0-2984-439c-80db-de1b356c7d41</ContactKey> <ContactStatusCode>sample string 8</ContactStatusCode> <Designation>sample string 15</Designation> <DisplayName>sample string 6</DisplayName> <EmailAddress>sample string 7</EmailAddress> <FirstName>sample string 4</FirstName> <HLContactMeOptOut>true</HLContactMeOptOut> <HLDirectoryOptOut>true</HLDirectoryOptOut> <InformalName>sample string 17</InformalName> <IsCompany>true</IsCompany> <LargePictureUrl>sample string 24</LargePictureUrl> <LastName>sample string 5</LastName> <LegacyContactKey>sample string 16</LegacyContactKey> <LinkToProfile>sample string 1</LinkToProfile> <MiddleName>sample string 18</MiddleName> <PictureUrl>sample string 2</PictureUrl> <PrefixCode>sample string 9</PrefixCode> <SuffixCode>sample string 14</SuffixCode> <UpdatedByContactKey>4afcd479-d726-4236-8148-ab7258578c1c</UpdatedByContactKey> <UpdatedOn>2024-09-16T02:59:45.6453296-04:00</UpdatedOn> </ContactConcise> </ContactsWhoRecommend> <Content>sample string 6</Content> <CreatedOn>2024-09-16T02:59:45.6453296-04:00</CreatedOn> <DiscussionHomePageUrl>sample string 7</DiscussionHomePageUrl> <DiscussionName>sample string 5</DiscussionName> <DiscussionPageUrl>sample string 8</DiscussionPageUrl> <DiscussionPostKey>e0e42485-543f-4923-8d91-6320f42446c6</DiscussionPostKey> <FirstLast>sample string 4</FirstLast> <IsImageExist>true</IsImageExist> <IsLoggedIn>true</IsLoggedIn> <LargePictureUrl>sample string 14</LargePictureUrl> <LinkToAuthorProfile>sample string 9</LinkToAuthorProfile> <LinkToReadPosts>sample string 12</LinkToReadPosts> <PictureUrl>sample string 11</PictureUrl> <RecommendationCount>15</RecommendationCount> <ShortSubject>sample string 3</ShortSubject> <Subject>sample string 2</Subject> </SubscribedDiscussionPost> <SubscribedDiscussionPost> <BinaryImage>QEA=</BinaryImage> <ContactsWhoRecommend> <ContactConcise> <AMSDirectoryOptOut>true</AMSDirectoryOptOut> <AgreedToTermsDateTime>2024-09-16T02:59:45.6453296-04:00</AgreedToTermsDateTime> <CompanyLegacyContactKey>sample string 20</CompanyLegacyContactKey> <CompanyName>sample string 12</CompanyName> <CompanyTitle>sample string 13</CompanyTitle> <ContactKey>160472b0-2984-439c-80db-de1b356c7d41</ContactKey> <ContactStatusCode>sample string 8</ContactStatusCode> <Designation>sample string 15</Designation> <DisplayName>sample string 6</DisplayName> <EmailAddress>sample string 7</EmailAddress> <FirstName>sample string 4</FirstName> <HLContactMeOptOut>true</HLContactMeOptOut> <HLDirectoryOptOut>true</HLDirectoryOptOut> <InformalName>sample string 17</InformalName> <IsCompany>true</IsCompany> <LargePictureUrl>sample string 24</LargePictureUrl> <LastName>sample string 5</LastName> <LegacyContactKey>sample string 16</LegacyContactKey> <LinkToProfile>sample string 1</LinkToProfile> <MiddleName>sample string 18</MiddleName> <PictureUrl>sample string 2</PictureUrl> <PrefixCode>sample string 9</PrefixCode> <SuffixCode>sample string 14</SuffixCode> <UpdatedByContactKey>4afcd479-d726-4236-8148-ab7258578c1c</UpdatedByContactKey> <UpdatedOn>2024-09-16T02:59:45.6453296-04:00</UpdatedOn> </ContactConcise> <ContactConcise> <AMSDirectoryOptOut>true</AMSDirectoryOptOut> <AgreedToTermsDateTime>2024-09-16T02:59:45.6453296-04:00</AgreedToTermsDateTime> <CompanyLegacyContactKey>sample string 20</CompanyLegacyContactKey> <CompanyName>sample string 12</CompanyName> <CompanyTitle>sample string 13</CompanyTitle> <ContactKey>160472b0-2984-439c-80db-de1b356c7d41</ContactKey> <ContactStatusCode>sample string 8</ContactStatusCode> <Designation>sample string 15</Designation> <DisplayName>sample string 6</DisplayName> <EmailAddress>sample string 7</EmailAddress> <FirstName>sample string 4</FirstName> <HLContactMeOptOut>true</HLContactMeOptOut> <HLDirectoryOptOut>true</HLDirectoryOptOut> <InformalName>sample string 17</InformalName> <IsCompany>true</IsCompany> <LargePictureUrl>sample string 24</LargePictureUrl> <LastName>sample string 5</LastName> <LegacyContactKey>sample string 16</LegacyContactKey> <LinkToProfile>sample string 1</LinkToProfile> <MiddleName>sample string 18</MiddleName> <PictureUrl>sample string 2</PictureUrl> <PrefixCode>sample string 9</PrefixCode> <SuffixCode>sample string 14</SuffixCode> <UpdatedByContactKey>4afcd479-d726-4236-8148-ab7258578c1c</UpdatedByContactKey> <UpdatedOn>2024-09-16T02:59:45.6453296-04:00</UpdatedOn> </ContactConcise> </ContactsWhoRecommend> <Content>sample string 6</Content> <CreatedOn>2024-09-16T02:59:45.6453296-04:00</CreatedOn> <DiscussionHomePageUrl>sample string 7</DiscussionHomePageUrl> <DiscussionName>sample string 5</DiscussionName> <DiscussionPageUrl>sample string 8</DiscussionPageUrl> <DiscussionPostKey>e0e42485-543f-4923-8d91-6320f42446c6</DiscussionPostKey> <FirstLast>sample string 4</FirstLast> <IsImageExist>true</IsImageExist> <IsLoggedIn>true</IsLoggedIn> <LargePictureUrl>sample string 14</LargePictureUrl> <LinkToAuthorProfile>sample string 9</LinkToAuthorProfile> <LinkToReadPosts>sample string 12</LinkToReadPosts> <PictureUrl>sample string 11</PictureUrl> <RecommendationCount>15</RecommendationCount> <ShortSubject>sample string 3</ShortSubject> <Subject>sample string 2</Subject> </SubscribedDiscussionPost> </ArrayOfSubscribedDiscussionPost>