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

NameDescriptionTypeAdditional 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.

PaginatedReplies
NameDescriptionTypeAdditional 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

Sample:
{
  "Replies": [
    {
      "BodyWithoutOriginalMessage": "sample string 1",
      "HasReplied": true,
      "ReplyCount": 3,
      "Author": {
        "LinkToProfile": "sample string 1",
        "PictureUrl": "sample string 2",
        "ContactKey": "01b2f179-16c8-4965-b639-1eda6c727e4b",
        "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-26T06:01:57.7809957Z",
        "UpdatedByContactKey": "27b62ab7-50f7-4916-898e-dba5069e58f2",
        "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-26T06:01:57.7809957Z"
      },
      "Body": "sample string 4",
      "BodyWithoutMarkup": "sample string 5",
      "ContactKey": "db820fa3-c20c-4588-94b1-153774d47a58",
      "DatePosted": "2024-12-26T06:01:57.7809957Z",
      "LinkToDiscussion": "sample string 8",
      "LinkToMessageInContext": "sample string 9",
      "DiscussionName": "sample string 10",
      "EmailAddress": "sample string 11",
      "LinkToMessage": "sample string 12",
      "DiscussionPostKey": "48bb2d1f-7496-4276-8ec3-72bc1347b65f",
      "ParentDiscussionPostKey": "ee39710c-3116-453c-aea1-496682814a35",
      "DiscussionThreadKey": "0d4da439-b92f-468e-b636-1659141a1b44",
      "CommunityName": "sample string 16",
      "CommunityKey": "20cf986d-b6db-4d71-a832-8fd202fad36d",
      "DiscussionKey": "a9cba8cc-e6c0-4e2a-9ac7-8c3df3ffd341",
      "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": "f3057986-e928-4bd2-94e3-41669da43204",
          "DocumentKey": "48b6b9ac-fd90-49a6-8dbe-2dcc456eb0c1",
          "FileName": "sample string 3",
          "UploadedByContact": {
            "LinkToProfile": "sample string 1",
            "PictureUrl": "sample string 2",
            "ContactKey": "01b2f179-16c8-4965-b639-1eda6c727e4b",
            "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-26T06:01:57.7809957Z",
            "UpdatedByContactKey": "27b62ab7-50f7-4916-898e-dba5069e58f2",
            "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-26T06:01:57.7809957Z"
          },
          "CreatedOn": "2024-12-26T06:01:57.7809957Z",
          "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": "f3057986-e928-4bd2-94e3-41669da43204",
          "DocumentKey": "48b6b9ac-fd90-49a6-8dbe-2dcc456eb0c1",
          "FileName": "sample string 3",
          "UploadedByContact": {
            "LinkToProfile": "sample string 1",
            "PictureUrl": "sample string 2",
            "ContactKey": "01b2f179-16c8-4965-b639-1eda6c727e4b",
            "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-26T06:01:57.7809957Z",
            "UpdatedByContactKey": "27b62ab7-50f7-4916-898e-dba5069e58f2",
            "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-26T06:01:57.7809957Z"
          },
          "CreatedOn": "2024-12-26T06:01:57.7809957Z",
          "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": "01b2f179-16c8-4965-b639-1eda6c727e4b",
          "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-26T06:01:57.7809957Z",
          "UpdatedByContactKey": "27b62ab7-50f7-4916-898e-dba5069e58f2",
          "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-26T06:01:57.7809957Z"
        },
        {
          "LinkToProfile": "sample string 1",
          "PictureUrl": "sample string 2",
          "ContactKey": "01b2f179-16c8-4965-b639-1eda6c727e4b",
          "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-26T06:01:57.7809957Z",
          "UpdatedByContactKey": "27b62ab7-50f7-4916-898e-dba5069e58f2",
          "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-26T06:01:57.7809957Z"
        }
      ],
      "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": "01b2f179-16c8-4965-b639-1eda6c727e4b",
        "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-26T06:01:57.7809957Z",
        "UpdatedByContactKey": "27b62ab7-50f7-4916-898e-dba5069e58f2",
        "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-26T06:01:57.7809957Z"
      },
      "Body": "sample string 4",
      "BodyWithoutMarkup": "sample string 5",
      "ContactKey": "db820fa3-c20c-4588-94b1-153774d47a58",
      "DatePosted": "2024-12-26T06:01:57.7809957Z",
      "LinkToDiscussion": "sample string 8",
      "LinkToMessageInContext": "sample string 9",
      "DiscussionName": "sample string 10",
      "EmailAddress": "sample string 11",
      "LinkToMessage": "sample string 12",
      "DiscussionPostKey": "48bb2d1f-7496-4276-8ec3-72bc1347b65f",
      "ParentDiscussionPostKey": "ee39710c-3116-453c-aea1-496682814a35",
      "DiscussionThreadKey": "0d4da439-b92f-468e-b636-1659141a1b44",
      "CommunityName": "sample string 16",
      "CommunityKey": "20cf986d-b6db-4d71-a832-8fd202fad36d",
      "DiscussionKey": "a9cba8cc-e6c0-4e2a-9ac7-8c3df3ffd341",
      "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": "f3057986-e928-4bd2-94e3-41669da43204",
          "DocumentKey": "48b6b9ac-fd90-49a6-8dbe-2dcc456eb0c1",
          "FileName": "sample string 3",
          "UploadedByContact": {
            "LinkToProfile": "sample string 1",
            "PictureUrl": "sample string 2",
            "ContactKey": "01b2f179-16c8-4965-b639-1eda6c727e4b",
            "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-26T06:01:57.7809957Z",
            "UpdatedByContactKey": "27b62ab7-50f7-4916-898e-dba5069e58f2",
            "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-26T06:01:57.7809957Z"
          },
          "CreatedOn": "2024-12-26T06:01:57.7809957Z",
          "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": "f3057986-e928-4bd2-94e3-41669da43204",
          "DocumentKey": "48b6b9ac-fd90-49a6-8dbe-2dcc456eb0c1",
          "FileName": "sample string 3",
          "UploadedByContact": {
            "LinkToProfile": "sample string 1",
            "PictureUrl": "sample string 2",
            "ContactKey": "01b2f179-16c8-4965-b639-1eda6c727e4b",
            "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-26T06:01:57.7809957Z",
            "UpdatedByContactKey": "27b62ab7-50f7-4916-898e-dba5069e58f2",
            "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-26T06:01:57.7809957Z"
          },
          "CreatedOn": "2024-12-26T06:01:57.7809957Z",
          "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": "01b2f179-16c8-4965-b639-1eda6c727e4b",
          "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-26T06:01:57.7809957Z",
          "UpdatedByContactKey": "27b62ab7-50f7-4916-898e-dba5069e58f2",
          "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-26T06:01:57.7809957Z"
        },
        {
          "LinkToProfile": "sample string 1",
          "PictureUrl": "sample string 2",
          "ContactKey": "01b2f179-16c8-4965-b639-1eda6c727e4b",
          "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-26T06:01:57.7809957Z",
          "UpdatedByContactKey": "27b62ab7-50f7-4916-898e-dba5069e58f2",
          "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-26T06:01:57.7809957Z"
        }
      ],
      "IsAnswer": true,
      "UserPermissions": [
        "sample string 1",
        "sample string 2"
      ]
    }
  ],
  "HasMore": true,
  "Next": "sample string 2",
  "Previous": "sample string 3"
}

application/xml, text/xml

Sample:
<PaginatedReplies xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise.Discussions" />