GET api/Attachments/{id}?tableType={tableType}

Get a list of attachments for the given table type.

Request Information

URI Parameters

NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional 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": "2024-12-05T02:41:18Z",
    "FileType": "sample string 4",
    "FileExtension": "sample string 5",
    "FileName": "sample string 6",
    "Personal": true,
    "Shortcut": true
  },
  {
    "DisplayName": "sample string 1",
    "FileSize": 2.1,
    "LastModified": "2024-12-05T02:41:18Z",
    "FileType": "sample string 4",
    "FileExtension": "sample string 5",
    "FileName": "sample string 6",
    "Personal": true,
    "Shortcut": true
  }
]