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:

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

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.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close