Skip To Content
ArcGIS Developers
Dashboard

Register Extension

Description

This operation registers a new server object extension file with the server. Before you register the file, you need to upload the .SOE file to the server using the Upload Data Item operation. The itemID returned by the upload operation must be passed to the register operation. This operation registers all the server object extensions defined in the .SOE file.

Note:
While registering a new .SOE file, you need to make sure that none of the extensions within the .SOE file have been previously registered. To change existing extensions, use the Update Extension operation.

Request parameters

ParameterDetails
id

The uploaded item ID of the .SOE file.

Example

id=i03a2b59db-e60d-48ce-8b0e-2fd3cff73b1a
f

The response format. The default response format is html.

Values: html | json| pjson

Example usage

Below is a sample POST request for register:

POST /webadaptor/admin/services/types/extensions/register HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

id=i03a2b59db-e60d-48ce-8b0e-2fd3cff73b1a&f=json

JSON Response example

{"status": "success"}