POST api/v2.0/Discussions/GetDiscussionPosts

Returns a list of Discussion Posts for the Current User.

Request Information

URI Parameters

None.

Body Parameters

GetEligibleDiscussionsRequest
NameDescriptionTypeAdditional 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": "74196c4c-4fa3-4011-9f94-fbe8008f291c",
  "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>74196c4c-4fa3-4011-9f94-fbe8008f291c</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 SubscribedDiscussionPost
NameDescriptionTypeAdditional 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": "2019-05-25T19:55:07.9619522Z",
    "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": "7ab19a97-ba02-4e6c-a28c-120d510e2f3f",
    "LargePictureUrl": "sample string 14",
    "RecommendationCount": 15,
    "ContactsWhoRecommend": [
      {
        "LinkToProfile": "sample string 1",
        "PictureUrl": "sample string 2",
        "ContactKey": "c87d9d53-285d-42b6-9667-52d6ad46b64d",
        "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": "2019-05-25T19:55:07.9629535Z",
        "UpdatedByContactKey": "9c8ca8e4-3043-45f5-874c-98974fd4b9a5",
        "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": "2019-05-25T19:55:07.9629535Z"
      },
      {
        "LinkToProfile": "sample string 1",
        "PictureUrl": "sample string 2",
        "ContactKey": "c87d9d53-285d-42b6-9667-52d6ad46b64d",
        "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": "2019-05-25T19:55:07.9629535Z",
        "UpdatedByContactKey": "9c8ca8e4-3043-45f5-874c-98974fd4b9a5",
        "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": "2019-05-25T19:55:07.9629535Z"
      }
    ],
    "DiscussionPostThreadKey": "4eac3c78-a3bc-4486-b1e7-81d59c871bd9"
  },
  {
    "IsLoggedIn": true,
    "Subject": "sample string 2",
    "ShortSubject": "sample string 3",
    "FirstLast": "sample string 4",
    "CreatedOn": "2019-05-25T19:55:07.9619522Z",
    "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": "7ab19a97-ba02-4e6c-a28c-120d510e2f3f",
    "LargePictureUrl": "sample string 14",
    "RecommendationCount": 15,
    "ContactsWhoRecommend": [
      {
        "LinkToProfile": "sample string 1",
        "PictureUrl": "sample string 2",
        "ContactKey": "c87d9d53-285d-42b6-9667-52d6ad46b64d",
        "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": "2019-05-25T19:55:07.9629535Z",
        "UpdatedByContactKey": "9c8ca8e4-3043-45f5-874c-98974fd4b9a5",
        "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": "2019-05-25T19:55:07.9629535Z"
      },
      {
        "LinkToProfile": "sample string 1",
        "PictureUrl": "sample string 2",
        "ContactKey": "c87d9d53-285d-42b6-9667-52d6ad46b64d",
        "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": "2019-05-25T19:55:07.9629535Z",
        "UpdatedByContactKey": "9c8ca8e4-3043-45f5-874c-98974fd4b9a5",
        "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": "2019-05-25T19:55:07.9629535Z"
      }
    ],
    "DiscussionPostThreadKey": "4eac3c78-a3bc-4486-b1e7-81d59c871bd9"
  }
]

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>2019-05-25T15:55:07.9629535-04:00</AgreedToTermsDateTime>
        <CompanyLegacyContactKey>sample string 20</CompanyLegacyContactKey>
        <CompanyName>sample string 12</CompanyName>
        <CompanyTitle>sample string 13</CompanyTitle>
        <ContactKey>c87d9d53-285d-42b6-9667-52d6ad46b64d</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>9c8ca8e4-3043-45f5-874c-98974fd4b9a5</UpdatedByContactKey>
        <UpdatedOn>2019-05-25T15:55:07.9629535-04:00</UpdatedOn>
      </ContactConcise>
      <ContactConcise>
        <AMSDirectoryOptOut>true</AMSDirectoryOptOut>
        <AgreedToTermsDateTime>2019-05-25T15:55:07.9629535-04:00</AgreedToTermsDateTime>
        <CompanyLegacyContactKey>sample string 20</CompanyLegacyContactKey>
        <CompanyName>sample string 12</CompanyName>
        <CompanyTitle>sample string 13</CompanyTitle>
        <ContactKey>c87d9d53-285d-42b6-9667-52d6ad46b64d</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>9c8ca8e4-3043-45f5-874c-98974fd4b9a5</UpdatedByContactKey>
        <UpdatedOn>2019-05-25T15:55:07.9629535-04:00</UpdatedOn>
      </ContactConcise>
    </ContactsWhoRecommend>
    <Content>sample string 6</Content>
    <CreatedOn>2019-05-25T15:55:07.9619522-04:00</CreatedOn>
    <DiscussionHomePageUrl>sample string 7</DiscussionHomePageUrl>
    <DiscussionName>sample string 5</DiscussionName>
    <DiscussionPageUrl>sample string 8</DiscussionPageUrl>
    <DiscussionPostKey>7ab19a97-ba02-4e6c-a28c-120d510e2f3f</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>2019-05-25T15:55:07.9629535-04:00</AgreedToTermsDateTime>
        <CompanyLegacyContactKey>sample string 20</CompanyLegacyContactKey>
        <CompanyName>sample string 12</CompanyName>
        <CompanyTitle>sample string 13</CompanyTitle>
        <ContactKey>c87d9d53-285d-42b6-9667-52d6ad46b64d</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>9c8ca8e4-3043-45f5-874c-98974fd4b9a5</UpdatedByContactKey>
        <UpdatedOn>2019-05-25T15:55:07.9629535-04:00</UpdatedOn>
      </ContactConcise>
      <ContactConcise>
        <AMSDirectoryOptOut>true</AMSDirectoryOptOut>
        <AgreedToTermsDateTime>2019-05-25T15:55:07.9629535-04:00</AgreedToTermsDateTime>
        <CompanyLegacyContactKey>sample string 20</CompanyLegacyContactKey>
        <CompanyName>sample string 12</CompanyName>
        <CompanyTitle>sample string 13</CompanyTitle>
        <ContactKey>c87d9d53-285d-42b6-9667-52d6ad46b64d</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>9c8ca8e4-3043-45f5-874c-98974fd4b9a5</UpdatedByContactKey>
        <UpdatedOn>2019-05-25T15:55:07.9629535-04:00</UpdatedOn>
      </ContactConcise>
    </ContactsWhoRecommend>
    <Content>sample string 6</Content>
    <CreatedOn>2019-05-25T15:55:07.9619522-04:00</CreatedOn>
    <DiscussionHomePageUrl>sample string 7</DiscussionHomePageUrl>
    <DiscussionName>sample string 5</DiscussionName>
    <DiscussionPageUrl>sample string 8</DiscussionPageUrl>
    <DiscussionPostKey>7ab19a97-ba02-4e6c-a28c-120d510e2f3f</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>