GET api/Project?entityTypeId={entityTypeId}&entityId={entityId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
entityTypeId

integer

Required

entityId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of AttachmentDTO
NameDescriptionTypeAdditional information
AttachmentId

integer

None.

EntityId

integer

None.

EntityTypeId

integer

None.

FileName

string

None.

OriginalFileName

string

None.

Created

date

None.

IsDeleted

boolean

None.

ProjectId

integer

None.

CreatedBy

integer

None.

FileSize

string

None.

CategoryId

integer

None.

Notes

string

None.

FullPath

string

None.

CreatedByName

string

None.

CreatedString

string

None.

FileIcon

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AttachmentId": 1,
    "EntityId": 2,
    "EntityTypeId": 3,
    "FileName": "sample string 4",
    "OriginalFileName": "sample string 5",
    "Created": "2026-02-14T22:19:01.9928964+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-02-14T22:19:01.9928964+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:
<ArrayOfAttachmentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpmNew.Model.MobileDTO">
  <AttachmentDTO>
    <AttachmentId>1</AttachmentId>
    <CategoryId>11</CategoryId>
    <Created>2026-02-14T22:19:01.9928964+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-02-14T22:19:01.9928964+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>
</ArrayOfAttachmentDTO>