FRAMES | NO FRAMES

 

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

Get Workspaces Endpoint

Gets the list of all available workspaces.

 

Availability: Business Analyst Server.

 

URL Example

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

Parameters

Parameter

Description

f (optional)

Response format. Type string. Available formats: HTML, JSON, 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 names of all available workspaces.

Example Usage

The example below requests the list of all workspaces available in the current instance of Business Analyst Server Repository.

 

Request

http://localhost:6080/arcgis/rest/services/DefaultMap/MapServer/exts/BAServer/GetWorkspaces/execute?f=PJSON

 

Response

{
  "results":
  [
    {
      "paramName":"OutputString",
      "dataType":"GPString",
      "value":"Default Workspace"
    },
    {
      "paramName":"OutputString",
      "dataType":"GPString",
      "value":"REST Tutorial Workspace"
    }
  ],
  "messages":
  [
  ]
}

 

See Also

Business Analyst Server REST Reference