Update Organization Properties

API Type

Web Services

Description

Updates organization properties in the AgilePoint the system.

Syntax

void UpdateOrganizationProperties(string Name, KeyValue[] list)

Parameters

Name Description

Name

Definition:
The name of an item, such as a property or attribute in a name/value pair.
Type
string
Allowed Values:
A valid name.

list

Definition:
A list of properties.
Type
KeyValue
Allowed Values:
A list of key-value pairs.

Output

None.

Example

IWFAdminService svc = GetAdminService();
string Name = ...// for example, "Titles"
List<KeyValue> list = new List<KeyValue>();
list.Add( new KeyValue( "MANAGER", "Manager" ) );
list.Add( new KeyValue( "REG_SALES_DIRECTOR", "Regional Sales
Director" ) );
list.Add( new KeyValue( "GENERAL_MANAGER", "General Manager" ) );
KeyValue[] properties = list.ToArray();

try
	{
 adm.UpdateOrganizationProperties("Titles",properties );
	}

catch (Exception ex)
	{
Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex));
	}

Supported Versions

3.2.0.4 and higher