GET api/Project/GetDiscussionsForTask?itemId={itemId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
itemId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ItemDiscussionDTO
NameDescriptionTypeAdditional information
ItemDiscussionId

integer

None.

ItemId

integer

None.

DiscussionText

string

None.

UserId

integer

None.

UserFullName

string

None.

UserImage

string

None.

Created

date

None.

Attachments

Collection of AttachmentDTO

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ItemDiscussionId": 1,
    "ItemId": 2,
    "DiscussionText": "sample string 3",
    "UserId": 4,
    "UserFullName": "sample string 5",
    "UserImage": "sample string 6",
    "Created": "2026-05-14T22:15:30.6235423+05:30",
    "Attachments": [
      {
        "AttachmentId": 1,
        "EntityId": 2,
        "EntityTypeId": 3,
        "FileName": "sample string 4",
        "OriginalFileName": "sample string 5",
        "Created": "2026-05-14T22:15:30.6235423+05:30",
        "IsDeleted": true,
        "ProjectId": 8,
        "CreatedBy": 9,
        "FileSize": "sample string 10",
        "CategoryId": 11,
        "Notes": "sample string 12",
        "FullPath": "sample string 13",
        "CreatedByName": "sample string 14",
        "CreatedString": "sample string 15",
        "FileIcon": "sample string 16"
      },
      {
        "AttachmentId": 1,
        "EntityId": 2,
        "EntityTypeId": 3,
        "FileName": "sample string 4",
        "OriginalFileName": "sample string 5",
        "Created": "2026-05-14T22:15:30.6235423+05:30",
        "IsDeleted": true,
        "ProjectId": 8,
        "CreatedBy": 9,
        "FileSize": "sample string 10",
        "CategoryId": 11,
        "Notes": "sample string 12",
        "FullPath": "sample string 13",
        "CreatedByName": "sample string 14",
        "CreatedString": "sample string 15",
        "FileIcon": "sample string 16"
      }
    ]
  },
  {
    "ItemDiscussionId": 1,
    "ItemId": 2,
    "DiscussionText": "sample string 3",
    "UserId": 4,
    "UserFullName": "sample string 5",
    "UserImage": "sample string 6",
    "Created": "2026-05-14T22:15:30.6235423+05:30",
    "Attachments": [
      {
        "AttachmentId": 1,
        "EntityId": 2,
        "EntityTypeId": 3,
        "FileName": "sample string 4",
        "OriginalFileName": "sample string 5",
        "Created": "2026-05-14T22:15:30.6235423+05:30",
        "IsDeleted": true,
        "ProjectId": 8,
        "CreatedBy": 9,
        "FileSize": "sample string 10",
        "CategoryId": 11,
        "Notes": "sample string 12",
        "FullPath": "sample string 13",
        "CreatedByName": "sample string 14",
        "CreatedString": "sample string 15",
        "FileIcon": "sample string 16"
      },
      {
        "AttachmentId": 1,
        "EntityId": 2,
        "EntityTypeId": 3,
        "FileName": "sample string 4",
        "OriginalFileName": "sample string 5",
        "Created": "2026-05-14T22:15:30.6235423+05:30",
        "IsDeleted": true,
        "ProjectId": 8,
        "CreatedBy": 9,
        "FileSize": "sample string 10",
        "CategoryId": 11,
        "Notes": "sample string 12",
        "FullPath": "sample string 13",
        "CreatedByName": "sample string 14",
        "CreatedString": "sample string 15",
        "FileIcon": "sample string 16"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfItemDiscussionDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpmNew.Model.MobileDTO">
  <ItemDiscussionDTO>
    <Attachments>
      <AttachmentDTO>
        <AttachmentId>1</AttachmentId>
        <CategoryId>11</CategoryId>
        <Created>2026-05-14T22:15:30.6235423+05:30</Created>
        <CreatedBy>9</CreatedBy>
        <CreatedByName>sample string 14</CreatedByName>
        <CreatedString>sample string 15</CreatedString>
        <EntityId>2</EntityId>
        <EntityTypeId>3</EntityTypeId>
        <FileIcon>sample string 16</FileIcon>
        <FileName>sample string 4</FileName>
        <FileSize>sample string 10</FileSize>
        <FullPath>sample string 13</FullPath>
        <IsDeleted>true</IsDeleted>
        <Notes>sample string 12</Notes>
        <OriginalFileName>sample string 5</OriginalFileName>
        <ProjectId>8</ProjectId>
      </AttachmentDTO>
      <AttachmentDTO>
        <AttachmentId>1</AttachmentId>
        <CategoryId>11</CategoryId>
        <Created>2026-05-14T22:15:30.6235423+05:30</Created>
        <CreatedBy>9</CreatedBy>
        <CreatedByName>sample string 14</CreatedByName>
        <CreatedString>sample string 15</CreatedString>
        <EntityId>2</EntityId>
        <EntityTypeId>3</EntityTypeId>
        <FileIcon>sample string 16</FileIcon>
        <FileName>sample string 4</FileName>
        <FileSize>sample string 10</FileSize>
        <FullPath>sample string 13</FullPath>
        <IsDeleted>true</IsDeleted>
        <Notes>sample string 12</Notes>
        <OriginalFileName>sample string 5</OriginalFileName>
        <ProjectId>8</ProjectId>
      </AttachmentDTO>
    </Attachments>
    <Created>2026-05-14T22:15:30.6235423+05:30</Created>
    <DiscussionText>sample string 3</DiscussionText>
    <ItemDiscussionId>1</ItemDiscussionId>
    <ItemId>2</ItemId>
    <UserFullName>sample string 5</UserFullName>
    <UserId>4</UserId>
    <UserImage>sample string 6</UserImage>
  </ItemDiscussionDTO>
  <ItemDiscussionDTO>
    <Attachments>
      <AttachmentDTO>
        <AttachmentId>1</AttachmentId>
        <CategoryId>11</CategoryId>
        <Created>2026-05-14T22:15:30.6235423+05:30</Created>
        <CreatedBy>9</CreatedBy>
        <CreatedByName>sample string 14</CreatedByName>
        <CreatedString>sample string 15</CreatedString>
        <EntityId>2</EntityId>
        <EntityTypeId>3</EntityTypeId>
        <FileIcon>sample string 16</FileIcon>
        <FileName>sample string 4</FileName>
        <FileSize>sample string 10</FileSize>
        <FullPath>sample string 13</FullPath>
        <IsDeleted>true</IsDeleted>
        <Notes>sample string 12</Notes>
        <OriginalFileName>sample string 5</OriginalFileName>
        <ProjectId>8</ProjectId>
      </AttachmentDTO>
      <AttachmentDTO>
        <AttachmentId>1</AttachmentId>
        <CategoryId>11</CategoryId>
        <Created>2026-05-14T22:15:30.6235423+05:30</Created>
        <CreatedBy>9</CreatedBy>
        <CreatedByName>sample string 14</CreatedByName>
        <CreatedString>sample string 15</CreatedString>
        <EntityId>2</EntityId>
        <EntityTypeId>3</EntityTypeId>
        <FileIcon>sample string 16</FileIcon>
        <FileName>sample string 4</FileName>
        <FileSize>sample string 10</FileSize>
        <FullPath>sample string 13</FullPath>
        <IsDeleted>true</IsDeleted>
        <Notes>sample string 12</Notes>
        <OriginalFileName>sample string 5</OriginalFileName>
        <ProjectId>8</ProjectId>
      </AttachmentDTO>
    </Attachments>
    <Created>2026-05-14T22:15:30.6235423+05:30</Created>
    <DiscussionText>sample string 3</DiscussionText>
    <ItemDiscussionId>1</ItemDiscussionId>
    <ItemId>2</ItemId>
    <UserFullName>sample string 5</UserFullName>
    <UserId>4</UserId>
    <UserImage>sample string 6</UserImage>
  </ItemDiscussionDTO>
</ArrayOfItemDiscussionDTO>