FRAMES | NO FRAMES

 

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 List of Project Items Endpoint

Gets the list of all project items available in the given folder.

 

Availability: Business Analyst Server.

 

URL Example

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

Parameters

Parameter

Description

WorkspaceName (required)

Workspace name. Type string.

ProjectName (required)

Project name. Type string.

FolderType (required)

Folder type. Type esriFolderType.

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 esriFolderItem containing the list of items stored in the given project folder.

Example Usage

The example below requests the list of all target group items contained in the Default Project of the Default Workspace of Business Analyst Server Repository.

 

Request

http://localhost:6080/arcgis/rest/services/DefaultMap/MapServer/exts/BAServer/GetListProjectitems/execute?
WorkspaceName=Default Workspace&
ProjectName=Default Project&
FolderType=esriFolderSegTGs&
f=PJSON

 

Response

{
  "results":
  [
    {
      "FolderItem":
      [
        {
          "folderType":"esriFolderSegTGs",
          "itemName":"Lifemodes",
          "projectName":"Default Project",
          "workspaceName":"Default Workspace"
        },
        {
          "folderType":"esriFolderSegTGs",
          "itemName":"Urbanization",
          "projectName":"Default Project",
          "workspaceName":"Default Workspace"
        }
      ]
    }
  ],
  "messages":
  [
  ]
}

 

See Also

Business Analyst Server REST Reference