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
Get Workspaces Endpoint
Gets the list of all available workspaces.
Availability: Business Analyst Server.
http://localhost:6080/arcgis/rest/services/DefaultMap/MapServer/exts/BAServer/GetWorkspaces/execute
Parameters
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 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.
{ "results": [ { "paramName":"OutputString", "dataType":"GPString", "value":"Default Workspace" }, { "paramName":"OutputString", "dataType":"GPString", "value":"REST Tutorial Workspace" } ], "messages": [ ] }
See Also