FRAMES | NO FRAMES

 

B U S I N E S S   A N A L Y S T   10.2   R E S T   B U S I N E S S   S E A R C H   U T I L I T Y

Rename Business Data Endpoint

Renames an existing business dataset.

 

Availability: Business Analyst Server.

 

URL Example

http://localhost:6080/arcgis/rest/services/DefaultMap/geoenrichmentserver/RenameBusinessData/execute

Parameters

Parameter

Description

Name (required)

Current business dataset name. Type string.

NewName (required)

New business dataset name. Type string.

Type (required)

Item Name. Name of business data to rename. Type string.

ActiveDatasetID (optional)

ID of the active dataset. Type string.

Default: ID of the first available dataset.

IsFullErrorMessage (optional)

Mode for composing error messages. Type boolean

Default: false.

f (optional)

Response format. Type string. Available formats: HTML, JSON, PJSON, XML.

Default: HTML.

Returns

Variable of type boolean

Remarks

If the source business data is absent or the target business data already exists, this method has no effect.

Example Usage

The example below renames a business dataset on Business Analyst Server. In order to demonstrate this method, a new business dataset is uploaded to Business Analyst Server.

 

Request

http://localhost:6080/arcgis/rest/services/DefaultMap/geoenrichmentserver/RenameBusinessData/execute?name=TestData&newname=Data&type=esriBusinessDataTypeUpdate&f=json

 

Response

{
  "results":
  [
    {
      "paramName":"OutputStatus",
      "dataType":"GPBoolean",
      "value":true
    }
  ],
  "messages":
  [
  ]
}

 

 

See Also

Business Analyst Server REST Reference