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

Queryable collection of all Unit Comments for a Business Unit

Request Information

Parameters

NameDescriptionAdditional information
buid
Business Unit ID

Define this parameter in the request URI.

Response Information

DTO.Comments.UnitCommentDTO

Response body formats

application/json, text/json

Sample:
[
  {
    "UnitCommentID": "c4d9efe6-3980-4fe6-870f-183bd51bc025",
    "UnitNumber": "sample string 2",
    "CenterCommentID": "16a47d55-bae2-4149-900f-ce0296eca9b5",
    "BusinessUnitID": "sample string 4",
    "CommentID": "10d564ac-3299-432d-aabe-6ade00312989",
    "SourceSystemKey": "6bb69936-a770-4c64-9123-86878881b39e",
    "SubmittedDate": "2024-12-02T18:14:16.6388104+00:00",
    "UserID": "sample string 7",
    "SourceSystemID": "58fb970d-1177-4f01-88e3-1b164ae27d44",
    "SourceSystem": "sample string 9",
    "IsPublic": true,
    "IsArchived": true,
    "SubCategoryID": "b008d098-ec82-409d-857d-ef735b9d4d08",
    "SubCategory": "sample string 13",
    "Category": "sample string 14",
    "CommentText": "sample string 15",
    "UserName": "sample string 16",
    "Replies": [
      {
        "ReplyID": "1d4d50d5-53d3-4410-a773-22288c58e437",
        "CommentID": "9bbc1a13-3ad0-4752-bf46-906666a7e26e",
        "UserID": "sample string 3",
        "ReplyText": "sample string 4",
        "UserName": "sample string 5",
        "SubmittedDate": "2024-12-02T18:14:16.6388104+00:00"
      },
      {
        "ReplyID": "1d4d50d5-53d3-4410-a773-22288c58e437",
        "CommentID": "9bbc1a13-3ad0-4752-bf46-906666a7e26e",
        "UserID": "sample string 3",
        "ReplyText": "sample string 4",
        "UserName": "sample string 5",
        "SubmittedDate": "2024-12-02T18:14:16.6388104+00:00"
      },
      {
        "ReplyID": "1d4d50d5-53d3-4410-a773-22288c58e437",
        "CommentID": "9bbc1a13-3ad0-4752-bf46-906666a7e26e",
        "UserID": "sample string 3",
        "ReplyText": "sample string 4",
        "UserName": "sample string 5",
        "SubmittedDate": "2024-12-02T18:14:16.6388104+00:00"
      }
    ]
  },
  {
    "UnitCommentID": "c4d9efe6-3980-4fe6-870f-183bd51bc025",
    "UnitNumber": "sample string 2",
    "CenterCommentID": "16a47d55-bae2-4149-900f-ce0296eca9b5",
    "BusinessUnitID": "sample string 4",
    "CommentID": "10d564ac-3299-432d-aabe-6ade00312989",
    "SourceSystemKey": "6bb69936-a770-4c64-9123-86878881b39e",
    "SubmittedDate": "2024-12-02T18:14:16.6388104+00:00",
    "UserID": "sample string 7",
    "SourceSystemID": "58fb970d-1177-4f01-88e3-1b164ae27d44",
    "SourceSystem": "sample string 9",
    "IsPublic": true,
    "IsArchived": true,
    "SubCategoryID": "b008d098-ec82-409d-857d-ef735b9d4d08",
    "SubCategory": "sample string 13",
    "Category": "sample string 14",
    "CommentText": "sample string 15",
    "UserName": "sample string 16",
    "Replies": [
      {
        "ReplyID": "1d4d50d5-53d3-4410-a773-22288c58e437",
        "CommentID": "9bbc1a13-3ad0-4752-bf46-906666a7e26e",
        "UserID": "sample string 3",
        "ReplyText": "sample string 4",
        "UserName": "sample string 5",
        "SubmittedDate": "2024-12-02T18:14:16.6388104+00:00"
      },
      {
        "ReplyID": "1d4d50d5-53d3-4410-a773-22288c58e437",
        "CommentID": "9bbc1a13-3ad0-4752-bf46-906666a7e26e",
        "UserID": "sample string 3",
        "ReplyText": "sample string 4",
        "UserName": "sample string 5",
        "SubmittedDate": "2024-12-02T18:14:16.6388104+00:00"
      },
      {
        "ReplyID": "1d4d50d5-53d3-4410-a773-22288c58e437",
        "CommentID": "9bbc1a13-3ad0-4752-bf46-906666a7e26e",
        "UserID": "sample string 3",
        "ReplyText": "sample string 4",
        "UserName": "sample string 5",
        "SubmittedDate": "2024-12-02T18:14:16.6388104+00:00"
      }
    ]
  },
  {
    "UnitCommentID": "c4d9efe6-3980-4fe6-870f-183bd51bc025",
    "UnitNumber": "sample string 2",
    "CenterCommentID": "16a47d55-bae2-4149-900f-ce0296eca9b5",
    "BusinessUnitID": "sample string 4",
    "CommentID": "10d564ac-3299-432d-aabe-6ade00312989",
    "SourceSystemKey": "6bb69936-a770-4c64-9123-86878881b39e",
    "SubmittedDate": "2024-12-02T18:14:16.6388104+00:00",
    "UserID": "sample string 7",
    "SourceSystemID": "58fb970d-1177-4f01-88e3-1b164ae27d44",
    "SourceSystem": "sample string 9",
    "IsPublic": true,
    "IsArchived": true,
    "SubCategoryID": "b008d098-ec82-409d-857d-ef735b9d4d08",
    "SubCategory": "sample string 13",
    "Category": "sample string 14",
    "CommentText": "sample string 15",
    "UserName": "sample string 16",
    "Replies": [
      {
        "ReplyID": "1d4d50d5-53d3-4410-a773-22288c58e437",
        "CommentID": "9bbc1a13-3ad0-4752-bf46-906666a7e26e",
        "UserID": "sample string 3",
        "ReplyText": "sample string 4",
        "UserName": "sample string 5",
        "SubmittedDate": "2024-12-02T18:14:16.6388104+00:00"
      },
      {
        "ReplyID": "1d4d50d5-53d3-4410-a773-22288c58e437",
        "CommentID": "9bbc1a13-3ad0-4752-bf46-906666a7e26e",
        "UserID": "sample string 3",
        "ReplyText": "sample string 4",
        "UserName": "sample string 5",
        "SubmittedDate": "2024-12-02T18:14:16.6388104+00:00"
      },
      {
        "ReplyID": "1d4d50d5-53d3-4410-a773-22288c58e437",
        "CommentID": "9bbc1a13-3ad0-4752-bf46-906666a7e26e",
        "UserID": "sample string 3",
        "ReplyText": "sample string 4",
        "UserName": "sample string 5",
        "SubmittedDate": "2024-12-02T18:14:16.6388104+00:00"
      }
    ]
  }
]

text/javascript

Sample:
[{"UnitCommentID":"c4d9efe6-3980-4fe6-870f-183bd51bc025","UnitNumber":"sample string 2","CenterCommentID":"16a47d55-bae2-4149-900f-ce0296eca9b5","BusinessUnitID":"sample string 4","CommentID":"10d564ac-3299-432d-aabe-6ade00312989","SourceSystemKey":"6bb69936-a770-4c64-9123-86878881b39e","SubmittedDate":"2024-12-02T18:14:16.6388104+00:00","UserID":"sample string 7","SourceSystemID":"58fb970d-1177-4f01-88e3-1b164ae27d44","SourceSystem":"sample string 9","IsPublic":true,"IsArchived":true,"SubCategoryID":"b008d098-ec82-409d-857d-ef735b9d4d08","SubCategory":"sample string 13","Category":"sample string 14","CommentText":"sample string 15","UserName":"sample string 16","Replies":[{"ReplyID":"1d4d50d5-53d3-4410-a773-22288c58e437","CommentID":"9bbc1a13-3ad0-4752-bf46-906666a7e26e","UserID":"sample string 3","ReplyText":"sample string 4","UserName":"sample string 5","SubmittedDate":"2024-12-02T18:14:16.6388104+00:00"},{"ReplyID":"1d4d50d5-53d3-4410-a773-22288c58e437","CommentID":"9bbc1a13-3ad0-4752-bf46-906666a7e26e","UserID":"sample string 3","ReplyText":"sample string 4","UserName":"sample string 5","SubmittedDate":"2024-12-02T18:14:16.6388104+00:00"},{"ReplyID":"1d4d50d5-53d3-4410-a773-22288c58e437","CommentID":"9bbc1a13-3ad0-4752-bf46-906666a7e26e","UserID":"sample string 3","ReplyText":"sample string 4","UserName":"sample string 5","SubmittedDate":"2024-12-02T18:14:16.6388104+00:00"}]},{"UnitCommentID":"c4d9efe6-3980-4fe6-870f-183bd51bc025","UnitNumber":"sample string 2","CenterCommentID":"16a47d55-bae2-4149-900f-ce0296eca9b5","BusinessUnitID":"sample string 4","CommentID":"10d564ac-3299-432d-aabe-6ade00312989","SourceSystemKey":"6bb69936-a770-4c64-9123-86878881b39e","SubmittedDate":"2024-12-02T18:14:16.6388104+00:00","UserID":"sample string 7","SourceSystemID":"58fb970d-1177-4f01-88e3-1b164ae27d44","SourceSystem":"sample string 9","IsPublic":true,"IsArchived":true,"SubCategoryID":"b008d098-ec82-409d-857d-ef735b9d4d08","SubCategory":"sample string 13","Category":"sample string 14","CommentText":"sample string 15","UserName":"sample string 16","Replies":[{"ReplyID":"1d4d50d5-53d3-4410-a773-22288c58e437","CommentID":"9bbc1a13-3ad0-4752-bf46-906666a7e26e","UserID":"sample string 3","ReplyText":"sample string 4","UserName":"sample string 5","SubmittedDate":"2024-12-02T18:14:16.6388104+00:00"},{"ReplyID":"1d4d50d5-53d3-4410-a773-22288c58e437","CommentID":"9bbc1a13-3ad0-4752-bf46-906666a7e26e","UserID":"sample string 3","ReplyText":"sample string 4","UserName":"sample string 5","SubmittedDate":"2024-12-02T18:14:16.6388104+00:00"},{"ReplyID":"1d4d50d5-53d3-4410-a773-22288c58e437","CommentID":"9bbc1a13-3ad0-4752-bf46-906666a7e26e","UserID":"sample string 3","ReplyText":"sample string 4","UserName":"sample string 5","SubmittedDate":"2024-12-02T18:14:16.6388104+00:00"}]},{"UnitCommentID":"c4d9efe6-3980-4fe6-870f-183bd51bc025","UnitNumber":"sample string 2","CenterCommentID":"16a47d55-bae2-4149-900f-ce0296eca9b5","BusinessUnitID":"sample string 4","CommentID":"10d564ac-3299-432d-aabe-6ade00312989","SourceSystemKey":"6bb69936-a770-4c64-9123-86878881b39e","SubmittedDate":"2024-12-02T18:14:16.6388104+00:00","UserID":"sample string 7","SourceSystemID":"58fb970d-1177-4f01-88e3-1b164ae27d44","SourceSystem":"sample string 9","IsPublic":true,"IsArchived":true,"SubCategoryID":"b008d098-ec82-409d-857d-ef735b9d4d08","SubCategory":"sample string 13","Category":"sample string 14","CommentText":"sample string 15","UserName":"sample string 16","Replies":[{"ReplyID":"1d4d50d5-53d3-4410-a773-22288c58e437","CommentID":"9bbc1a13-3ad0-4752-bf46-906666a7e26e","UserID":"sample string 3","ReplyText":"sample string 4","UserName":"sample string 5","SubmittedDate":"2024-12-02T18:14:16.6388104+00:00"},{"ReplyID":"1d4d50d5-53d3-4410-a773-22288c58e437","CommentID":"9bbc1a13-3ad0-4752-bf46-906666a7e26e","UserID":"sample string 3","ReplyText":"sample string 4","UserName":"sample string 5","SubmittedDate":"2024-12-02T18:14:16.6388104+00:00"},{"ReplyID":"1d4d50d5-53d3-4410-a773-22288c58e437","CommentID":"9bbc1a13-3ad0-4752-bf46-906666a7e26e","UserID":"sample string 3","ReplyText":"sample string 4","UserName":"sample string 5","SubmittedDate":"2024-12-02T18:14:16.6388104+00:00"}]}]

text/csv

Sample:
UnitCommentID,UnitNumber,CenterCommentID,BusinessUnitID,CommentID,SourceSystemKey,SubmittedDate,UserID,SourceSystemID,SourceSystem,IsPublic,IsArchived,SubCategoryID,SubCategory,Category,CommentText,UserName,Replies
c4d9efe6-3980-4fe6-870f-183bd51bc025,sample string 2,16a47d55-bae2-4149-900f-ce0296eca9b5,sample string 4,10d564ac-3299-432d-aabe-6ade00312989,6bb69936-a770-4c64-9123-86878881b39e,12/2/2024 6:14:16 PM,sample string 7,58fb970d-1177-4f01-88e3-1b164ae27d44,sample string 9,True,True,b008d098-ec82-409d-857d-ef735b9d4d08,sample string 13,sample string 14,sample string 15,sample string 16,System.Collections.Generic.List`1[Regency.Api.DTO.Comments.ReplyDTO]
c4d9efe6-3980-4fe6-870f-183bd51bc025,sample string 2,16a47d55-bae2-4149-900f-ce0296eca9b5,sample string 4,10d564ac-3299-432d-aabe-6ade00312989,6bb69936-a770-4c64-9123-86878881b39e,12/2/2024 6:14:16 PM,sample string 7,58fb970d-1177-4f01-88e3-1b164ae27d44,sample string 9,True,True,b008d098-ec82-409d-857d-ef735b9d4d08,sample string 13,sample string 14,sa