Upload Item Information File

Description

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.

Parameters

Parameter

Description

folder

The name of the folder on the server to which the file must be uploaded.

file

The file to upload to the server.

f

The response format. The default response format is html.

Values: html | json

Example

http://server:port/arcgis/admin/services/Maps/MyMap.MapServer/iteminfo/upload
	folder=metadata
	file=metadata.xml;

7/5/2017