FRAMES | NO FRAMES

 

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

Get Projects Endpoint

Gets the list of all projects available in the given workspace.

 

Availability: Business Analyst Server.

 

URL Example

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

Parameters

Parameter

Description

WorkspaceName (required)

Workspace name. Type string.

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

Array of string containing the list of projects available in the given workspace.

Example Usage

The example below requests the list of all projects contained in the Default Workspace of Business Analyst Server Repository.

 

request

http://localhost:6080/arcgis/rest/services/DefaultMap/MapServer/exts/BAServer/GetProjects/execute?
WorkspaceName=Default Workspace&
f=PJSON

 

Response

{
  "results":
  [
    {
      "paramName":"OutputString",
      "dataType":"GPString",
      "value":"Default Project"
    },
    {
      "paramName":"OutputString",
      "dataType":"GPString",
      "value":"Colorado Tutorial Project"
    },
    {
      "paramName":"OutputString",
      "dataType":"GPString",
      "value":"San Francisco Tutorial Project"
    }
  ],
  "messages":
  [
  ]
}

 

See Also

Business Analyst Server REST Reference