Upload Part

URL:
https://<root>/<serviceName>/<serviceType>/uploads/<itemID>/uploadPart
Methods:
POST
Required Capability:
Uploads
Version Introduced:
10.0

Description

This operation uploads a part to an item previously registered using the register operation. Because this request uploads a file, it must be a multipart request pursuant to IETF RFC1867.

All uploaded items are subject to the deletion rules set on the upload directory by the administrator of the server. Additionally, the administrator can explicitly delete an item as each uploaded item appears in the list of uploaded items in the Site Directory.

Arguments can be provided to the uploadPart operation as query parameters. The parameter details are listed in the table below.

Request parameters

ParameterDetails

f

Description: The response format. The default response format is html.

Values: html | json

partId

Description: A unique number representing the part. For example, if a file is partitioned into 10 parts, the part number representing the fifth part of the file will be 5.

Syntax: partId=<partId>

Example: partId=5

file

Description: The file to be uploaded.

Example usage

Example: Upload a part file

1
https://<serverName>.<domain>.com/arcgis/rest/services/911CallsHotspot/GPServer/uploads/icb0817bf-53c7-45d9-9487-3b87b6cba253/uploadPart

The input parameter file to this operation is a file.

JSON Response syntax

1
2
3
4
5
6
7
8
9
10
{
    "success": <true|false>,
    "item": {
        "itemID": "<itemID>",
        "itemName": "<itemName>",
        "description": "<description>",
        "date": <date>,
        "committed": <true|false>
    }
}

JSON Response example

1
2
3
4
5
6
7
8
9
10
{
    "success": true,
    "item": {
        "itemID": "i912f0648-a455-4d08-ae95-44eb5b82de2e",
        "itemName": "lakeImagery",
        "description": "Lake Tahoe",
        "date": 1246060800000,
        "committed": false
    }
}

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