Register Extension

Description

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.

NoteNote:

  • 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

Parameter

Details

id

Description: The itemID of the uploaded .SOE file.

f

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

Values: html | json

Example Usage

Upload a .SOE file:

http://server:port/arcgis/admin/uploads/upload
	itemFile=<soe_file> //THIS MUST BE A MULTIPART POST REQUEST

Register the .SOE file:

http://server:port/arcgis/services/types/extensions/register
	id=<id_of_uploaded_item>

6/16/2017