Skip To Content
ArcGIS Developers
Dashboard

Register Data Item

Description

This operation registers a new data item with the server's data store. Before registering the data item, you must validate it and make sure that it is accessible from all the server nodes in your site.

Request parameters

ParameterDetails
item

The JSON representing the data item.

f

The response format. The default response format is html.

Values: html | json| pjson

Example usage

Below is a sample POST request for registerItem, formatted for readability:

POST /webadaptor/admin/data/registerItem HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

item={
  "path": "/fileShares/folder_shared",
  "type": "folder",
  "clientPath": null,
  "info": {
    "path": "\\\\server\\data\\rest_data",
    "dataStoreConnectionType": "shared"
  }
}&f=json

JSON Response example

{"status": "success"}