- 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 upload
operation as query parameters. The parameter details are listed in the table below.
Request parameters
Parameter | Details |
---|---|
| Description: The response format. The default response format is Values: |
| 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: Example: |
| Description: The file to be uploaded. |
Example usage
Example: Upload a part file
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
{
"success": <true|false>,
"item": {
"itemID": "<itemID>",
"itemName": "<itemName>",
"description": "<description>",
"date": <date>,
"committed": <true|false>
}
}
JSON Response example
{
"success": true,
"item": {
"itemID": "i912f0648-a455-4d08-ae95-44eb5b82de2e",
"itemName": "lakeImagery",
"description": "Lake Tahoe",
"date": 1246060800000,
"committed": false
}
}