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": "1f359aa5-cf47-4411-a86b-040faffc1639", "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>1f359aa5-cf47-4411-a86b-040faffc1639</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-26T23:38:26.5448863Z", "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": "49124bac-4ae8-4818-a60f-90db89e691d6", "LargePictureUrl": "sample string 14", "RecommendationCount": 15, "ContactsWhoRecommend": [ { "LinkToProfile": "sample string 1", "PictureUrl": "sample string 2", "ContactKey": "d2efb93e-25a2-4a7f-ba10-cc3d57283e98", "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-26T23:38:26.5448863Z", "UpdatedByContactKey": "88155c3f-908c-4f3b-ba0d-ebab1b0871d3", "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-26T23:38:26.5448863Z" }, { "LinkToProfile": "sample string 1", "PictureUrl": "sample string 2", "ContactKey": "d2efb93e-25a2-4a7f-ba10-cc3d57283e98", "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-26T23:38:26.5448863Z", "UpdatedByContactKey": "88155c3f-908c-4f3b-ba0d-ebab1b0871d3", "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-26T23:38:26.5448863Z" } ], "DiscussionPostThreadKey": "99d4db53-a427-424b-86fe-19cf958dcf18" }, { "IsLoggedIn": true, "Subject": "sample string 2", "ShortSubject": "sample string 3", "FirstLast": "sample string 4", "CreatedOn": "2024-12-26T23:38:26.5448863Z", "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": "49124bac-4ae8-4818-a60f-90db89e691d6", "LargePictureUrl": "sample string 14", "RecommendationCount": 15, "ContactsWhoRecommend": [ { "LinkToProfile": "sample string 1", "PictureUrl": "sample string 2", "ContactKey": "d2efb93e-25a2-4a7f-ba10-cc3d57283e98", "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-26T23:38:26.5448863Z", "UpdatedByContactKey": "88155c3f-908c-4f3b-ba0d-ebab1b0871d3", "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-26T23:38:26.5448863Z" }, { "LinkToProfile": "sample string 1", "PictureUrl": "sample string 2", "ContactKey": "d2efb93e-25a2-4a7f-ba10-cc3d57283e98", "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-26T23:38:26.5448863Z", "UpdatedByContactKey": "88155c3f-908c-4f3b-ba0d-ebab1b0871d3", "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-26T23:38:26.5448863Z" } ], "DiscussionPostThreadKey": "99d4db53-a427-424b-86fe-19cf958dcf18" } ]
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-26T18:38:26.5448863-05:00</AgreedToTermsDateTime> <CompanyLegacyContactKey>sample string 20</CompanyLegacyContactKey> <CompanyName>sample string 12</CompanyName> <CompanyTitle>sample string 13</CompanyTitle> <ContactKey>d2efb93e-25a2-4a7f-ba10-cc3d57283e98</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>88155c3f-908c-4f3b-ba0d-ebab1b0871d3</UpdatedByContactKey> <UpdatedOn>2024-12-26T18:38:26.5448863-05:00</UpdatedOn> </ContactConcise> <ContactConcise> <AMSDirectoryOptOut>true</AMSDirectoryOptOut> <AgreedToTermsDateTime>2024-12-26T18:38:26.5448863-05:00</AgreedToTermsDateTime> <CompanyLegacyContactKey>sample string 20</CompanyLegacyContactKey> <CompanyName>sample string 12</CompanyName> <CompanyTitle>sample string 13</CompanyTitle> <ContactKey>d2efb93e-25a2-4a7f-ba10-cc3d57283e98</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>88155c3f-908c-4f3b-ba0d-ebab1b0871d3</UpdatedByContactKey> <UpdatedOn>2024-12-26T18:38:26.5448863-05:00</UpdatedOn> </ContactConcise> </ContactsWhoRecommend> <Content>sample string 6</Content> <CreatedOn>2024-12-26T18:38:26.5448863-05:00</CreatedOn> <DiscussionHomePageUrl>sample string 7</DiscussionHomePageUrl> <DiscussionName>sample string 5</DiscussionName> <DiscussionPageUrl>sample string 8</DiscussionPageUrl> <DiscussionPostKey>49124bac-4ae8-4818-a60f-90db89e691d6</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-26T18:38:26.5448863-05:00</AgreedToTermsDateTime> <CompanyLegacyContactKey>sample string 20</CompanyLegacyContactKey> <CompanyName>sample string 12</CompanyName> <CompanyTitle>sample string 13</CompanyTitle> <ContactKey>d2efb93e-25a2-4a7f-ba10-cc3d57283e98</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>88155c3f-908c-4f3b-ba0d-ebab1b0871d3</UpdatedByContactKey> <UpdatedOn>2024-12-26T18:38:26.5448863-05:00</UpdatedOn> </ContactConcise> <ContactConcise> <AMSDirectoryOptOut>true</AMSDirectoryOptOut> <AgreedToTermsDateTime>2024-12-26T18:38:26.5448863-05:00</AgreedToTermsDateTime> <CompanyLegacyContactKey>sample string 20</CompanyLegacyContactKey> <CompanyName>sample string 12</CompanyName> <CompanyTitle>sample string 13</CompanyTitle> <ContactKey>d2efb93e-25a2-4a7f-ba10-cc3d57283e98</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>88155c3f-908c-4f3b-ba0d-ebab1b0871d3</UpdatedByContactKey> <UpdatedOn>2024-12-26T18:38:26.5448863-05:00</UpdatedOn> </ContactConcise> </ContactsWhoRecommend> <Content>sample string 6</Content> <CreatedOn>2024-12-26T18:38:26.5448863-05:00</CreatedOn> <DiscussionHomePageUrl>sample string 7</DiscussionHomePageUrl> <DiscussionName>sample string 5</DiscussionName> <DiscussionPageUrl>sample string 8</DiscussionPageUrl> <DiscussionPostKey>49124bac-4ae8-4818-a60f-90db89e691d6</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>