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-05-04T10:20:03Z",
    "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-05-04T10:20:03Z",
    "FileType": "sample string 4",
    "FileExtension": "sample string 5",
    "FileName": "sample string 6",
    "Personal": true,
    "Shortcut": true
  }
]