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 Projects Endpoint
Gets the list of all projects available in the given workspace.
Availability: Business Analyst Server.
http://localhost:6080/arcgis/rest/services/DefaultMap/MapServer/exts/BAServer/GetProjects/execute
Parameters
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.
{ "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