GET api/Attachments/{id}?tableType={tableType}
Get a list of attachments for the given table type.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| tableType |
Supported values include: Contact, Company, Group, Opportunity, Activity, History, Note |
string |
Required |
| id |
The id of the table record. |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Attachment| Name | Description | Type | Additional information |
|---|---|---|---|
| DisplayName | string |
None. |
|
| FileSize | decimal number |
None. |
|
| LastModified | date |
None. |
|
| FileType | string |
None. |
|
| FileExtension | string |
None. |
|
| FileName | string |
None. |
|
| Personal | boolean |
None. |
|
| Shortcut | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"DisplayName": "sample string 1",
"FileSize": 2.1,
"LastModified": "2026-01-01T22:49:24Z",
"FileType": "sample string 4",
"FileExtension": "sample string 5",
"FileName": "sample string 6",
"Personal": true,
"Shortcut": true
},
{
"DisplayName": "sample string 1",
"FileSize": 2.1,
"LastModified": "2026-01-01T22:49:24Z",
"FileType": "sample string 4",
"FileExtension": "sample string 5",
"FileName": "sample string 6",
"Personal": true,
"Shortcut": true
}
]