/addPart: Add Item Part

URL:
https://[root]/content/users/[userName]/items/[itemID]/addPart
Methods:
POST

Example usage

1
https://www.arcgis.com/sharing/rest/content/users/jsmith/items/49bf5db6340e4bccaceca5af3b2bec4b/addPart

Description

Add Item Part allows the caller to upload a file part when doing an add or update item operation in multipart mode. Each upload takes an integer part number that indicates the order of this part compared to others.

Each part can be uploaded at any time, in any order, even simultaneously.

Each file part must be uploaded in an HTTP multipart request pursuant to IETF RFC1867.

Request parameters

ParameterDetails

[Common Parameters]

For a complete listing, see Common parameters.

file

The file to be uploaded.

partNum

Part numbers can be any number from 1 to 10,000, inclusive. A part number uniquely identifies a part and also defines its position within the object being created. If you upload a new part using the same part number that was used with a previous part, the previously uploaded part is overwritten.

Example:

1
partNum=1

Response properties

PropertyDetails

success

Indicates if the operation was successful.

id

The ID of the item containing the part.

JSON response syntax

1
2
3
4
{
 "success": true | false,
    "id":  "<item id>",
  }

JSON response example

1
2
3
4
{
 "success": true,
    "id":  "49bf5db6340e4bccaceca5af3b2bec4b",
  }

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