GET api/v2.0/Discussions/GetDiscussionPostReplies?afterReplyDiscussionPostKey={afterReplyDiscussionPostKey}&beforeReplyDiscussionPostKey={beforeReplyDiscussionPostKey}&limit={limit}
Returns a specified number of messages using the afterReplyDiscussionPostKey or beforeReplyDiscussionPostKey as a starting point. If both keys are put in the request, the afterReplyDiscussionPostKey will take precedence.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
afterReplyDiscussionPostKey |
The replyKey to use as a starting point, returning the next set of messages after this message. This message will not be included in the response. |
globally unique identifier |
None. |
beforeReplyDiscussionPostKey |
The replyKey to use as a starting point, returning messages before this message. This message will not be included in the response. |
globally unique identifier |
None. |
limit |
The number of messages to return. Default is 10, max is 50. |
integer |
Default value is 10 |
Body Parameters
None.
Response Information
Resource Description
This endpoint will always return in the same order-least recent to most recent. The afterReplyDiscussionPostKey will provide messages created after the message specified. The beforeReplyDiscussionPostKey will provide messages created before the message specified.
PaginatedRepliesName | Description | Type | Additional information |
---|---|---|---|
Replies |
The set of replies specified in this particular paginated set |
Collection of DiscussionPostExtended |
None. |
HasMore |
Whether or not there are more replies that continue on after this paginated set. Depending on the order of items requested, this could mean the next reply was published more or less recently than the last reply in the set |
boolean |
None. |
Next |
Specifies a relative path to retrieve the next page of replies based on the current page. |
string |
None. |
Previous |
Specifies a relative path to retrieve the previous page of replies based on the current page. |
string |
None. |
Response Formats
application/json, text/json
{ "Replies": [ { "BodyWithoutOriginalMessage": "sample string 1", "HasReplied": true, "ReplyCount": 3, "Author": { "LinkToProfile": "sample string 1", "PictureUrl": "sample string 2", "ContactKey": "1829d3e9-beee-4aa1-932f-239752c0a2e2", "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-11-02T17:37:24.6102106Z", "UpdatedByContactKey": "73b8772e-74bb-430a-a9fd-e5f9683c3110", "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-11-02T17:37:24.6102106Z" }, "Body": "sample string 4", "BodyWithoutMarkup": "sample string 5", "ContactKey": "bd5db87f-f44c-4dd8-8d48-fb9503bbe553", "DatePosted": "2024-11-02T17:37:24.6102106Z", "LinkToDiscussion": "sample string 8", "LinkToMessageInContext": "sample string 9", "DiscussionName": "sample string 10", "EmailAddress": "sample string 11", "LinkToMessage": "sample string 12", "DiscussionPostKey": "2cb6c5a0-6fb9-49ad-a322-555d49606fcb", "ParentDiscussionPostKey": "ed684e7c-a933-42a3-8c0c-a7e118309788", "DiscussionThreadKey": "10cbc73a-53cc-4e27-992b-192fd81c1246", "CommunityName": "sample string 16", "CommunityKey": "0741b8fa-b65c-41a6-9d3c-37289f45967a", "DiscussionKey": "2b3335bb-1f96-4af8-adb7-f91f576c1a93", "MessageStatus": "sample string 19", "ModerationType": "sample string 20", "DiscussionPostId": 21, "Pinned": true, "Status": 0, "Subject": "sample string 23", "Tags": [ { "Tag": "sample string 1", "TagType": "sample string 2" }, { "Tag": "sample string 1", "TagType": "sample string 2" } ], "HasRecommended": true, "RecommendationCount": 25, "Attachments": [ { "DocumentAttachmentKey": "b4ae250f-75e9-44b6-9a2a-f7cf41755c32", "DocumentKey": "fd88b903-a5fb-45fe-8361-1c3c90a0fbfb", "FileName": "sample string 3", "UploadedByContact": { "LinkToProfile": "sample string 1", "PictureUrl": "sample string 2", "ContactKey": "1829d3e9-beee-4aa1-932f-239752c0a2e2", "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-11-02T17:37:24.6102106Z", "UpdatedByContactKey": "73b8772e-74bb-430a-a9fd-e5f9683c3110", "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-11-02T17:37:24.6102106Z" }, "CreatedOn": "2024-11-02T17:37:24.6102106Z", "FileExtension": "sample string 5", "FileSizeInBytes": 1, "Width": 1, "Height": 1, "DurationSeconds": 1, "DownloadUrl": "sample string 6", "IconUrl": "sample string 7", "Status": "sample string 8" }, { "DocumentAttachmentKey": "b4ae250f-75e9-44b6-9a2a-f7cf41755c32", "DocumentKey": "fd88b903-a5fb-45fe-8361-1c3c90a0fbfb", "FileName": "sample string 3", "UploadedByContact": { "LinkToProfile": "sample string 1", "PictureUrl": "sample string 2", "ContactKey": "1829d3e9-beee-4aa1-932f-239752c0a2e2", "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-11-02T17:37:24.6102106Z", "UpdatedByContactKey": "73b8772e-74bb-430a-a9fd-e5f9683c3110", "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-11-02T17:37:24.6102106Z" }, "CreatedOn": "2024-11-02T17:37:24.6102106Z", "FileExtension": "sample string 5", "FileSizeInBytes": 1, "Width": 1, "Height": 1, "DurationSeconds": 1, "DownloadUrl": "sample string 6", "IconUrl": "sample string 7", "Status": "sample string 8" } ], "ContactsWhoRecommend": [ { "LinkToProfile": "sample string 1", "PictureUrl": "sample string 2", "ContactKey": "1829d3e9-beee-4aa1-932f-239752c0a2e2", "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-11-02T17:37:24.6102106Z", "UpdatedByContactKey": "73b8772e-74bb-430a-a9fd-e5f9683c3110", "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-11-02T17:37:24.6102106Z" }, { "LinkToProfile": "sample string 1", "PictureUrl": "sample string 2", "ContactKey": "1829d3e9-beee-4aa1-932f-239752c0a2e2", "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-11-02T17:37:24.6102106Z", "UpdatedByContactKey": "73b8772e-74bb-430a-a9fd-e5f9683c3110", "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-11-02T17:37:24.6102106Z" } ], "IsAnswer": true, "UserPermissions": [ "sample string 1", "sample string 2" ] }, { "BodyWithoutOriginalMessage": "sample string 1", "HasReplied": true, "ReplyCount": 3, "Author": { "LinkToProfile": "sample string 1", "PictureUrl": "sample string 2", "ContactKey": "1829d3e9-beee-4aa1-932f-239752c0a2e2", "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-11-02T17:37:24.6102106Z", "UpdatedByContactKey": "73b8772e-74bb-430a-a9fd-e5f9683c3110", "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-11-02T17:37:24.6102106Z" }, "Body": "sample string 4", "BodyWithoutMarkup": "sample string 5", "ContactKey": "bd5db87f-f44c-4dd8-8d48-fb9503bbe553", "DatePosted": "2024-11-02T17:37:24.6102106Z", "LinkToDiscussion": "sample string 8", "LinkToMessageInContext": "sample string 9", "DiscussionName": "sample string 10", "EmailAddress": "sample string 11", "LinkToMessage": "sample string 12", "DiscussionPostKey": "2cb6c5a0-6fb9-49ad-a322-555d49606fcb", "ParentDiscussionPostKey": "ed684e7c-a933-42a3-8c0c-a7e118309788", "DiscussionThreadKey": "10cbc73a-53cc-4e27-992b-192fd81c1246", "CommunityName": "sample string 16", "CommunityKey": "0741b8fa-b65c-41a6-9d3c-37289f45967a", "DiscussionKey": "2b3335bb-1f96-4af8-adb7-f91f576c1a93", "MessageStatus": "sample string 19", "ModerationType": "sample string 20", "DiscussionPostId": 21, "Pinned": true, "Status": 0, "Subject": "sample string 23", "Tags": [ { "Tag": "sample string 1", "TagType": "sample string 2" }, { "Tag": "sample string 1", "TagType": "sample string 2" } ], "HasRecommended": true, "RecommendationCount": 25, "Attachments": [ { "DocumentAttachmentKey": "b4ae250f-75e9-44b6-9a2a-f7cf41755c32", "DocumentKey": "fd88b903-a5fb-45fe-8361-1c3c90a0fbfb", "FileName": "sample string 3", "UploadedByContact": { "LinkToProfile": "sample string 1", "PictureUrl": "sample string 2", "ContactKey": "1829d3e9-beee-4aa1-932f-239752c0a2e2", "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-11-02T17:37:24.6102106Z", "UpdatedByContactKey": "73b8772e-74bb-430a-a9fd-e5f9683c3110", "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-11-02T17:37:24.6102106Z" }, "CreatedOn": "2024-11-02T17:37:24.6102106Z", "FileExtension": "sample string 5", "FileSizeInBytes": 1, "Width": 1, "Height": 1, "DurationSeconds": 1, "DownloadUrl": "sample string 6", "IconUrl": "sample string 7", "Status": "sample string 8" }, { "DocumentAttachmentKey": "b4ae250f-75e9-44b6-9a2a-f7cf41755c32", "DocumentKey": "fd88b903-a5fb-45fe-8361-1c3c90a0fbfb", "FileName": "sample string 3", "UploadedByContact": { "LinkToProfile": "sample string 1", "PictureUrl": "sample string 2", "ContactKey": "1829d3e9-beee-4aa1-932f-239752c0a2e2", "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-11-02T17:37:24.6102106Z", "UpdatedByContactKey": "73b8772e-74bb-430a-a9fd-e5f9683c3110", "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-11-02T17:37:24.6102106Z" }, "CreatedOn": "2024-11-02T17:37:24.6102106Z", "FileExtension": "sample string 5", "FileSizeInBytes": 1, "Width": 1, "Height": 1, "DurationSeconds": 1, "DownloadUrl": "sample string 6", "IconUrl": "sample string 7", "Status": "sample string 8" } ], "ContactsWhoRecommend": [ { "LinkToProfile": "sample string 1", "PictureUrl": "sample string 2", "ContactKey": "1829d3e9-beee-4aa1-932f-239752c0a2e2", "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-11-02T17:37:24.6102106Z", "UpdatedByContactKey": "73b8772e-74bb-430a-a9fd-e5f9683c3110", "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-11-02T17:37:24.6102106Z" }, { "LinkToProfile": "sample string 1", "PictureUrl": "sample string 2", "ContactKey": "1829d3e9-beee-4aa1-932f-239752c0a2e2", "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-11-02T17:37:24.6102106Z", "UpdatedByContactKey": "73b8772e-74bb-430a-a9fd-e5f9683c3110", "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-11-02T17:37:24.6102106Z" } ], "IsAnswer": true, "UserPermissions": [ "sample string 1", "sample string 2" ] } ], "HasMore": true, "Next": "sample string 2", "Previous": "sample string 3" }
application/xml, text/xml
<PaginatedReplies xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise.Discussions" />