Skip To Content

Alter

  • URL: https://<version-url>/alter(POST only)
  • Version Introduced:10.6

Description

The alter operation changes the geodatabase version's name, description, and access permissions.

Licencia:
Los miembros de su organización deben tener una licencia asignada para la extensión de tipo de usuario de ArcGIS Advanced Editing para utilizar esta operación.

Request parameters

ParameterDetails
f

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

Values: html | json

ownerName

Description: The new owner's name. This parameter is optional.

Example: ownerName = jwatson

versionName

Description: The new version name. This parameter is optional.

Example: versionName = newname

description

Description: The new description of the version. This parameter is optional.

Example: description = Modified version description details

accessPermission

Description: Specifies the new access permission for the altered version. This parameter is optional.

Values: private | public | protected

Example: accessPermission = public

JSON Response Syntax

{
  "success" : <true | false>,
  "error" : { // only if success is false
    "extendedCode" : <HRESULT>,
    "message" : <error message>,
    "details" : [ <detail> ]
  }
}

Example usage

Set the accessPermission parameter to public for a named version using the alter operation.

Request URL and parameters:

https://myserver.esri.com/server/rest/services/LandUse/VersionManagementServer/versions/<versionGuid>/alter


accessPermission=public

JSON response:

{
 "success": true
}