GET api/Comments/Centers/{buid}/Units/{unitNumber}

Queryable collection of specific Unit Comments for a Business Unit

Request Information

Parameters

NameDescriptionAdditional information
buid
Business Unit ID

Define this parameter in the request URI.

unitNumber
Unit Number

Define this parameter in the request URI.

Response Information

DTO.Comments.UnitCommentDTO

Response body formats

application/json, text/json

Sample:
[
  {
    "UnitCommentID": "fa7b8b0a-6e5b-4e60-93f3-4e63682c7084",
    "UnitNumber": "sample string 2",
    "CenterCommentID": "5b210d67-674b-45c8-b97b-3c7644c0fbb2",
    "BusinessUnitID": "sample string 4",
    "CommentID": "26180687-d1e8-4c4a-9c41-80f94b66f290",
    "SourceSystemKey": "e25ddf64-b5ac-4392-934c-9b9557b5dbc5",
    "SubmittedDate": "2024-12-02T18:14:16.7779116+00:00",
    "UserID": "sample string 7",
    "SourceSystemID": "ea4f9698-3904-436f-b10c-3378ff249754",
    "SourceSystem": "sample string 9",
    "IsPublic": true,
    "IsArchived": true,
    "SubCategoryID": "ab466a4f-414c-47f1-9f80-b882aabc44b3",
    "SubCategory": "sample string 13",
    "Category": "sample string 14",
    "CommentText": "sample string 15",
    "UserName": "sample string 16",
    "Replies": [
      {
        "ReplyID": "9234d3ed-b7c0-4d1a-97cd-04b749e55573",
        "CommentID": "20ae83fc-9ef0-4116-9818-3693566911cd",
        "UserID": "sample string 3",
        "ReplyText": "sample string 4",
        "UserName": "sample string 5",
        "SubmittedDate": "2024-12-02T18:14:16.7779116+00:00"
      },
      {
        "ReplyID": "9234d3ed-b7c0-4d1a-97cd-04b749e55573",
        "CommentID": "20ae83fc-9ef0-4116-9818-3693566911cd",
        "UserID": "sample string 3",
        "ReplyText": "sample string 4",
        "UserName": "sample string 5",
        "SubmittedDate": "2024-12-02T18:14:16.7779116+00:00"
      },
      {
        "ReplyID": "9234d3ed-b7c0-4d1a-97cd-04b749e55573",
        "CommentID": "20ae83fc-9ef0-4116-9818-3693566911cd",
        "UserID": "sample string 3",
        "ReplyText": "sample string 4",
        "UserName": "sample string 5",
        "SubmittedDate": "2024-12-02T18:14:16.7779116+00:00"
      }
    ]
  },
  {
    "UnitCommentID": "fa7b8b0a-6e5b-4e60-93f3-4e63682c7084",
    "UnitNumber": "sample string 2",
    "CenterCommentID": "5b210d67-674b-45c8-b97b-3c7644c0fbb2",
    "BusinessUnitID": "sample string 4",
    "CommentID": "26180687-d1e8-4c4a-9c41-80f94b66f290",
    "SourceSystemKey": "e25ddf64-b5ac-4392-934c-9b9557b5dbc5",
    "SubmittedDate": "2024-12-02T18:14:16.7779116+00:00",
    "UserID": "sample string 7",
    "SourceSystemID": "ea4f9698-3904-436f-b10c-3378ff249754",
    "SourceSystem": "sample string 9",
    "IsPublic": true,
    "IsArchived": true,
    "SubCategoryID": "ab466a4f-414c-47f1-9f80-b882aabc44b3",
    "SubCategory": "sample string 13",
    "Category": "sample string 14",
    "CommentText": "sample string 15",
    "UserName": "sample string 16",
    "Replies": [
      {
        "ReplyID": "9234d3ed-b7c0-4d1a-97cd-04b749e55573",
        "CommentID": "20ae83fc-9ef0-4116-9818-3693566911cd",
        "UserID": "sample string 3",
        "ReplyText": "sample string 4",
        "UserName": "sample string 5",
        "SubmittedDate": "2024-12-02T18:14:16.7779116+00:00"
      },
      {
        "ReplyID": "9234d3ed-b7c0-4d1a-97cd-04b749e55573",
        "CommentID": "20ae83fc-9ef0-4116-9818-3693566911cd",
        "UserID": "sample string 3",
        "ReplyText": "sample string 4",
        "UserName": "sample string 5",
        "SubmittedDate": "2024-12-02T18:14:16.7779116+00:00"
      },
      {
        "ReplyID": "9234d3ed-b7c0-4d1a-97cd-04b749e55573",
        "CommentID": "20ae83fc-9ef0-4116-9818-3693566911cd",
        "UserID": "sample string 3",
        "ReplyText": "sample string 4",
        "UserName": "sample string 5",
        "SubmittedDate": "2024-12-02T18:14:16.7779116+00:00"
      }
    ]
  },
  {
    "UnitCommentID": "fa7b8b0a-6e5b-4e60-93f3-4e63682c7084",
    "UnitNumber": "sample string 2",
    "CenterCommentID": "5b210d67-674b-45c8-b97b-3c7644c0fbb2",
    "BusinessUnitID": "sample string 4",
    "CommentID": "26180687-d1e8-4c4a-9c41-80f94b66f290",
    "SourceSystemKey": "e25ddf64-b5ac-4392-934c-9b9557b5dbc5",
    "SubmittedDate": "2024-12-02T18:14:16.7779116+00:00",
    "UserID": "sample string 7",
    "SourceSystemID": "ea4f9698-3904-436f-b10c-3378ff249754",
    "SourceSystem": "sample string 9",
    "IsPublic": true,
    "IsArchived": true,
    "SubCategoryID": "ab466a4f-414c-47f1-9f80-b882aabc44b3",
    "SubCategory": "sample string 13",
    "Category": "sample string 14",
    "CommentText": "sample string 15",
    "UserName": "sample string 16",
    "Replies": [
      {
        "ReplyID": "9234d3ed-b7c0-4d1a-97cd-04b749e55573",
        "CommentID": "20ae83fc-9ef0-4116-9818-3693566911cd",
        "UserID": "sample string 3",
        "ReplyText": "sample string 4",
        "UserName": "sample string 5",
        "SubmittedDate": "2024-12-02T18:14:16.7779116+00:00"
      },
      {
        "ReplyID": "9234d3ed-b7c0-4d1a-97cd-04b749e55573",
        "CommentID": "20ae83fc-9ef0-4116-9818-3693566911cd",
        "UserID": "sample string 3",
        "ReplyText": "sample string 4",
        "UserName": "sample string 5",
        "SubmittedDate": "2024-12-02T18:14:16.7779116+00:00"
      },
      {
        "ReplyID": "9234d3ed-b7c0-4d1a-97cd-04b749e55573",
        "CommentID": "20ae83fc-9ef0-4116-9818-3693566911cd",
        "UserID": "sample string 3",
        "ReplyText": "sample string 4",
        "UserName": "sample string 5",
        "SubmittedDate": "2024-12-02T18:14:16.7779116+00:00"
      }
    ]
  }
]

text/javascript

Sample:
[{"UnitCommentID":"fa7b8b0a-6e5b-4e60-93f3-4e63682c7084","UnitNumber":"sample string 2","CenterCommentID":"5b210d67-674b-45c8-b97b-3c7644c0fbb2","BusinessUnitID":"sample string 4","CommentID":"26180687-d1e8-4c4a-9c41-80f94b66f290","SourceSystemKey":"e25ddf64-b5ac-4392-934c-9b9557b5dbc5","SubmittedDate":"2024-12-02T18:14:16.7779116+00:00","UserID":"sample string 7","SourceSystemID":"ea4f9698-3904-436f-b10c-3378ff249754","SourceSystem":"sample string 9","IsPublic":true,"IsArchived":true,"SubCategoryID":"ab466a4f-414c-47f1-9f80-b882aabc44b3","SubCategory":"sample string 13","Category":"sample string 14","CommentText":"sample string 15","UserName":"sample string 16","Replies":[{"ReplyID":"9234d3ed-b7c0-4d1a-97cd-04b749e55573","CommentID":"20ae83fc-9ef0-4116-9818-3693566911cd","UserID":"sample string 3","ReplyText":"sample string 4","UserName":"sample string 5","SubmittedDate":"2024-12-02T18:14:16.7779116+00:00"},{"ReplyID":"9234d3ed-b7c0-4d1a-97cd-04b749e55573","CommentID":"20ae83fc-9ef0-4116-9818-3693566911cd","UserID":"sample string 3","ReplyText":"sample string 4","UserName":"sample string 5","SubmittedDate":"2024-12-02T18:14:16.7779116+00:00"},{"ReplyID":"9234d3ed-b7c0-4d1a-97cd-04b749e55573","CommentID":"20ae83fc-9ef0-4116-9818-3693566911cd","UserID":"sample string 3","ReplyText":"sample string 4","UserName":"sample string 5","SubmittedDate":"2024-12-02T18:14:16.7779116+00:00"}]},{"UnitCommentID":"fa7b8b0a-6e5b-4e60-93f3-4e63682c7084","UnitNumber":"sample string 2","CenterCommentID":"5b210d67-674b-45c8-b97b-3c7644c0fbb2","BusinessUnitID":"sample string 4","CommentID":"26180687-d1e8-4c4a-9c41-80f94b66f290","SourceSystemKey":"e25ddf64-b5ac-4392-934c-9b9557b5dbc5","SubmittedDate":"2024-12-02T18:14:16.7779116+00:00","UserID":"sample string 7","SourceSystemID":"ea4f9698-3904-436f-b10c-3378ff249754","SourceSystem":"sample string 9","IsPublic":true,"IsArchived":true,"SubCategoryID":"ab466a4f-414c-47f1-9f80-b882aabc44b3","SubCategory":"sample string 13","Category":"sample string 14","CommentText":"sample string 15","UserName":"sample string 16","Replies":[{"ReplyID":"9234d3ed-b7c0-4d1a-97cd-04b749e55573","CommentID":"20ae83fc-9ef0-4116-9818-3693566911cd","UserID":"sample string 3","ReplyText":"sample string 4","UserName":"sample string 5","SubmittedDate":"2024-12-02T18:14:16.7779116+00:00"},{"ReplyID":"9234d3ed-b7c0-4d1a-97cd-04b749e55573","CommentID":"20ae83fc-9ef0-4116-9818-3693566911cd","UserID":"sample string 3","ReplyText":"sample string 4","UserName":"sample string 5","SubmittedDate":"2024-12-02T18:14:16.7779116+00:00"},{"ReplyID":"9234d3ed-b7c0-4d1a-97cd-04b749e55573","CommentID":"20ae83fc-9ef0-4116-9818-3693566911cd","UserID":"sample string 3","ReplyText":"sample string 4","UserName":"sample string 5","SubmittedDate":"2024-12-02T18:14:16.7779116+00:00"}]},{"UnitCommentID":"fa7b8b0a-6e5b-4e60-93f3-4e63682c7084","UnitNumber":"sample string 2","CenterCommentID":"5b210d67-674b-45c8-b97b-3c7644c0fbb2","BusinessUnitID":"sample string 4","CommentID":"26180687-d1e8-4c4a-9c41-80f94b66f290","SourceSystemKey":"e25ddf64-b5ac-4392-934c-9b9557b5dbc5","SubmittedDate":"2024-12-02T18:14:16.7779116+00:00","UserID":"sample string 7","SourceSystemID":"ea4f9698-3904-436f-b10c-3378ff249754","SourceSystem":"sample string 9","IsPublic":true,"IsArchived":true,"SubCategoryID":"ab466a4f-414c-47f1-9f80-b882aabc44b3","SubCategory":"sample string 13","Category":"sample string 14","CommentText":"sample string 15","UserName":"sample string 16","Replies":[{"ReplyID":"9234d3ed-b7c0-4d1a-97cd-04b749e55573","CommentID":"20ae83fc-9ef0-4116-9818-3693566911cd","UserID":"sample string 3","ReplyText":"sample string 4","UserName":"sample string 5","SubmittedDate":"2024-12-02T18:14:16.7779116+00:00"},{"ReplyID":"9234d3ed-b7c0-4d1a-97cd-04b749e55573","CommentID":"20ae83fc-9ef0-4116-9818-3693566911cd","UserID":"sample string 3","ReplyText":"sample string 4","UserName":"sample string 5","SubmittedDate":"2024-12-02T18:14:16.7779116+00:00"},{"ReplyID":"9234d3ed-b7c0-4d1a-97cd-04b749e55573","CommentID":"20ae83fc-9ef0-4116-9818-3693566911cd","UserID":"sample string 3","ReplyText":"sample string 4","UserName":"sample string 5","SubmittedDate":"2024-12-02T18:14:16.7779116+00:00"}]}]

text/csv

Sample:
UnitCommentID,UnitNumber,CenterCommentID,BusinessUnitID,CommentID,SourceSystemKey,SubmittedDate,UserID,SourceSystemID,SourceSystem,IsPublic,IsArchived,SubCategoryID,SubCategory,Category,CommentText,UserName,Replies
fa7b8b0a-6e5b-4e60-93f3-4e63682c7084,sample string 2,5b210d67-674b-45c8-b97b-3c7644c0fbb2,sample string 4,26180687-d1e8-4c4a-9c41-80f94b66f290,e25ddf64-b5ac-4392-934c-9b9557b5dbc5,12/2/2024 6:14:16 PM,sample string 7,ea4f9698-3904-436f-b10c-3378ff249754,sample string 9,True,True,ab466a4f-414c-47f1-9f80-b882aabc44b3,sample string 13,sample string 14,sample string 15,sample string 16,System.Collections.Generic.List`1[Regency.Api.DTO.Comments.ReplyDTO]
fa7b8b0a-6e5b-4e60-93f3-4e63682c7084,sample string 2,5b210d67-674b-45c8-b97b-3c7644c0fbb2,sample string 4,26180687-d1e8-4c4a-9c41-80f94b66f290,e25ddf64-b5ac-4392-934c-9b9557b5dbc5,12/2/2024 6:14:16 PM,sample string 7,ea4f9698-3904-436f-b10c-3378ff249754,sample string 9,True,True,ab466a4f-414c-47f1-9f80-b882aabc44b3,sample string 13,sample string 14,sa