FRAMES | NO FRAMES

 

B U S I N E S S   A N A L Y S T   10.2   R E S T   R E P O S I T O R Y   U T I L I T Y

Set Project Properties Endpoint

Sets properties for a project.

 

Availability: Business Analyst Server.

 

URL Example

http://localhost:6080/arcgis/rest/services/DefaultMap/MapServer/exts/BAServer/SetProjectProperties/execute

Parameters

Parameter

Description

WorkspaceName (required)

Workspace name. Type string.

ProjectName (required)

Project name. Type string.

PropertySet (required)

Array of properties. Type array of KeyValue.

f (optional)

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

Default: HTML.

token

Authentication token. This parameter is required if your Business Analyst Server is secured. Type string.

Returns

Variable of type boolean

Example Usage

The example below demonstrates making changes to project settings in Business Analyst Server Repository.

 

Request

http://localhost:6080/arcgis/rest/services/DefaultMap/MapServer/exts/BAServer/SetProjectProperties/execute?
WorkspaceName=Default Workspace&
ProjectName=Default Project&
PropertySet=[
  {"Key":"DatasetID","Value":"USA_ESRI"},
  {"Key":"BACKGROUND_MAP_0","Value":"BA_Detailed"}
]&
f=PJSON

 

Response

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

 

See Also

Business Analyst Server REST Reference