- URL:http:// <dynamic-attachmentinfos-url>/<attachmentId>
- Required Capability:Query
- Version Introduced:10.1
The attachment resource represents an individual attachment associated with a feature. This resource is available only if the dynamic layer has advertised that it has attachments. A dynamic layer has attachments if it hasAttachments property is true.
The content of the attachment are streamed to the client. If the attachment is not found, and HTTP status code of 404 (Not found) is returned.
Description: Dynamic layer/table source definition.
Use gdbVersion on dynamic map layer definition to specify an alternate geodatabase version.
Example 1: Attachment resource for attachment ID 19 belonging to a feature (with featureId 1) in a dynamic layer (existing map service layer with id 3):