FRAMES | NO FRAMES

 

B U S I N E S S   A N A L Y S T   10.0   R E S T   A P I   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/ArcGIS/baserver/REST/services/DefaultMap/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/ArcGIS/baserver/REST/services/DefaultMap/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 API Reference