Commit

Description

Commit is called once all parts are uploaded during a multipart Add Item or Update Item operation. The parts are combined into a file, and the original file is overwritten during an Update Item operation. This is an asynchronous call and returns immediately. Status can be used to check the status of the operation until it is completed.

Request Parameters

Parameter

Details

[Common Parameters]

For a complete listing, see Common parameters.

Response Properties

Property

Details

success

Indicates if the operation was successful.

id

The ID of the item being committed.

Example Usage

http://www.arcgis.com/sharing/rest/content/users/jsmith/items/49bf5db6340e4bccaceca5af3b2bec4b/commit

JSON Response Syntax

{
 "success": true | false,
    "id":  "<item id>",

  }

JSON Response Example

{
 "success": true,
    "id":  "49bf5db6340e4bccaceca5af3b2bec4b",

  }

10/6/2017