Function addAttachment(data:name:gis:mimeType:)
public func addAttachment(
data: Data,
name: String,
gis: GIS,
mimeType: MediaType? = nil
)
Add an Attachment to this Feature.
Parameters
| Name | Type | Description |
|---|---|---|
| attachment | The data to upload. |
|
| name | String |
The name of the attachment. This MUST include the extension. |
| gis | GIS |
The |
Throws
AGKDataError.
Returns
A JSON response that describes whether the request succeeded or failed.