Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Java ParameterDescriptionData TypeExample
kfsChartCodeKFS Chart CodeString (2)IR
kfsOrgCodeKFS Organization CodeString (4)

8060

kfsOrgNameKFS Organization NameString (4)Chemistry
kfsParentOrgCodeKFS Parent Organization CodeString (4)9023
kfsOrgLevelKFS Organization LevelString (1)4
kfsOrgCategoryKFS Organization CategoryString (4)Denotes the org level category designated by the budget office: 'U' , 'C', 'S', 'D'
kfsOrgRollupLevel1KFS Organization Rollup Level 1String (4) 
kfsOrgRollupLevel2KFS Organization Rollup Level 2String (4) 
kfsOrgRollupLevel3KFS Organization Rollup Level 3String (4)9023
kfsOrgRollupLevel4KFS Organization Rollup Level 4String (4)8060
kfsOrgRollupLevel5KFS Organization Rollup Level 5String (4) 
kfsOrgRollupLevel6KFS Organization Rollup Level 6String (4) 

WS Example

Request
Code Block
 
Response
Code Block
 

...

<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
	<S:Body>
		<ns2:getKFSChildOrganizations xmlns:ns2="http://www.adcom.uci.edu">
			<arg0>
				<kfsChartCode>IR</kfsChartCode>
				<kfsOrgCode>9023</kfsOrgCode>
			</arg0>
		</ns2:getKFSChildOrganizations>
	</S:Body>
</S:Envelope>
Response
Code Block
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
	<soap:Body>
		<ns2:getKFSChildOrganizationsResponse xmlns:ns2="http://www.adcom.uci.edu">
			<return>
				<kfsChartCode>IR</kfsChartCode>
				<kfsOrgCategory>S</kfsOrgCategory>
				<kfsOrgCode>9023</kfsOrgCode>
				<kfsOrgLevel>3</kfsOrgLevel>
				<kfsOrgName>SCHOOL OF PHYSICAL SCIENCES</kfsOrgName>
				<kfsParentOrgCode>IRVN</kfsParentOrgCode>
				<kfskfsOrgRollupLevel1>-</kfskfsOrgRollupLevel1>
				<kfskfsOrgRollupLevel2>-</kfskfsOrgRollupLevel2>
				<kfskfsOrgRollupLevel3>9023</kfskfsOrgRollupLevel3>
				<kfskfsOrgRollupLevel4>-</kfskfsOrgRollupLevel4>
				<kfskfsOrgRollupLevel5>-</kfskfsOrgRollupLevel5>
				<kfskfsOrgRollupLevel6>-</kfskfsOrgRollupLevel6>
			</return>
			<return>
				<kfsChartCode>IR</kfsChartCode>
				<kfsOrgCategory>D</kfsOrgCategory>
				<kfsOrgCode>8110</kfsOrgCode>
				<kfsOrgLevel>4</kfsOrgLevel>
				<kfsOrgName>EARTH SYSTEM SCIENCE</kfsOrgName>
				<kfsParentOrgCode>9023</kfsParentOrgCode>
				<kfskfsOrgRollupLevel1>-</kfskfsOrgRollupLevel1>
				<kfskfsOrgRollupLevel2>-</kfskfsOrgRollupLevel2>
				<kfskfsOrgRollupLevel3>9023</kfskfsOrgRollupLevel3>
				<kfskfsOrgRollupLevel4>8110</kfskfsOrgRollupLevel4>
				<kfskfsOrgRollupLevel5>-</kfskfsOrgRollupLevel5>
				<kfskfsOrgRollupLevel6>-</kfskfsOrgRollupLevel6>
			</return>
			<return>
				<kfsChartCode>IR</kfsChartCode>
				<kfsOrgCategory>D</kfsOrgCategory>
				<kfsOrgCode>8094</kfsOrgCode>
				<kfsOrgLevel>4</kfsOrgLevel>
				<kfsOrgName>DEANS OFFICE</kfsOrgName>
				<kfsParentOrgCode>9023</kfsParentOrgCode>
				<kfskfsOrgRollupLevel1>-</kfskfsOrgRollupLevel1>
				<kfskfsOrgRollupLevel2>-</kfskfsOrgRollupLevel2>
				<kfskfsOrgRollupLevel3>9023</kfskfsOrgRollupLevel3>
				<kfskfsOrgRollupLevel4>8094</kfskfsOrgRollupLevel4>
				<kfskfsOrgRollupLevel5>-</kfskfsOrgRollupLevel5>
				<kfskfsOrgRollupLevel6>-</kfskfsOrgRollupLevel6>
			</return>
			<return>
				<kfsChartCode>IR</kfsChartCode>
				<kfsOrgCategory>D</kfsOrgCategory>
				<kfsOrgCode>8060</kfsOrgCode>
				<kfsOrgLevel>4</kfsOrgLevel>
				<kfsOrgName>CHEMISTRY</kfsOrgName>
				<kfsParentOrgCode>9023</kfsParentOrgCode>
				<kfskfsOrgRollupLevel1>-</kfskfsOrgRollupLevel1>
				<kfskfsOrgRollupLevel2>-</kfskfsOrgRollupLevel2>
				<kfskfsOrgRollupLevel3>9023</kfskfsOrgRollupLevel3>
				<kfskfsOrgRollupLevel4>8060</kfskfsOrgRollupLevel4>
				<kfskfsOrgRollupLevel5>-</kfskfsOrgRollupLevel5>
				<kfskfsOrgRollupLevel6>-</kfskfsOrgRollupLevel6>
			</return>
			<return>
				<kfsChartCode>IR</kfsChartCode>
				<kfsOrgCategory>D</kfsOrgCategory>
				<kfsOrgCode>8172</kfsOrgCode>
				<kfsOrgLevel>4</kfsOrgLevel>
				<kfsOrgName>MATHEMATICS</kfsOrgName>
				<kfsParentOrgCode>9023</kfsParentOrgCode>
				<kfskfsOrgRollupLevel1>-</kfskfsOrgRollupLevel1>
				<kfskfsOrgRollupLevel2>-</kfskfsOrgRollupLevel2>
				<kfskfsOrgRollupLevel3>9023</kfskfsOrgRollupLevel3>
				<kfskfsOrgRollupLevel4>8172</kfskfsOrgRollupLevel4>
				<kfskfsOrgRollupLevel5>-</kfskfsOrgRollupLevel5>
				<kfskfsOrgRollupLevel6>-</kfskfsOrgRollupLevel6>
			</return>
			<return>
				<kfsChartCode>IR</kfsChartCode>
				<kfsOrgCategory>D</kfsOrgCategory>
				<kfsOrgCode>8203</kfsOrgCode>
				<kfsOrgLevel>4</kfsOrgLevel>
				<kfsOrgName>PHYSICS AND ASTRONOMY</kfsOrgName>
				<kfsParentOrgCode>9023</kfsParentOrgCode>
				<kfskfsOrgRollupLevel1>-</kfskfsOrgRollupLevel1>
				<kfskfsOrgRollupLevel2>-</kfskfsOrgRollupLevel2>
				<kfskfsOrgRollupLevel3>9023</kfskfsOrgRollupLevel3>
				<kfskfsOrgRollupLevel4>8203</kfskfsOrgRollupLevel4>
				<kfskfsOrgRollupLevel5>-</kfskfsOrgRollupLevel5>
				<kfskfsOrgRollupLevel6>-</kfskfsOrgRollupLevel6>
			</return>
		</ns2:getKFSChildOrganizationsResponse>
	</soap:Body>
</soap:Envelope>

Java Client Example

 
Code Block
DWHServerService service = new DWHServerService();
DWHServer server = service.getDWHServerPort();
		
OrganizationParameters orgParameters = new OrganizationParameters();
orgParameters.setKfsChartCode("IR");
orgParameters.setKfsOrgCode("9023");

List<ChildOrganizationDetails> childOrgDetails = server.getKFSChildOrganizations(orgParameters);

if (childOrgDetails != null) {
	for (ChildOrganizationDetails cod : childOrgDetails) {
		System.out.println("kfsChartCode:    " + cod.getKfsChartCode());
		System.out.println("kfsOrgCode:      " + cod.getKfsOrgCode());
		System.out.println("kfsOrgName:      " + cod.getKfsOrgName());
		System.out.println("kfsParentOrgCode:" + cod.getKfsParentOrgCode());
		System.out.println("kfsOrgLevel:     " + cod.getKfsOrgLevel());
		System.out.println("kfsOrgCategory:  " + cod.getKfsOrgCategory());
		System.out.println("kfsOrgLevel1     " + cod.getKfskfsOrgRollupLevel1());
		System.out.println("kfsOrgLevel2     " + cod.getKfskfsOrgRollupLevel2());
		System.out.println("kfsOrgLevel3     " + cod.getKfskfsOrgRollupLevel3());
		System.out.println("kfsOrgLevel4     " + cod.getKfskfsOrgRollupLevel4());
		System.out.println("kfsOrgLevel5     " + cod.getKfskfsOrgRollupLevel5());
		System.out.println("kfsOrgLevel6     " + cod.getKfskfsOrgRollupLevel6());
		System.out.println("------------------------------");
	}
}
 

 

...

getAllKFSOrganizations()

No input parameter, ALL active KFS organization details will be returned in result set.

...