GetProjectList

Description

Get info about your projects. Token-based, ie. you get pages of projects at a time along with a token that can be sent in the next request to get the next projects.

Signature
ProjectListResultSet GetProjectList(string key, ProjectType projectType, bool allProjects, ProjectListToken token)

Parameters

Name Data Type Description

key

string required

The authentication key

projectType

ProjectType required

Production or Test

allProjects

bool required

true means all your projects, false means favorites

token

ProjectListToken optional

Use null on initial call, when iterating use the token from the result

Response

Name Data Type Description

List

A list of projects

Token

A token used for navigation

Example

var client = new AuthoringSoapClient();

var projectNames = new ArrayList();

ProjectListToken token = null;
bool atEnd = false;
while (!atEnd)
{
	var plr = client.GetProjectList(key,ProjectType.ProjectAndPanel,false, token);
	foreach (Project p in plr.List.Projects)
		projectNames.Add(p.Name);

	token = plr.Token;
	atEnd = plr.Token.AtEnd;
}