Upload Item Information File
- URL:http://server:port/arcgis/admin/services/[<folder>]/<serviceName.serviceType>/iteminfo/upload(POST only)
- Required Capability:Publisher or Administrator
- Version Introduced:10.1
Uploads a file associated with the item information to the server. The uploaded file is placed in a directory defined by the folder parameter. The file is accessible by appending the path and file name to the Item Information URL.
Iteminfo uploads are filtered by a whitelist of filename extensions. This is the default list: 'xml, img, png, gif, jpg, jpeg, bmp, json'. The default list can be overridden by setting the "uploadItemInfoFileExtensionWhitelist" property with the server properties API.
The name of the folder on the server to which the file must be uploaded.
The file to upload to the server.
The response format. The default response format is html.
Values: html | json
http://server:port/arcgis/admin/services/Maps/MyMap.MapServer/iteminfo/upload folder=metadata file=metadata.xml;