Access Keys:
Skip to content (Access Key - 0)
Live Chat

Updating an Existing Department

Skip to end of metadata
Go to start of metadata
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
$dept = new BLC_Department("XML", "user id", "password");
if($dept->update("c2cc9bb32f7177a0012f7f0b68905eb0",
array("displayName" => "sales", "members" => array("string"=>"imranwar")))===true)
{
	echo $dept->get("c2cc9bb32f7177a0012f7f0b68905eb0");
}

//output:
//<department>
//  <id>c2cc9bb32f7177a0012f7f0b68905eb0</id>
//
//  <displayName>sales</displayName>
//  <members>
//    <string>imranwar</string>
//  </members>
//</department>
//
Adaptavist Theme Builder (4.2.0) Powered by Atlassian Confluence 3.3, the Enterprise Wiki