AquaLogic Interaction Development Kit (IDK)

Project API Examples

Description
Simple command line example which demonstrates creating a project, searching for a project, removing a project, and setting some project properties.

Command Line Example
Below are the instructions for running the sample:
Example command line:
ProjectCommandLineExample -endpoint soap_endpoint -username username -password password options

Type ProjectCommandLineExample with no arguments to get the full usage for create, remove, and search.

Example for create: ProjectCommandLineExample -endpoint http://hostname/ptapi/QueryInterfaceAPI.aspx -username Administrator -password plumtree -c -n SampleProjectName -d SampleProjectDescription

Example for remove: ProjectCommandLineExample -endpoint http://hostname/ptapi/QueryInterfaceAPI.aspx -username Administrator -password plumtree -r -id 2408

Example for remove: ProjectCommandLineExample -endpoint http://hostname/ptapi/QueryInterfaceAPI.aspx -username Administrator -password plumtree -s -q SampleProject

View C# Code
View Visual Basic Code

Aspx Example
Below are the instructions for running the sample: - Create a Web Application
- Add the code from the links below- one page is the main search page, the other is the properties pop-up page.
- The code files have .txt added to view in ndocs. If you have difficulties viewing the code, right-click and view source.

Project Page- C#
Code-Behind Page for Project Page- C#
Project Page- Visual Basic
Code-Behind Page for Project Page- Visual Basic

Create a Remote Server, Portlet Web Service, and portlet, to point to http://your_server/your_application/ProjectSample.aspx
In the advanced settings page of the Web Service, check the option to send a login token.