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": "d96d64d0-0f33-4b45-9748-78977f35d6da", "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>d96d64d0-0f33-4b45-9748-78977f35d6da</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-12-06T02:35:16.5346476Z", "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": "eb457abb-0524-441d-9d31-f6b975f6a2c7", "LargePictureUrl": "sample string 14", "RecommendationCount": 15, "ContactsWhoRecommend": [ { "LinkToProfile": "sample string 1", "PictureUrl": "sample string 2", "ContactKey": "8f50910a-e086-45f0-b2e1-afd31131702c", "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-12-06T02:35:16.5346476Z", "UpdatedByContactKey": "52f0740f-e7b3-45ef-8cf6-5280f9a9f2d9", "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-12-06T02:35:16.5346476Z" }, { "LinkToProfile": "sample string 1", "PictureUrl": "sample string 2", "ContactKey": "8f50910a-e086-45f0-b2e1-afd31131702c", "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-12-06T02:35:16.5346476Z", "UpdatedByContactKey": "52f0740f-e7b3-45ef-8cf6-5280f9a9f2d9", "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-12-06T02:35:16.5346476Z" } ], "DiscussionPostThreadKey": "4bfba349-7872-44b4-b3e0-b6e4c5d719a1" }, { "IsLoggedIn": true, "Subject": "sample string 2", "ShortSubject": "sample string 3", "FirstLast": "sample string 4", "CreatedOn": "2024-12-06T02:35:16.5346476Z", "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": "eb457abb-0524-441d-9d31-f6b975f6a2c7", "LargePictureUrl": "sample string 14", "RecommendationCount": 15, "ContactsWhoRecommend": [ { "LinkToProfile": "sample string 1", "PictureUrl": "sample string 2", "ContactKey": "8f50910a-e086-45f0-b2e1-afd31131702c", "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-12-06T02:35:16.5346476Z", "UpdatedByContactKey": "52f0740f-e7b3-45ef-8cf6-5280f9a9f2d9", "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-12-06T02:35:16.5346476Z" }, { "LinkToProfile": "sample string 1", "PictureUrl": "sample string 2", "ContactKey": "8f50910a-e086-45f0-b2e1-afd31131702c", "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-12-06T02:35:16.5346476Z", "UpdatedByContactKey": "52f0740f-e7b3-45ef-8cf6-5280f9a9f2d9", "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-12-06T02:35:16.5346476Z" } ], "DiscussionPostThreadKey": "4bfba349-7872-44b4-b3e0-b6e4c5d719a1" } ]
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-12-05T21:35:16.5346476-05:00</AgreedToTermsDateTime> <CompanyLegacyContactKey>sample string 20</CompanyLegacyContactKey> <CompanyName>sample string 12</CompanyName> <CompanyTitle>sample string 13</CompanyTitle> <ContactKey>8f50910a-e086-45f0-b2e1-afd31131702c</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>52f0740f-e7b3-45ef-8cf6-5280f9a9f2d9</UpdatedByContactKey> <UpdatedOn>2024-12-05T21:35:16.5346476-05:00</UpdatedOn> </ContactConcise> <ContactConcise> <AMSDirectoryOptOut>true</AMSDirectoryOptOut> <AgreedToTermsDateTime>2024-12-05T21:35:16.5346476-05:00</AgreedToTermsDateTime> <CompanyLegacyContactKey>sample string 20</CompanyLegacyContactKey> <CompanyName>sample string 12</CompanyName> <CompanyTitle>sample string 13</CompanyTitle> <ContactKey>8f50910a-e086-45f0-b2e1-afd31131702c</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>52f0740f-e7b3-45ef-8cf6-5280f9a9f2d9</UpdatedByContactKey> <UpdatedOn>2024-12-05T21:35:16.5346476-05:00</UpdatedOn> </ContactConcise> </ContactsWhoRecommend> <Content>sample string 6</Content> <CreatedOn>2024-12-05T21:35:16.5346476-05:00</CreatedOn> <DiscussionHomePageUrl>sample string 7</DiscussionHomePageUrl> <DiscussionName>sample string 5</DiscussionName> <DiscussionPageUrl>sample string 8</DiscussionPageUrl> <DiscussionPostKey>eb457abb-0524-441d-9d31-f6b975f6a2c7</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-12-05T21:35:16.5346476-05:00</AgreedToTermsDateTime> <CompanyLegacyContactKey>sample string 20</CompanyLegacyContactKey> <CompanyName>sample string 12</CompanyName> <CompanyTitle>sample string 13</CompanyTitle> <ContactKey>8f50910a-e086-45f0-b2e1-afd31131702c</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>52f0740f-e7b3-45ef-8cf6-5280f9a9f2d9</UpdatedByContactKey> <UpdatedOn>2024-12-05T21:35:16.5346476-05:00</UpdatedOn> </ContactConcise> <ContactConcise> <AMSDirectoryOptOut>true</AMSDirectoryOptOut> <AgreedToTermsDateTime>2024-12-05T21:35:16.5346476-05:00</AgreedToTermsDateTime> <CompanyLegacyContactKey>sample string 20</CompanyLegacyContactKey> <CompanyName>sample string 12</CompanyName> <CompanyTitle>sample string 13</CompanyTitle> <ContactKey>8f50910a-e086-45f0-b2e1-afd31131702c</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>52f0740f-e7b3-45ef-8cf6-5280f9a9f2d9</UpdatedByContactKey> <UpdatedOn>2024-12-05T21:35:16.5346476-05:00</UpdatedOn> </ContactConcise> </ContactsWhoRecommend> <Content>sample string 6</Content> <CreatedOn>2024-12-05T21:35:16.5346476-05:00</CreatedOn> <DiscussionHomePageUrl>sample string 7</DiscussionHomePageUrl> <DiscussionName>sample string 5</DiscussionName> <DiscussionPageUrl>sample string 8</DiscussionPageUrl> <DiscussionPostKey>eb457abb-0524-441d-9d31-f6b975f6a2c7</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>