URLs
GET api.ashx/v2/forums/{forumid}/threads.xml (or .json)
LIST forum threads in a forum.
GET api.ashx/v2/forums/{forumid}/threads/active.xml (or .json)
LIST active forum threads in a forum.
GET api.ashx/v2/forums/{forumid}/threads/moderated.xml (or .json)
LIST forum threads in a forum that need moderated.
GET api.ashx/v2/forums/{forumid}/threads/mythreads.xml (or .json)
LIST forum threads in a forum that the user has participated in.
GET api.ashx/v2/forums/{forumid}/threads/unanswered.xml (or .json)
LIST unanswered forum threads in a forum.
GET api.ashx/v2/forums/{forumid}/threads/unread.xml (or .json)
LIST unread forum threads in a forum.
GET api.ashx/v2/forums/threads.xml (or .json)
LIST sitewide forum threads. Always includes subgroups.
GET api.ashx/v2/forums/threads/active.xml (or .json)
LIST sitewide active forum threads. Always includes subgroups.
GET api.ashx/v2/forums/threads/authored.xml (or .json)
LIST sitewide forum threads that user has authored. Always includes subgroups.
GET api.ashx/v2/forums/threads/moderated.xml (or .json)
LIST sitewide forum threads that need moderated.
GET api.ashx/v2/forums/threads/mythreads.xml (or .json)
LIST sitewide forum threads that user has participated in. Always includes subgroups.
GET api.ashx/v2/forums/threads/unanswered.xml (or .json)
LIST sitewide unanswered forum threads. Always includes subgroups.
GET api.ashx/v2/forums/threads/unread.xml (or .json)
LIST sitewide unread forum threads. Always includes subgroups.
GET api.ashx/v2/groups/{groupid}/forums/threads.xml (or .json)
LIST forum threads in a group.
GET api.ashx/v2/groups/{groupid}/forums/threads/active.xml (or .json)
LIST active forum threads in a group.
GET api.ashx/v2/groups/{groupid}/forums/threads/moderated.xml (or .json)
LIST forum threads in a group that need moderated.
GET api.ashx/v2/groups/{groupid}/forums/threads/mythreads.xml (or .json)
LIST forum threads in a group that the user has participated in.
GET api.ashx/v2/groups/{groupid}/forums/threads/unanswered.xml (or .json)
LIST unanswered forum threads in a group.
GET api.ashx/v2/groups/{groupid}/forums/threads/unread.xml (or .json)
LIST unread forum threads in a group.
Request Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
ForumId | int? | Forum Id | Optional | ||
GroupId | int? | Group Id | Optional | ||
ContentIds | string | Comma separated list of ContentIds. Used to limit to a specific set of forum threads as well as sort order if SoryBy is set to ContentIdsOrder | Optional | ||
AuthorId | int? | Author Id | Optional | ||
ForumThreadQueryType | string | Options are: All, Moderated, Answered, Unanswered, UnansweredWithNotVerified (Obsolete), AnsweredNotVerified, AnsweredWithNotVerified, Active (Obsolete), Unread, MyThreads, Authored, NoResponse. Default is All. | Optional | ||
SortBy | string | Options are: LastPost, ThreadAuthor, TotalReplies, TotalViews, TotalRatings, FirstPost, Subject, Votes, TotalQualityVotes, QualityScore, Score:SCORE_ID, ContentIdsOrder. Default is LastPost. | Optional | ||
SortOrder | string | Options are asc (ascending) and desc (descending). Default is desc for lastpost, date, replies, views and score, asc for topic. | Optional | ||
PopularOnly | bool? | Default is false. | Optional | ||
IncludeDiscussions | bool? | Default is true. | Optional | ||
IncludeQuestions | bool? | Default is true. | Optional | ||
IncludeSubGroups | bool? | Used when getting forum threads for a group to specify whether or not to include subgroups. Default is false. | Optional | ||
CreatedAfterDate | DateTime? | Include only threads created on or after | Optional | ||
CreatedBeforeDate | DateTime? | Include only threads created before | Optional | ||
MinimumReplyCount | int? | Minimum number of replies a thread must have to be returned. | Optional | ||
MaximumReplyCount | int? | Maximum number of replies a thread can have to be returned. | Optional | ||
PageSize | int? | Specify the number of results to return per page. If not set the default is 20. The max is 100. | Optional | ||
PageIndex | int? | Specify the page number of paged results to return. Zero-based index. If not specified the default is 0. | Optional |
Example Requests
C# REST SDK
This example uses the REST SDK to access the Community REST API within a .Net C# application. In the example, USER_NAME
is the user name of the effective user for the request and OAUTH_CLIENT_ID
and OAUTH_SECRET
are the OAuth client ID and secret, respectively, associated to this application as configured in Administration > Integration > OAuth Clients with the "Client Credentials" grant type enabled. See the documentation for the REST SDK for more details about installation, configuration, and usage options.
var host = new ClientCredentialsRestHost("USER_NAME", "https://mysite.com/", "OAUTH_CLIENT_ID", "OAUTH_SECRET"); var response = host.GetToDynamic(2, "forums/{forumid}/threads.json", false, new RestGetOptions { PathParameters = new System.Collections.Specialized.NameValueCollection { { "forumid", "6" } } });
Widget Javascript
This example uses the rest JavaScript API to access the Community REST API within the Community web UI. When accessing the REST API through the javascript API, the effective user is the current contextual user of the web interface.
jQuery.telligent.evolution.get({ url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/forums/{forumid}/threads.json', data: { 'forumid': '6' }, success: function(response) { } });
cURL
This example uses the cURL command-line HTTP utility. ENCODED_TOKEN
in the example is the base64-encoded concatenation of the user's API key (created from the user's profile), a colon (:), and the user's user name. Learn more about using the REST API.
curl -H "Rest-User-Token: ENCODED_TOKEN" -X GET https://mysite.com/api.ashx/v2/forums/6/threads.xml
Example Responses
XML
<?xml version="1.0" encoding="utf-16"?> <Response> <Info> <Message>string</Message> <Message>string</Message> </Info> <Warnings> <Message>string</Message> <Message>string</Message> </Warnings> <Errors> <Message>string</Message> <Message>string</Message> </Errors> <Threads PageSize="2" PageIndex="0" TotalCount="2"> <Thread> <Id>4</Id> <ContentId>49fec544-6df7-4a82-872b-f8be586d5e9e</ContentId> <ContentTypeId>9f5a6721-639d-4e1d-ab6a-ce63b7750f46</ContentTypeId> <IsPopular>true</IsPopular> <IsSticky>true</IsSticky> <IsAnnouncement>true</IsAnnouncement> <IsLocked>true</IsLocked> <IsFeatured>true</IsFeatured> <FeaturedImage>featuredimage</FeaturedImage> <HasRead>true</HasRead> <LastReadDate>2012-01-04T00:00:00</LastReadDate> <StickyDate>2012-05-02T00:00:00</StickyDate> <ForumId>6</ForumId> <GroupId>25</GroupId> <ThreadStatus>threadstatus</ThreadStatus> <ThreadType>threadtype</ThreadType> <Date>2012-06-04T00:00:00</Date> <LatestPostDate>2011-05-28T00:00:00</LatestPostDate> <LatestForumReplyId>8</LatestForumReplyId> <LatestForumReplyAuthorId>4</LatestForumReplyAuthorId> <Url>url</Url> <Subject>subject</Subject> <Body>body</Body> <Author> <Id>18</Id> <AvatarUrl>avatarurl</AvatarUrl> <DisplayName>displayname</DisplayName> <ProfileUrl>profileurl</ProfileUrl> <Username>username</Username> <CurrentStatus> <Id>2d525bad-c4df-470d-a193-a1c6d66e5c3e</Id> <Author> <Id>27</Id> <AvatarUrl>avatarurl</AvatarUrl> <DisplayName>displayname</DisplayName> <ProfileUrl>profileurl</ProfileUrl> <Username>username</Username> <CurrentStatus> <Id>fe65240b-044c-4292-9946-f10e0361ecff</Id> <Body>body</Body> <CreatedDate /> <ReplyCount>7</ReplyCount> <AttachedUrl>attachedurl</AttachedUrl> <ContentId>fe65240b-044c-4292-9946-f10e0361ecff</ContentId> <ContentType>56f1a3ec-14bb-45c6-949f-ee7776d68c78</ContentType> <Url>url</Url> <IsPublished>true</IsPublished> </CurrentStatus> </Author> <Body>body</Body> <CreatedDate>2011-12-09T00:00:00</CreatedDate> <ReplyCount>32</ReplyCount> <Group> <Id>61</Id> <AvatarUrl>avatarurl</AvatarUrl> <DateCreated>2012-03-29T00:00:00</DateCreated> <Description>description</Description> <Key>key</Key> <Name>name</Name> <ParentGroupId>52</ParentGroupId> <Url>url</Url> <TotalMembers>19</TotalMembers> <HasGroups>true</HasGroups> <GroupCount>112</GroupCount> <GroupType>grouptype</GroupType> <EnableGroupMessages>true</EnableGroupMessages> <EnableContact>true</EnableContact> <SearchUniqueId>searchuniqueid</SearchUniqueId> <ExtendedAttributes /> <ContainerId>bd519379-b61f-4e2f-b0f9-c0f28c5cceb1</ContainerId> <Container> <ContainerId>9ba1ec43-dc34-4e27-a579-4a0855144e2f</ContainerId> <ContainerTypeId>e3715662-2528-4ba1-84a7-bfcd9d548f80</ContainerTypeId> <HtmlName>htmlname</HtmlName> <Url>url</Url> <AvatarUrl>avatarurl</AvatarUrl> </Container> </Group> <AttachedUrl>attachedurl</AttachedUrl> <ContentId>2d525bad-c4df-470d-a193-a1c6d66e5c3e</ContentId> <ContentType>56f1a3ec-14bb-45c6-949f-ee7776d68c78</ContentType> <Url>url</Url> <IsPublished>true</IsPublished> <Content> <CreatedByUser> <Id /> <AvatarUrl>avatarurl</AvatarUrl> <DisplayName>displayname</DisplayName> <ProfileUrl>profileurl</ProfileUrl> <Username>username</Username> </CreatedByUser> <ContentId>44df201a-07e6-42eb-96c7-8ce7ce35aab6</ContentId> <ContentTypeId>49fec544-6df7-4a82-872b-f8be586d5e9e</ContentTypeId> <CreatedDate>2012-04-19T00:00:00</CreatedDate> <HtmlName>htmlname</HtmlName> <HtmlDescription>htmldescription</HtmlDescription> <Url>url</Url> <AvatarUrl>avatarurl</AvatarUrl> <Application> <ApplicationId>9f5a6721-639d-4e1d-ab6a-ce63b7750f46</ApplicationId> <ApplicationTypeId>fe65240b-044c-4292-9946-f10e0361ecff</ApplicationTypeId> <HtmlName>htmlname</HtmlName> <HtmlDescription>htmldescription</HtmlDescription> <Url>url</Url> <AvatarUrl>avatarurl</AvatarUrl> </Application> </Content> </CurrentStatus> </Author> <PostLevel>76</PostLevel> <SortOrder>6</SortOrder> <EditNotes>editnotes</EditNotes> <EmoticonId>25</EmoticonId> <ViewCount>8</ViewCount> <ReplyCount>4</ReplyCount> <TotalQualityVotes>7</TotalQualityVotes> <QualityScore>27</QualityScore> <QualityYesVotes>32</QualityYesVotes> <QualityNoVotes>52</QualityNoVotes> <SpamStatus>spamstatus</SpamStatus> <SpamScore>19</SpamScore> <Approved>true</Approved> <Points>112</Points> <SubscribeToThread>true</SubscribeToThread> <Tags> <Tag>value</Tag> <Tag>value</Tag> </Tags> <PostType>posttype</PostType> <PostMedia>postmedia</PostMedia> <IsAnonymous>isanonymous</IsAnonymous> <File> <Date>2012-01-16T00:00:00</Date> <ContentType>contenttype</ContentType> <FileName>filename</FileName> <FileSize>61</FileSize> <FileUrl>fileurl</FileUrl> <IsRemoteAttachment>true</IsRemoteAttachment> </File> <SearchUniqueId>searchuniqueid</SearchUniqueId> <AnswerCount>18</AnswerCount> <SuggestedAnswerCount>76</SuggestedAnswerCount> <Rating>0.33</Rating> <SubscriberCount>6</SubscriberCount> <HasPoll>true</HasPoll> <PollTitle>polltitle</PollTitle> <PollDescription>polldescription</PollDescription> <PollExpirationDate>2012-01-04T00:00:00</PollExpirationDate> <IsMuted>true</IsMuted> <UserHostAddress>userhostaddress</UserHostAddress> <Content> <CreatedByUser> <Id>8</Id> <AvatarUrl>avatarurl</AvatarUrl> <DisplayName>displayname</DisplayName> <ProfileUrl>profileurl</ProfileUrl> <Username>username</Username> <CurrentStatus> <Id>44df201a-07e6-42eb-96c7-8ce7ce35aab6</Id> <Author> <Id /> <AvatarUrl>avatarurl</AvatarUrl> <DisplayName>displayname</DisplayName> <ProfileUrl>profileurl</ProfileUrl> <Username>username</Username> </Author> <Body>body</Body> <CreatedDate>2012-05-02T00:00:00</CreatedDate> <ReplyCount>25</ReplyCount> <Group> <Id /> <AvatarUrl>avatarurl</AvatarUrl> <DateCreated /> <Description>description</Description> <Key>key</Key> <Name>name</Name> <Url>url</Url> <TotalMembers /> <HasGroups>true</HasGroups> <GroupCount /> <GroupType>grouptype</GroupType> <EnableGroupMessages>true</EnableGroupMessages> <EnableContact>true</EnableContact> <SearchUniqueId>searchuniqueid</SearchUniqueId> <ExtendedAttributes /> <ContainerId>bd519379-b61f-4e2f-b0f9-c0f28c5cceb1</ContainerId> </Group> <AttachedUrl>attachedurl</AttachedUrl> <ContentId>44df201a-07e6-42eb-96c7-8ce7ce35aab6</ContentId> <ContentType>56f1a3ec-14bb-45c6-949f-ee7776d68c78</ContentType> <Url>url</Url> <IsPublished>true</IsPublished> <Content> <ContentId>6cdcf200-3bad-476d-af45-97b52545c337</ContentId> <ContentTypeId>b04540ec-eb38-4fa1-b7bb-e3fde05401b4</ContentTypeId> <CreatedDate>2012-06-04T00:00:00</CreatedDate> <HtmlName>htmlname</HtmlName> <HtmlDescription>htmldescription</HtmlDescription> <Url>url</Url> <AvatarUrl>avatarurl</AvatarUrl> </Content> </CurrentStatus> </CreatedByUser> <ContentId>49fec544-6df7-4a82-872b-f8be586d5e9e</ContentId> <ContentTypeId>9f5a6721-639d-4e1d-ab6a-ce63b7750f46</ContentTypeId> <CreatedDate>2011-05-28T00:00:00</CreatedDate> <HtmlName>htmlname</HtmlName> <HtmlDescription>htmldescription</HtmlDescription> <Url>url</Url> <AvatarUrl>avatarurl</AvatarUrl> <Application> <ApplicationId>fe65240b-044c-4292-9946-f10e0361ecff</ApplicationId> <ApplicationTypeId>2d525bad-c4df-470d-a193-a1c6d66e5c3e</ApplicationTypeId> <HtmlName>htmlname</HtmlName> <HtmlDescription>htmldescription</HtmlDescription> <Url>url</Url> <AvatarUrl>avatarurl</AvatarUrl> <Container> <ContainerId>bd519379-b61f-4e2f-b0f9-c0f28c5cceb1</ContainerId> <ContainerTypeId>9ba1ec43-dc34-4e27-a579-4a0855144e2f</ContainerTypeId> <HtmlName>htmlname</HtmlName> <Url>url</Url> <AvatarUrl>avatarurl</AvatarUrl> </Container> </Application> </Content> <ExtendedAttributes> <key>value</key> <key>value</key> </ExtendedAttributes> </Thread> <Thread> <Id>52</Id> <ContentId>e3715662-2528-4ba1-84a7-bfcd9d548f80</ContentId> <ContentTypeId>6cdcf200-3bad-476d-af45-97b52545c337</ContentTypeId> <IsPopular>true</IsPopular> <IsSticky>true</IsSticky> <IsAnnouncement>true</IsAnnouncement> <IsLocked>true</IsLocked> <IsFeatured>true</IsFeatured> <FeaturedImage>featuredimage</FeaturedImage> <HasRead>true</HasRead> <LastReadDate>2011-12-09T00:00:00</LastReadDate> <StickyDate>2012-03-29T00:00:00</StickyDate> <ForumId>7</ForumId> <GroupId>27</GroupId> <ThreadStatus>threadstatus</ThreadStatus> <ThreadType>threadtype</ThreadType> <Date>2012-04-19T00:00:00</Date> <LatestPostDate>2012-01-16T00:00:00</LatestPostDate> <LatestForumReplyId>32</LatestForumReplyId> <LatestForumReplyAuthorId>52</LatestForumReplyAuthorId> <Url>url</Url> <Subject>subject</Subject> <Body>body</Body> <Author> <Id>8</Id> <AvatarUrl>avatarurl</AvatarUrl> <DisplayName>displayname</DisplayName> <ProfileUrl>profileurl</ProfileUrl> <Username>username</Username> <CurrentStatus> <Id>44df201a-07e6-42eb-96c7-8ce7ce35aab6</Id> <Author> <Id>112</Id> <AvatarUrl>avatarurl</AvatarUrl> <DisplayName>displayname</DisplayName> <ProfileUrl>profileurl</ProfileUrl> <Username>username</Username> <CurrentStatus> <Id>b04540ec-eb38-4fa1-b7bb-e3fde05401b4</Id> <Body>body</Body> <CreatedDate /> <ReplyCount>19</ReplyCount> <AttachedUrl>attachedurl</AttachedUrl> <ContentId>b04540ec-eb38-4fa1-b7bb-e3fde05401b4</ContentId> <ContentType>56f1a3ec-14bb-45c6-949f-ee7776d68c78</ContentType> <Url>url</Url> <IsPublished>true</IsPublished> </CurrentStatus> </Author> <Body>body</Body> <CreatedDate>2012-01-04T00:00:00</CreatedDate> <ReplyCount>61</ReplyCount> <Group> <Id>25</Id> <AvatarUrl>avatarurl</AvatarUrl> <DateCreated>2012-05-02T00:00:00</DateCreated> <Description>description</Description> <Key>key</Key> <Name>name</Name> <ParentGroupId>18</ParentGroupId> <Url>url</Url> <TotalMembers>76</TotalMembers> <HasGroups>true</HasGroups> <GroupCount>6</GroupCount> <GroupType>grouptype</GroupType> <EnableGroupMessages>true</EnableGroupMessages> <EnableContact>true</EnableContact> <SearchUniqueId>searchuniqueid</SearchUniqueId> <ExtendedAttributes /> <ContainerId>49fec544-6df7-4a82-872b-f8be586d5e9e</ContainerId> <Container> <ContainerId>9f5a6721-639d-4e1d-ab6a-ce63b7750f46</ContainerId> <ContainerTypeId>fe65240b-044c-4292-9946-f10e0361ecff</ContainerTypeId> <HtmlName>htmlname</HtmlName> <Url>url</Url> <AvatarUrl>avatarurl</AvatarUrl> </Container> </Group> <AttachedUrl>attachedurl</AttachedUrl> <ContentId>44df201a-07e6-42eb-96c7-8ce7ce35aab6</ContentId> <ContentType>56f1a3ec-14bb-45c6-949f-ee7776d68c78</ContentType> <Url>url</Url> <IsPublished>true</IsPublished> <Content> <CreatedByUser> <Id /> <AvatarUrl>avatarurl</AvatarUrl> <DisplayName>displayname</DisplayName> <ProfileUrl>profileurl</ProfileUrl> <Username>username</Username> </CreatedByUser> <ContentId>9ba1ec43-dc34-4e27-a579-4a0855144e2f</ContentId> <ContentTypeId>e3715662-2528-4ba1-84a7-bfcd9d548f80</ContentTypeId> <CreatedDate>2012-06-04T00:00:00</CreatedDate> <HtmlName>htmlname</HtmlName> <HtmlDescription>htmldescription</HtmlDescription> <Url>url</Url> <AvatarUrl>avatarurl</AvatarUrl> <Application> <ApplicationId>6cdcf200-3bad-476d-af45-97b52545c337</ApplicationId> <ApplicationTypeId>b04540ec-eb38-4fa1-b7bb-e3fde05401b4</ApplicationTypeId> <HtmlName>htmlname</HtmlName> <HtmlDescription>htmldescription</HtmlDescription> <Url>url</Url> <AvatarUrl>avatarurl</AvatarUrl> </Application> </Content> </CurrentStatus> </Author> <PostLevel>4</PostLevel> <SortOrder>7</SortOrder> <EditNotes>editnotes</EditNotes> <EmoticonId>27</EmoticonId> <ViewCount>32</ViewCount> <ReplyCount>52</ReplyCount> <TotalQualityVotes>19</TotalQualityVotes> <QualityScore>112</QualityScore> <QualityYesVotes>61</QualityYesVotes> <QualityNoVotes>18</QualityNoVotes> <SpamStatus>spamstatus</SpamStatus> <SpamScore>76</SpamScore> <Approved>true</Approved> <Points>6</Points> <SubscribeToThread>true</SubscribeToThread> <Tags> <Tag>value</Tag> <Tag>value</Tag> </Tags> <PostType>posttype</PostType> <PostMedia>postmedia</PostMedia> <IsAnonymous>isanonymous</IsAnonymous> <File> <Date>2011-05-28T00:00:00</Date> <ContentType>contenttype</ContentType> <FileName>filename</FileName> <FileSize>25</FileSize> <FileUrl>fileurl</FileUrl> <IsRemoteAttachment>true</IsRemoteAttachment> </File> <SearchUniqueId>searchuniqueid</SearchUniqueId> <AnswerCount>8</AnswerCount> <SuggestedAnswerCount>4</SuggestedAnswerCount> <Rating>0.25</Rating> <SubscriberCount>7</SubscriberCount> <HasPoll>true</HasPoll> <PollTitle>polltitle</PollTitle> <PollDescription>polldescription</PollDescription> <PollExpirationDate>2011-12-09T00:00:00</PollExpirationDate> <IsMuted>true</IsMuted> <UserHostAddress>userhostaddress</UserHostAddress> <Content> <CreatedByUser> <Id>32</Id> <AvatarUrl>avatarurl</AvatarUrl> <DisplayName>displayname</DisplayName> <ProfileUrl>profileurl</ProfileUrl> <Username>username</Username> <CurrentStatus> <Id>9ba1ec43-dc34-4e27-a579-4a0855144e2f</Id> <Author> <Id /> <AvatarUrl>avatarurl</AvatarUrl> <DisplayName>displayname</DisplayName> <ProfileUrl>profileurl</ProfileUrl> <Username>username</Username> </Author> <Body>body</Body> <CreatedDate>2012-03-29T00:00:00</CreatedDate> <ReplyCount>27</ReplyCount> <Group> <Id /> <AvatarUrl>avatarurl</AvatarUrl> <DateCreated /> <Description>description</Description> <Key>key</Key> <Name>name</Name> <Url>url</Url> <TotalMembers /> <HasGroups>true</HasGroups> <GroupCount /> <GroupType>grouptype</GroupType> <EnableGroupMessages>true</EnableGroupMessages> <EnableContact>true</EnableContact> <SearchUniqueId>searchuniqueid</SearchUniqueId> <ExtendedAttributes /> <ContainerId>49fec544-6df7-4a82-872b-f8be586d5e9e</ContainerId> </Group> <AttachedUrl>attachedurl</AttachedUrl> <ContentId>9ba1ec43-dc34-4e27-a579-4a0855144e2f</ContentId> <ContentType>56f1a3ec-14bb-45c6-949f-ee7776d68c78</ContentType> <Url>url</Url> <IsPublished>true</IsPublished> <Content> <ContentId>2d525bad-c4df-470d-a193-a1c6d66e5c3e</ContentId> <ContentTypeId>bd519379-b61f-4e2f-b0f9-c0f28c5cceb1</ContentTypeId> <CreatedDate>2012-04-19T00:00:00</CreatedDate> <HtmlName>htmlname</HtmlName> <HtmlDescription>htmldescription</HtmlDescription> <Url>url</Url> <AvatarUrl>avatarurl</AvatarUrl> </Content> </CurrentStatus> </CreatedByUser> <ContentId>e3715662-2528-4ba1-84a7-bfcd9d548f80</ContentId> <ContentTypeId>6cdcf200-3bad-476d-af45-97b52545c337</ContentTypeId> <CreatedDate>2012-01-16T00:00:00</CreatedDate> <HtmlName>htmlname</HtmlName> <HtmlDescription>htmldescription</HtmlDescription> <Url>url</Url> <AvatarUrl>avatarurl</AvatarUrl> <Application> <ApplicationId>b04540ec-eb38-4fa1-b7bb-e3fde05401b4</ApplicationId> <ApplicationTypeId>44df201a-07e6-42eb-96c7-8ce7ce35aab6</ApplicationTypeId> <HtmlName>htmlname</HtmlName> <HtmlDescription>htmldescription</HtmlDescription> <Url>url</Url> <AvatarUrl>avatarurl</AvatarUrl> <Container> <ContainerId>49fec544-6df7-4a82-872b-f8be586d5e9e</ContainerId> <ContainerTypeId>9f5a6721-639d-4e1d-ab6a-ce63b7750f46</ContainerTypeId> <HtmlName>htmlname</HtmlName> <Url>url</Url> <AvatarUrl>avatarurl</AvatarUrl> </Container> </Application> </Content> <ExtendedAttributes> <key>value</key> <key>value</key> </ExtendedAttributes> </Thread> </Threads> </Response>
JSON
{ "PageSize": 2, "PageIndex": 0, "TotalCount": 2, "Threads": [ { "ContentId": "49fec544-6df7-4a82-872b-f8be586d5e9e", "ContentTypeId": "9f5a6721-639d-4e1d-ab6a-ce63b7750f46", "IsPopular": true, "IsSticky": true, "IsAnnouncement": true, "IsLocked": true, "IsFeatured": true, "FeaturedImage": "featuredimage", "HasRead": true, "LastReadDate": "2012-01-04T00:00:00", "StickyDate": "2012-05-02T00:00:00", "ForumId": 6, "GroupId": 25, "ThreadStatus": "threadstatus", "ThreadType": "threadtype", "Date": "2012-06-04T00:00:00", "LatestPostDate": "2011-05-28T00:00:00", "LatestForumReplyId": 8, "LatestForumReplyAuthorId": 4, "Url": "url", "Subject": "subject", "Excerpt": "excerpt", "Body": "body", "Author": { "AvatarUrl": "avatarurl", "DisplayName": "displayname", "ProfileUrl": "profileurl", "Username": "username", "CurrentStatus": { "Author": { "AvatarUrl": "avatarurl", "DisplayName": "displayname", "ProfileUrl": "profileurl", "Username": "username", "CurrentStatus": { "Author": null, "Body": "body", "CreatedDate": null, "ReplyCount": 7, "Group": null, "AttachedUrl": "attachedurl", "HasReplies": null, "ContentId": "fe65240b-044c-4292-9946-f10e0361ecff", "ContentType": "56f1a3ec-14bb-45c6-949f-ee7776d68c78", "Url": "url", "IsPublished": true, "Content": null, "Id": "fe65240b-044c-4292-9946-f10e0361ecff" }, "Id": 27 }, "Body": "body", "CreatedDate": "2011-12-09T00:00:00", "ReplyCount": 32, "Group": { "AvatarUrl": "avatarurl", "DateCreated": "2012-03-29T00:00:00", "Description": "description", "Key": "key", "Name": "name", "ParentGroupId": 52, "Url": "url", "TotalMembers": 19, "HasGroups": true, "GroupCount": 112, "GroupType": "grouptype", "EnableGroupMessages": true, "EnableContact": true, "SearchUniqueId": "searchuniqueid", "IsEnabled": true, "ExtendedAttributes": [], "ContainerId": "bd519379-b61f-4e2f-b0f9-c0f28c5cceb1", "ContainerTypeId": "23b05a61-c3e5-4451-90d9-bfa00453bce4", "Container": { "ContainerId": "9ba1ec43-dc34-4e27-a579-4a0855144e2f", "ContainerTypeId": "e3715662-2528-4ba1-84a7-bfcd9d548f80", "HtmlName": "htmlname", "Url": "url", "AvatarUrl": "avatarurl" }, "Id": 61 }, "AttachedUrl": "attachedurl", "HasReplies": true, "ContentId": "2d525bad-c4df-470d-a193-a1c6d66e5c3e", "ContentType": "56f1a3ec-14bb-45c6-949f-ee7776d68c78", "Url": "url", "IsPublished": true, "Content": { "CreatedByUser": { "AvatarUrl": "avatarurl", "DisplayName": "displayname", "ProfileUrl": "profileurl", "Username": "username", "CurrentStatus": null, "Id": null }, "ContentId": "44df201a-07e6-42eb-96c7-8ce7ce35aab6", "ContentTypeId": "49fec544-6df7-4a82-872b-f8be586d5e9e", "CreatedDate": "2012-04-19T00:00:00", "HtmlName": "htmlname", "HtmlDescription": "htmldescription", "Url": "url", "AvatarUrl": "avatarurl", "Application": { "ApplicationId": "9f5a6721-639d-4e1d-ab6a-ce63b7750f46", "ApplicationTypeId": "fe65240b-044c-4292-9946-f10e0361ecff", "HtmlName": "htmlname", "HtmlDescription": "htmldescription", "Url": "url", "AvatarUrl": "avatarurl", "Container": null } }, "Id": "2d525bad-c4df-470d-a193-a1c6d66e5c3e" }, "Id": 18 }, "PostLevel": 76, "SortOrder": 6, "EditNotes": "editnotes", "EmoticonId": 25, "ViewCount": 8, "ReplyCount": 4, "TotalQualityVotes": 7, "QualityScore": 27, "QualityYesVotes": 32, "QualityNoVotes": 52, "SpamStatus": "spamstatus", "SpamScore": 19, "Approved": true, "Points": 112, "SubscribeToThread": true, "Tags": [ { "Value": "value" }, { "Value": "value" } ], "PostType": "posttype", "PostMedia": "postmedia", "IsAnonymous": "isanonymous", "File": { "Date": "2012-01-16T00:00:00", "ContentType": "contenttype", "FileName": "filename", "FileSize": 61, "FileUrl": "fileurl", "IsRemoteAttachment": true }, "SearchUniqueId": "searchuniqueid", "AnswerCount": 18, "SuggestedAnswerCount": 76, "Rating": 0.33, "SubscriberCount": 6, "HasPoll": true, "PollTitle": "polltitle", "PollDescription": "polldescription", "PollExpirationDate": "2012-01-04T00:00:00", "IsMuted": true, "UserHostAddress": "userhostaddress", "Content": { "CreatedByUser": { "AvatarUrl": "avatarurl", "DisplayName": "displayname", "ProfileUrl": "profileurl", "Username": "username", "CurrentStatus": { "Author": { "AvatarUrl": "avatarurl", "DisplayName": "displayname", "ProfileUrl": "profileurl", "Username": "username", "CurrentStatus": null, "Id": null }, "Body": "body", "CreatedDate": "2012-05-02T00:00:00", "ReplyCount": 25, "Group": { "AvatarUrl": "avatarurl", "DateCreated": null, "Description": "description", "Key": "key", "Name": "name", "Url": "url", "TotalMembers": null, "HasGroups": true, "GroupCount": null, "GroupType": "grouptype", "EnableGroupMessages": true, "EnableContact": true, "SearchUniqueId": "searchuniqueid", "IsEnabled": true, "ExtendedAttributes": [], "ContainerId": "bd519379-b61f-4e2f-b0f9-c0f28c5cceb1", "ContainerTypeId": "23b05a61-c3e5-4451-90d9-bfa00453bce4", "Container": null, "Id": null }, "AttachedUrl": "attachedurl", "HasReplies": true, "ContentId": "44df201a-07e6-42eb-96c7-8ce7ce35aab6", "ContentType": "56f1a3ec-14bb-45c6-949f-ee7776d68c78", "Url": "url", "IsPublished": true, "Content": { "CreatedByUser": null, "ContentId": "6cdcf200-3bad-476d-af45-97b52545c337", "ContentTypeId": "b04540ec-eb38-4fa1-b7bb-e3fde05401b4", "CreatedDate": "2012-06-04T00:00:00", "HtmlName": "htmlname", "HtmlDescription": "htmldescription", "Url": "url", "AvatarUrl": "avatarurl", "Application": null }, "Id": "44df201a-07e6-42eb-96c7-8ce7ce35aab6" }, "Id": 8 }, "ContentId": "49fec544-6df7-4a82-872b-f8be586d5e9e", "ContentTypeId": "9f5a6721-639d-4e1d-ab6a-ce63b7750f46", "CreatedDate": "2011-05-28T00:00:00", "HtmlName": "htmlname", "HtmlDescription": "htmldescription", "Url": "url", "AvatarUrl": "avatarurl", "Application": { "ApplicationId": "fe65240b-044c-4292-9946-f10e0361ecff", "ApplicationTypeId": "2d525bad-c4df-470d-a193-a1c6d66e5c3e", "HtmlName": "htmlname", "HtmlDescription": "htmldescription", "Url": "url", "AvatarUrl": "avatarurl", "Container": { "ContainerId": "bd519379-b61f-4e2f-b0f9-c0f28c5cceb1", "ContainerTypeId": "9ba1ec43-dc34-4e27-a579-4a0855144e2f", "HtmlName": "htmlname", "Url": "url", "AvatarUrl": "avatarurl" } } }, "ExtendedAttributes": [ { "Key": "key", "Value": "value" }, { "Key": "key", "Value": "value" } ], "Id": 4 }, { "ContentId": "e3715662-2528-4ba1-84a7-bfcd9d548f80", "ContentTypeId": "6cdcf200-3bad-476d-af45-97b52545c337", "IsPopular": true, "IsSticky": true, "IsAnnouncement": true, "IsLocked": true, "IsFeatured": true, "FeaturedImage": "featuredimage", "HasRead": true, "LastReadDate": "2011-12-09T00:00:00", "StickyDate": "2012-03-29T00:00:00", "ForumId": 7, "GroupId": 27, "ThreadStatus": "threadstatus", "ThreadType": "threadtype", "Date": "2012-04-19T00:00:00", "LatestPostDate": "2012-01-16T00:00:00", "LatestForumReplyId": 32, "LatestForumReplyAuthorId": 52, "Url": "url", "Subject": "subject", "Excerpt": "excerpt", "Body": "body", "Author": { "AvatarUrl": "avatarurl", "DisplayName": "displayname", "ProfileUrl": "profileurl", "Username": "username", "CurrentStatus": { "Author": { "AvatarUrl": "avatarurl", "DisplayName": "displayname", "ProfileUrl": "profileurl", "Username": "username", "CurrentStatus": { "Author": null, "Body": "body", "CreatedDate": null, "ReplyCount": 19, "Group": null, "AttachedUrl": "attachedurl", "HasReplies": null, "ContentId": "b04540ec-eb38-4fa1-b7bb-e3fde05401b4", "ContentType": "56f1a3ec-14bb-45c6-949f-ee7776d68c78", "Url": "url", "IsPublished": true, "Content": null, "Id": "b04540ec-eb38-4fa1-b7bb-e3fde05401b4" }, "Id": 112 }, "Body": "body", "CreatedDate": "2012-01-04T00:00:00", "ReplyCount": 61, "Group": { "AvatarUrl": "avatarurl", "DateCreated": "2012-05-02T00:00:00", "Description": "description", "Key": "key", "Name": "name", "ParentGroupId": 18, "Url": "url", "TotalMembers": 76, "HasGroups": true, "GroupCount": 6, "GroupType": "grouptype", "EnableGroupMessages": true, "EnableContact": true, "SearchUniqueId": "searchuniqueid", "IsEnabled": true, "ExtendedAttributes": [], "ContainerId": "49fec544-6df7-4a82-872b-f8be586d5e9e", "ContainerTypeId": "23b05a61-c3e5-4451-90d9-bfa00453bce4", "Container": { "ContainerId": "9f5a6721-639d-4e1d-ab6a-ce63b7750f46", "ContainerTypeId": "fe65240b-044c-4292-9946-f10e0361ecff", "HtmlName": "htmlname", "Url": "url", "AvatarUrl": "avatarurl" }, "Id": 25 }, "AttachedUrl": "attachedurl", "HasReplies": true, "ContentId": "44df201a-07e6-42eb-96c7-8ce7ce35aab6", "ContentType": "56f1a3ec-14bb-45c6-949f-ee7776d68c78", "Url": "url", "IsPublished": true, "Content": { "CreatedByUser": { "AvatarUrl": "avatarurl", "DisplayName": "displayname", "ProfileUrl": "profileurl", "Username": "username", "CurrentStatus": null, "Id": null }, "ContentId": "9ba1ec43-dc34-4e27-a579-4a0855144e2f", "ContentTypeId": "e3715662-2528-4ba1-84a7-bfcd9d548f80", "CreatedDate": "2012-06-04T00:00:00", "HtmlName": "htmlname", "HtmlDescription": "htmldescription", "Url": "url", "AvatarUrl": "avatarurl", "Application": { "ApplicationId": "6cdcf200-3bad-476d-af45-97b52545c337", "ApplicationTypeId": "b04540ec-eb38-4fa1-b7bb-e3fde05401b4", "HtmlName": "htmlname", "HtmlDescription": "htmldescription", "Url": "url", "AvatarUrl": "avatarurl", "Container": null } }, "Id": "44df201a-07e6-42eb-96c7-8ce7ce35aab6" }, "Id": 8 }, "PostLevel": 4, "SortOrder": 7, "EditNotes": "editnotes", "EmoticonId": 27, "ViewCount": 32, "ReplyCount": 52, "TotalQualityVotes": 19, "QualityScore": 112, "QualityYesVotes": 61, "QualityNoVotes": 18, "SpamStatus": "spamstatus", "SpamScore": 76, "Approved": true, "Points": 6, "SubscribeToThread": true, "Tags": [ { "Value": "value" }, { "Value": "value" } ], "PostType": "posttype", "PostMedia": "postmedia", "IsAnonymous": "isanonymous", "File": { "Date": "2011-05-28T00:00:00", "ContentType": "contenttype", "FileName": "filename", "FileSize": 25, "FileUrl": "fileurl", "IsRemoteAttachment": true }, "SearchUniqueId": "searchuniqueid", "AnswerCount": 8, "SuggestedAnswerCount": 4, "Rating": 0.25, "SubscriberCount": 7, "HasPoll": true, "PollTitle": "polltitle", "PollDescription": "polldescription", "PollExpirationDate": "2011-12-09T00:00:00", "IsMuted": true, "UserHostAddress": "userhostaddress", "Content": { "CreatedByUser": { "AvatarUrl": "avatarurl", "DisplayName": "displayname", "ProfileUrl": "profileurl", "Username": "username", "CurrentStatus": { "Author": { "AvatarUrl": "avatarurl", "DisplayName": "displayname", "ProfileUrl": "profileurl", "Username": "username", "CurrentStatus": null, "Id": null }, "Body": "body", "CreatedDate": "2012-03-29T00:00:00", "ReplyCount": 27, "Group": { "AvatarUrl": "avatarurl", "DateCreated": null, "Description": "description", "Key": "key", "Name": "name", "Url": "url", "TotalMembers": null, "HasGroups": true, "GroupCount": null, "GroupType": "grouptype", "EnableGroupMessages": true, "EnableContact": true, "SearchUniqueId": "searchuniqueid", "IsEnabled": true, "ExtendedAttributes": [], "ContainerId": "49fec544-6df7-4a82-872b-f8be586d5e9e", "ContainerTypeId": "23b05a61-c3e5-4451-90d9-bfa00453bce4", "Container": null, "Id": null }, "AttachedUrl": "attachedurl", "HasReplies": true, "ContentId": "9ba1ec43-dc34-4e27-a579-4a0855144e2f", "ContentType": "56f1a3ec-14bb-45c6-949f-ee7776d68c78", "Url": "url", "IsPublished": true, "Content": { "CreatedByUser": null, "ContentId": "2d525bad-c4df-470d-a193-a1c6d66e5c3e", "ContentTypeId": "bd519379-b61f-4e2f-b0f9-c0f28c5cceb1", "CreatedDate": "2012-04-19T00:00:00", "HtmlName": "htmlname", "HtmlDescription": "htmldescription", "Url": "url", "AvatarUrl": "avatarurl", "Application": null }, "Id": "9ba1ec43-dc34-4e27-a579-4a0855144e2f" }, "Id": 32 }, "ContentId": "e3715662-2528-4ba1-84a7-bfcd9d548f80", "ContentTypeId": "6cdcf200-3bad-476d-af45-97b52545c337", "CreatedDate": "2012-01-16T00:00:00", "HtmlName": "htmlname", "HtmlDescription": "htmldescription", "Url": "url", "AvatarUrl": "avatarurl", "Application": { "ApplicationId": "b04540ec-eb38-4fa1-b7bb-e3fde05401b4", "ApplicationTypeId": "44df201a-07e6-42eb-96c7-8ce7ce35aab6", "HtmlName": "htmlname", "HtmlDescription": "htmldescription", "Url": "url", "AvatarUrl": "avatarurl", "Container": { "ContainerId": "49fec544-6df7-4a82-872b-f8be586d5e9e", "ContainerTypeId": "9f5a6721-639d-4e1d-ab6a-ce63b7750f46", "HtmlName": "htmlname", "Url": "url", "AvatarUrl": "avatarurl" } } }, "ExtendedAttributes": [ { "Key": "key", "Value": "value" }, { "Key": "key", "Value": "value" } ], "Id": 52 } ], "Info": [ "string", "string" ], "Warnings": [ "string", "string" ], "Errors": [ "string", "string" ] }