Description
Represents the metadata for a single file or URL attachment of a job.
Linked URL attachments are supported from version 10.1 onwards.
Parameters
Parameter |
Details |
f |
Description: The response format. The default response format is html.
Values: html | json |
Example Usage
Example 1: URL for attachment ID 12 of job ID 5 in the "Workflow" service on sampleserver.
http://sampleserver/arcgis/rest/services/Workflow/WMServer/jobs/5/attachments/12
JSON Response Syntax
{
"id": <attachmentId>,
"storageType": <storageType>,
"type": "<type>",
"folder": "<folder>",
"filename": "<filename>"
}
JSON Response Example
{
"id": 12,
"storageType": 2,
"type": "",
"folder": "",
"filename": "Data_QC_Report.doc"
}