OpportunityAttachments
This entity contains the attachments for the Opportunities entity. For more information about attachments, including call syntax, thresholds and limits, and a full list of attachment entities, refer to Working with attachments in the REST API.
NOTE You can refer to the Online Help to find root and child access URLs of the entity you wish to query. Refer to Finding resource and child access URLs of REST API entities for more information.
Entity details
Entity Name: | OpportunityAttachments |
Entity Path: |
/atservicesrest/v1.0/OpportunityAttachments |
Parent Entity: |
|
Can Create: | |
Can Update: | |
Can Query: | |
Can Delete: | |
Can Have UDFs: |
Fields that cannot be queried
The following fields from this entity will return an error when queried.
- creatorType
- data
- fileSize
Conditions and requirements
General
- The Data field is required when you create an attachment with attachmentType = FILE_ATTACHMENT.
Special field attributes
Field definitions
Field Name | Datatype | Read-Only | Is Required | Reference Name | Picklist |
---|---|---|---|---|---|
attachDate | datetime | ||||
attachedByContactID | long | Contacts | |||
attachedByResourceID | long | Resources | |||
attachmentType | string | ||||
contentType | string | ||||
fullPath | string | ||||
id | long | ||||
impersonatorCreatorResourceID | integer | Resources | |||
opportunityID | long | Opportunities | |||
parentAttachmentID |
integer |
|
|
|
|
parentID | long | ||||
publish | integer | ||||
title | string |