Edit (Item Info)

URL:
https://<root>/services/<ServiceName>.<ServiceType>/iteminfo/edit
Methods:
POST
Required Capability:
Access allowed with either the "Update", "Delete", or "Security and infrastructure" privileges, or the Publisher role
Version Introduced:
10.9

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:

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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

Use dark colors for code blocksCopy
1
{"status": "success"}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.