Skip To Content
ArcGIS Developer
Dashboard

Edit (Item Info)

Description

The edit operation modifies the item information for an individual service and allows the addition of an optional thumbnail image.

Request parameters

ParameterDetails
serviceItemInfo

(Required)

A JSON object representing the item information for the service description, summary, and tags values.

thumbnailFile

(Optional)

An optional thumbnail image to be uploaded to the server.

f

The response format. The default format is html.

Values: html | json | pjson

Example usage

The following is a sample POST request for the edit operation:


POST /context/admin/services/Hosted/DamageAssessmentStatePlane.FeatureServer/iteminfo/edit HTTP/1.1
Host: organization.domain.com
Content-Type: multipart/form-data; boundary=----boundary

------boundary
Content-Disposition: form-data; name="serviceItemInfo"

{
  "description": "This map is used with ArcGIS Mobile to collect structural damage assessment. It can be used to author the mobile map cache and mobile map service used in the Damage Assessment Mobile Application.",
  "summary": "This map is used with ArcGIS Mobile to collect structural damage assessment. It can be used to author the mobile map cache and mobile map service used in the Damage Assessment Mobile Application.",
  "tags": ["Emergency Management,Damage Assessment,Public Safety"]
}
------boundary
Content-Disposition: form-data; name="thumbnail"; filename=""
Content-Type: application/octet-stream

thumbnail.png
------boundary
Content-Disposition: form-data; name="f"

pjson
------boundary
Content-Disposition: form-data; name="token"

pTF08-CHWCTee06taPxsNFRbqe6oAmq-WsyD-cOITvUXypJemoP8I_8rPZltViyfP46PmKhkicCgt8dMK5m-4H02kpkIGnUG5yxIgOfkoQRyZ9y3bMhVnkGnh24YU-KDKTI6QQI0kDASxSPWl_ntPevBHbqhORrxLgauHDHoRBCm48fEswZTOyZwQdozczzYbS3wKKecRT66v9ssoRmtmiYLREY4B_nkRfTEZoQSwr6w7LzqLAO5k3wwB3orC1LR
------boundary--

JSON Response example

{"status": "success"}