POST api/v1.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": "69aac07a-814a-429c-ac26-a36fd3583a5a", "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>69aac07a-814a-429c-ac26-a36fd3583a5a</DiscussionKeyFilter> <IncludeStaffPosts>true</IncludeStaffPosts> <MaxContentLength>1</MaxContentLength> <MaxNumberToRetrieve>3</MaxNumberToRetrieve> <MaxSubjectLength>4</MaxSubjectLength> </GetEligibleDiscussionsRequest>
Response Information
Resource Description
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-22T11:02:49.0758434Z", "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": "448bb174-b28e-4eee-9f59-71c766b11a1b", "LargePictureUrl": "sample string 14", "RecommendationCount": 15, "ContactsWhoRecommend": [ { "LinkToProfile": "sample string 1", "PictureUrl": "sample string 2", "ContactKey": "168a7188-3bed-406a-962b-0a2b2d93c79e", "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-22T11:02:49.0758434Z", "UpdatedByContactKey": "d5c1da20-d86f-4681-a3ff-57ee3a3552f7", "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-22T11:02:49.0758434Z" }, { "LinkToProfile": "sample string 1", "PictureUrl": "sample string 2", "ContactKey": "168a7188-3bed-406a-962b-0a2b2d93c79e", "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-22T11:02:49.0758434Z", "UpdatedByContactKey": "d5c1da20-d86f-4681-a3ff-57ee3a3552f7", "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-22T11:02:49.0758434Z" } ], "DiscussionPostThreadKey": "a3f4b433-27e4-48c0-a58b-2075b295f8ab" }, { "IsLoggedIn": true, "Subject": "sample string 2", "ShortSubject": "sample string 3", "FirstLast": "sample string 4", "CreatedOn": "2024-12-22T11:02:49.0758434Z", "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": "448bb174-b28e-4eee-9f59-71c766b11a1b", "LargePictureUrl": "sample string 14", "RecommendationCount": 15, "ContactsWhoRecommend": [ { "LinkToProfile": "sample string 1", "PictureUrl": "sample string 2", "ContactKey": "168a7188-3bed-406a-962b-0a2b2d93c79e", "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-22T11:02:49.0758434Z", "UpdatedByContactKey": "d5c1da20-d86f-4681-a3ff-57ee3a3552f7", "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-22T11:02:49.0758434Z" }, { "LinkToProfile": "sample string 1", "PictureUrl": "sample string 2", "ContactKey": "168a7188-3bed-406a-962b-0a2b2d93c79e", "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-22T11:02:49.0758434Z", "UpdatedByContactKey": "d5c1da20-d86f-4681-a3ff-57ee3a3552f7", "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-22T11:02:49.0758434Z" } ], "DiscussionPostThreadKey": "a3f4b433-27e4-48c0-a58b-2075b295f8ab" } ]
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-22T06:02:49.0758434-05:00</AgreedToTermsDateTime> <CompanyLegacyContactKey>sample string 20</CompanyLegacyContactKey> <CompanyName>sample string 12</CompanyName> <CompanyTitle>sample string 13</CompanyTitle> <ContactKey>168a7188-3bed-406a-962b-0a2b2d93c79e</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>d5c1da20-d86f-4681-a3ff-57ee3a3552f7</UpdatedByContactKey> <UpdatedOn>2024-12-22T06:02:49.0758434-05:00</UpdatedOn> </ContactConcise> <ContactConcise> <AMSDirectoryOptOut>true</AMSDirectoryOptOut> <AgreedToTermsDateTime>2024-12-22T06:02:49.0758434-05:00</AgreedToTermsDateTime> <CompanyLegacyContactKey>sample string 20</CompanyLegacyContactKey> <CompanyName>sample string 12</CompanyName> <CompanyTitle>sample string 13</CompanyTitle> <ContactKey>168a7188-3bed-406a-962b-0a2b2d93c79e</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>d5c1da20-d86f-4681-a3ff-57ee3a3552f7</UpdatedByContactKey> <UpdatedOn>2024-12-22T06:02:49.0758434-05:00</UpdatedOn> </ContactConcise> </ContactsWhoRecommend> <Content>sample string 6</Content> <CreatedOn>2024-12-22T06:02:49.0758434-05:00</CreatedOn> <DiscussionHomePageUrl>sample string 7</DiscussionHomePageUrl> <DiscussionName>sample string 5</DiscussionName> <DiscussionPageUrl>sample string 8</DiscussionPageUrl> <DiscussionPostKey>448bb174-b28e-4eee-9f59-71c766b11a1b</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-22T06:02:49.0758434-05:00</AgreedToTermsDateTime> <CompanyLegacyContactKey>sample string 20</CompanyLegacyContactKey> <CompanyName>sample string 12</CompanyName> <CompanyTitle>sample string 13</CompanyTitle> <ContactKey>168a7188-3bed-406a-962b-0a2b2d93c79e</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>d5c1da20-d86f-4681-a3ff-57ee3a3552f7</UpdatedByContactKey> <UpdatedOn>2024-12-22T06:02:49.0758434-05:00</UpdatedOn> </ContactConcise> <ContactConcise> <AMSDirectoryOptOut>true</AMSDirectoryOptOut> <AgreedToTermsDateTime>2024-12-22T06:02:49.0758434-05:00</AgreedToTermsDateTime> <CompanyLegacyContactKey>sample string 20</CompanyLegacyContactKey> <CompanyName>sample string 12</CompanyName> <CompanyTitle>sample string 13</CompanyTitle> <ContactKey>168a7188-3bed-406a-962b-0a2b2d93c79e</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>d5c1da20-d86f-4681-a3ff-57ee3a3552f7</UpdatedByContactKey> <UpdatedOn>2024-12-22T06:02:49.0758434-05:00</UpdatedOn> </ContactConcise> </ContactsWhoRecommend> <Content>sample string 6</Content> <CreatedOn>2024-12-22T06:02:49.0758434-05:00</CreatedOn> <DiscussionHomePageUrl>sample string 7</DiscussionHomePageUrl> <DiscussionName>sample string 5</DiscussionName> <DiscussionPageUrl>sample string 8</DiscussionPageUrl> <DiscussionPostKey>448bb174-b28e-4eee-9f59-71c766b11a1b</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>