GET api/Attachments/getAll/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of AttachmentsDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| AttachmentID | integer |
None. |
|
| StaffID | integer |
None. |
|
| Title | string |
None. |
|
| Path | string |
None. |
|
| IsDeleted | boolean |
None. |
|
| CreationDate | date |
None. |
|
| ModifiedDate | date |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"AttachmentID": 1,
"StaffID": 2,
"Title": "sample string 3",
"Path": "sample string 4",
"IsDeleted": true,
"CreationDate": "2025-10-27T18:25:18.1632741-04:00",
"ModifiedDate": "2025-10-27T18:25:18.1632741-04:00"
},
{
"AttachmentID": 1,
"StaffID": 2,
"Title": "sample string 3",
"Path": "sample string 4",
"IsDeleted": true,
"CreationDate": "2025-10-27T18:25:18.1632741-04:00",
"ModifiedDate": "2025-10-27T18:25:18.1632741-04:00"
}
]
application/xml, text/xml
Sample:
<ArrayOfAttachmentsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR.Objects.DTOs">
<AttachmentsDTO>
<AttachmentID>1</AttachmentID>
<CreationDate>2025-10-27T18:25:18.1632741-04:00</CreationDate>
<IsDeleted>true</IsDeleted>
<ModifiedDate>2025-10-27T18:25:18.1632741-04:00</ModifiedDate>
<Path>sample string 4</Path>
<StaffID>2</StaffID>
<Title>sample string 3</Title>
</AttachmentsDTO>
<AttachmentsDTO>
<AttachmentID>1</AttachmentID>
<CreationDate>2025-10-27T18:25:18.1632741-04:00</CreationDate>
<IsDeleted>true</IsDeleted>
<ModifiedDate>2025-10-27T18:25:18.1632741-04:00</ModifiedDate>
<Path>sample string 4</Path>
<StaffID>2</StaffID>
<Title>sample string 3</Title>
</AttachmentsDTO>
</ArrayOfAttachmentsDTO>