Create

  • URL:http://<versionmanagementservice-url>/create(POST only)
  • Version Introduced:10.6

Description

Create the named version off of DEFAULT. The version is associated with the specified feature service. During creation, the description and access (default is public) may be optionally set.

Request Parameters

ParameterDetails
f

Description: Optional parameter to specify the output format of the response. The default response format is JSON.

Values: json

versionName

Description: The name of the new version.

Syntax: versionName = "version name"

description

Description: Optional parameter to specify the description of the new version.

Syntax: description = "description"

accessPermission

Description: Optional parameter to specify the access permissions of the new version. The default access permission is private.

Values: private | public | protected | hidden

JSON Response Syntax

{
  "versionInfo" : {
    "versionName" : <versionName>,
    "versionGuid" : <guid>,
    "description" : <description>,
    "creationDate" : <dateTime>,
    "modifiedDate" : <dateTime>,
    "access" : "private" | "public" | "protected"
  },
  "success" : <true | false>,
  "error" : { // only if success is false
    "extendedCode" : <HRESULT>,
    "message" : <error message>,
    "details" : [ <detail> ]
  }
}