Description

The Create Service operation (POST only) allows users to create a relational catalog service on the hosting server.

Note:

This operation is not available for ArcGIS Online, and was added at ArcGIS Enterprise 10.5.

Note:

Create Service is a POST-only operation. With that said, it is still recommended that it be accessed over an SSL connection, as credentials must be passed. Once on the server, any user-defined property named ‘password’ is encrypted before it is stored in the configuration store.

Create Parameters JSON object

The createParameters JSON object is described in the table below. All properties are required.

Property

Details

name

Name of the service to be created. This name must be unique. If the name already exists, the operation will fail.

provider

"ADS"

connectionProperties

JSON object that describes the properties used to establish a connection with a relational database.

Note:

Each registered relational data store type has slightly different properties.

The following shows an example of the createParameters JSON.

Note that connectionProperties has two properties: relationalDatastoreType and userDefinedProperties.

The relationalDatastoreType refers to the id property of one of the relational data store types registered with the hosting server.

Note that all userDefinedProperties returned from the hosting server that are flagged as required must be specified in the Create Service call. Properties not flagged as required only need to be specified if they help refine the connectionProperties. See Relational Data Store Types.